Importing data from /dev/ttyUSB0
I have a problem trying to import data from a Garmin Forerunner 305 USB device. dmesg shows the following:
usb 1-2: new full speed USB device using ohci_hcd and address 3
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Garmin GPS usb/tty
garmin_gps 1-2:1.0: Garmin GPS usb/tty converter detected
usb 1-2: Garmin GPS usb/tty converter now attached to ttyUSB0
usbcore: registered new driver garmin_gps
drivers/usb/serial/garmin_gps.c: garmin gps driver v0.23
However, if I try to do a cat /dev/ttyUSB0 it just hangs and the cursor doesn't return. Google Earth is also supposed to be able to import the data, but it hangs also.
By the way, if I plug it into the other USB port, it still declares that it is attached to ttyUSB0.
I seem to be missing something here, but I don't know what it is.
I googled a bit.
and this may be of some help.
It appears that the device is being recognized and like you have discovered is independent of the connected USB port i.e. since it is the only tty USB device it should always be /dev/ttyUSB0.
IMO your not seeing any data from the device via the cat command because there is nothing in the receive buffer and the unit might be waiting for commands from the PC to send something. The same thing happens with my serial devices.
|All times are GMT -5. The time now is 06:40 PM.|