Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12079 - garmin_usb, programs lock up when trying to read data from gps

Attached to Project: Arch Linux
Opened by winch (winch) - Monday, 10 November 2008, 19:44 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 04 March 2009, 17:34 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

kernel26 2.6.27.5-1 on both x86 and x86_64

Plug garmin legend hcx gps reciever into usb.

dmesg output
usb 1-9: new full speed USB device using ohci_hcd and address 5
usb 1-9: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for Garmin GPS usb/tty
garmin_gps 1-9:1.0: Garmin GPS usb/tty converter detected
usb 1-9: Garmin GPS usb/tty converter now attached to ttyUSB0
usbcore: registered new interface driver garmin_gps
garmin_gps: garmin gps driver v0.31

Try to read from the tty gps is attached to with cat /dev/ttyUSB0 or gpsbabel.

The program trying to read from /dev/ttyUSB0 hangs and can't be killed with ^C. Already connected usb devices continue to work but any pluged in after attempting to read from the gps don't work.
For example plugging in a usb memory stick just results in the following dmesg output without the drive being usable.

usb 2-10: new high speed USB device using ehci_hcd and address 4
usb 2-10: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...





This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 04 March 2009, 17:34 GMT
Reason for closing:  Upstream
Comment by Jud (judfilm) - Thursday, 04 December 2008, 09:57 GMT
Does this still happen with kernel 2.6.27.7?
Comment by winch (winch) - Thursday, 04 December 2008, 20:21 GMT
Yes this still happens with 2.6.27.7

It broke sometime after 2.6.25 but I haven't yet found the time to track down the exact version the breakage occured.
Comment by winch (winch) - Sunday, 11 January 2009, 13:15 GMT
http://www.gpsbabel.org/os/Linux_Hotplug.html

Looks like the better option is to blacklist garmin_usb. Then have gpsbabel access the gps through libusb. Just needs a udev rule so you don't need to be root to access the device.

SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"
Comment by Tobias Powalowski (tpowa) - Tuesday, 03 March 2009, 06:13 GMT
can we close this then?
Comment by winch (winch) - Tuesday, 03 March 2009, 17:49 GMT
As far as I am concerned it can be closed.

I can pull data from my gps and it looks like the problem is known about upstream.

Loading...