-
Notifications
You must be signed in to change notification settings - Fork 313
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 configuration doesn't support long /dev names #104
Comments
I tried this today with a very long device name and ran into it.
Yes, I tried both device paths showed by the This was encountered on:
About the
|
While I don't think this issue has been resolved in Direwolf 1.5 (GIT tip of tree) but the Direwolf version you're running is VERY old. It's highly recommended you use Direwolf v1.4. --David |
Fixed in commit 33a34f3 on the "dev" branch which is leading up to release 1.5. To get the most recent version: git clone http://github.com/wb2osz/direwolf |
I'm using a US Interface Navigator here and I'm trying to use the serial by-id naming convention. The Navigator's six serial ports identify themselves with long names:
root@rpi3:/etc/ax25# ls -la /dev/serial/by-id/
total 0
drwxr-xr-x 2 root root 160 Jul 4 10:42 .
drwxr-xr-x 4 root root 80 Jul 4 10:42 ..
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__CAT___2nd_PTT__00000000-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__CAT___2nd_PTT__00000000-if01-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__RS232___Config__00000002-if00-port0 -> ../../ttyUSB4
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__RS232___Config__00000002-if01-port0 -> ../../ttyUSB5
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__WKey___FSK__00000001-if00-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__WKey___FSK__00000001-if01-port0 -> ../../ttyUSB3
The port I'm trying to use is:
lrwxrwxrwx 1 root root 13 Jul 4 10:42 usb-FTDI_Navigator__CAT___2nd_PTT__00000000-if01-port0 -> ../../ttyUSB1
and thus in the direwolf.conf file for Direwolf v1.4, I'm using:
PTT /dev/serial/by-id/usb-FTDI_Navigator__CAT___2nd_PTT__00000000-if01-port0 RTS -DTR
Unfortunately, that doesn't work but the short direct interface name DOES work:
PTT /dev/ttyUSB1 RTS -DTR
Can Direwolf be enhanced to deal with longer device names?
--David
KI6ZHD
The text was updated successfully, but these errors were encountered: