I've just run into the same issue since upgrading to maverick and I've got a
workaround - run the following command before gpsbabel:
stty -F /dev/ttyUSB0 clocal
strace showed me that it was stuck in the open() call on /dev/ttyUSB0 and I
could reproduce the same behaviour with python, so it's not just a gpsbabel
issue - This hangs in the same way:
python -c 'print open("/dev/ttyUSB0", "rw")'
googling around for "serial usb open hangs" gave me the following page:
http://forum.nginx.org/read.php?30,135400,135554
Taking the hint from Alan Cox about carrier detect, I disabled it with:
stty -F /dev/ttyUSB0 clocal
And gpsbabel started working again! Should gpsbabel be setting this via
termios ?
I'm using a DIY cable, so have only got RX, TX and GND connected - I haven't
tied off DCD, DTR, RTS, CTS etc. Maybe something in the kernel got a bit
stricter about the defaults for flow control... (although I still see the
problem if I install the 2.6.32 kernel from lucid, so maybe its somewhere else)
--
Unable to Connect to Garmin eTrex Using Usb to Serial
https://bugs.launchpad.net/bugs/666633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs