Da_Blitz wrote:

> gadget serial means the Z is acting as a serial port when plugged into
> the PC, what you want to load is "usbserial" which is the generic usb
> serial modules for most hardware
> 
> try plugging the garmin in then and a new device node called
> /dev/ttyUSB0 should be created by udev, then tellgpsbabel to use the
> serial module instead of the usb one and point it to the newly created
> dev node

OK, some progress.  I modprobed usbserial and things got better, and 
also added ohci-hcd.  But then I got: (from /var/log/messages)

Jun 25 21:48:20 spitz user.info kernel: usb 1-2: new full speed USB 
device using pxa27x-ohci and address 3
Jun 25 21:48:20 spitz user.info kernel: usb 1-2: rejected 1 
configuration due to insufficient available bus power
Jun 25 21:48:20 spitz user.warn kernel: usb 1-2: no configuration chosen 
from 1 choice

So, I grabbed my wife's powered hub, and things got a little better:

Jun 25 21:56:16 spitz user.info kernel: usb 1-2: USB disconnect, address 4
Jun 25 21:56:34 spitz user.info kernel: usb 1-2: new full speed USB 
device using pxa27x-ohci and address 5
Jun 25 21:56:35 spitz user.info kernel: usb 1-2: configuration #1 chosen 
from 1 choice
Jun 25 21:56:35 spitz user.info kernel: hub 1-2:1.0: USB hub found
Jun 25 21:56:35 spitz user.info kernel: hub 1-2:1.0: 4 ports detected

I plugged in the garmin, and

Jun 25 21:57:02 spitz user.info kernel: usb 1-2.1: new full speed USB 
device using pxa27x-ohci and address 6
Jun 25 21:57:02 spitz user.info kernel: usb 1-2.1: configuration #1 
chosen from 1 choice

But still no indication of what /dev/ node was assigned.  I tried all 
sorts of options.  /dev/ files were created like:

crw-rw-r--    1 root     root     189,   6 Jun 25 22:11 usbdev1.7
crw-rw----    1 root     root     252,   7 Jun 25 22:11 usbdev1.7_ep03
crw-rw----    1 root     root     252,   4 Jun 25 22:11 usbdev1.7_ep00
crw-rw----    1 root     root     252,   5 Jun 25 22:11 usbdev1.7_ep81
crw-rw----    1 root     root     252,   6 Jun 25 22:11 usbdev1.7_ep82

Actually, the digit after the decimal point has been incrementing each 
time I re-plug in the devices.  So, now we are at address 7.

But trying to send the information to any of these devices gives an 
error message, as in

/home/dlj0 >gpsbabel -r -i gpx -f route.txt -o garmin -F /dev/usbdev1.7_ep00
open: No such device or address
[ERROR] SERIAL: Cannot open serial port
[ERROR] Cannot access serial port
GARMIN:Can't init /dev/usbdev1.7_ep00
/home/dlj0 >gpsbabel -r -i gpx -f route.txt -o garmin -F /dev/usbdev1.7_ep03
open: No such device or address
[ERROR] SERIAL: Cannot open serial port
[ERROR] Cannot access serial port
GARMIN:Can't init /dev/usbdev1.7_ep03

But I can't send it to a device that ain't there, and /dev/ttyusb0, 
etc., aren't there.  Sending it to /dev/ttyS0 creates the device file, 
but does not send anything to the Garmin.

Why is the device not being created?
> 
> this should solve all your problems, you may need to modprobe the usb
> host modules if they are not already loaded ("ohci-hcd")

-- 

David L. Johnson

If all economists were laid end to end, they would not reach a
conclusion.
                -- George Bernard Shaw

_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to