Beej Jorgensen <beej RemoveThis @beej.us> wrote:
> root <NoEMail RemoveThis @home.org> wrote:
>>I am running Slack 12.1 and am trying to get garmintools 0.9
>>to run. It makes OK, but when I run garmin_get_info it
>>doesn't see the device. I can't access ttyUSB0 either.
>
> A few things to try:
>
> 1. Try gpsbabel. Even if it doesn't do what you need, it might help
> troubleshoot.
>
> 2. Make sure the perms are right, or be gutsy and run as root.
>
> 3. Do you have multiple USB serial devices? Might it be ttyUSB1?
>
> 4. Does anything show up in /var/log/messages when you plug in the GPS?
> ("new full speed USB device", etc?)
>
> -Beej
>
1. I had installeld gpsbabel, but it seems to only convert from one
gps format to another.
2. I always run as root anyhow. I think the perms are 666.
3. I tried catting from ttyUSB1 with the same No Device result
as USB0.
4. I get lots of dmesg entries when I connect the device:
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001002 POWER sig=se0 CSC
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0b.1: port 1 full speed --> companion
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003001 POWER OWNER sig=se0 CONNECT
ohci_hcd 0000:00:0b.0: auto-wakeup root hub
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 4
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: ep0 maxpacket = 8
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '004'
usb 2-1: new device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001002 POWER sig=se0 CSC
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:0b.1: port 1 full speed --> companion
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003001 POWER OWNER sig=se0 CONNECT
ohci_hcd 0000:00:0b.0: auto-wakeup root hub
hub 1-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:0b.1: GetStatus port 1 status 003802 POWER OWNER sig=j CSC
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 4
ohci_hcd 0000:00:0b.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: ep0 maxpacket = 8
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '004'
usb 2-1: new device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
The kernel sees that something is going on with the usb device, but
I can't get it to register to user space.