Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTT via HamLib configuration - TTY with - in name #371

Closed
darksidelemm opened this issue Jan 6, 2022 · 4 comments
Closed

PTT via HamLib configuration - TTY with - in name #371

darksidelemm opened this issue Jan 6, 2022 · 4 comments

Comments

@darksidelemm
Copy link

My IC-9700 shows up as /dev/tty.usbserial-5320.

I've tried the following configuration lines:

PTT RIG 3081 "/dev/tty.usbserial-5320"
PTT RIG 3081 /dev/tty.usbserial-5320

In both cases, direwolf interprets the serial port as being /dev/tty.usbserial-, resulting in:

Hamlib Rig open error -6: IO error
port_open: serial_open(/dev/tty.usbserial-) status=-6, err=No such file or directory
iofunc.c(81):port_open return(-6)
rig.c(800):rig_open return(-6)

I'm unsure if this is an issue in Hamlib, or an issue in direwolf's configuration parsing. Yes I know that this can be worked around with a symlink, which is what I'm doing at the moment, but that device name is valid, so should work...

@wb2osz
Copy link
Owner

wb2osz commented Jan 7, 2022

What version of direwolf are you using?

@darksidelemm
Copy link
Author

Dire Wolf DEVELOPMENT version 1.4 E (Jan 2 2022)
(Installed via Homebrew on OSX)

@wb2osz
Copy link
Owner

wb2osz commented Jan 7, 2022

That's the problem.
There was a bug where the ptt device name would be truncated at 19 characters.
According to the comments, it was fixed in version 1.5 (released October 2018).

Answer is to upgrade to 1.5 or newer if you want to stop using your work-around.

https://github.com/wb2osz/direwolf/releases

@wb2osz wb2osz closed this as completed Jan 7, 2022
@darksidelemm
Copy link
Author

Ahh that would explain it... I saw the 2nd Jan 2022 and thought I was on a recent version... nope. Sorry for the annoyance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants