Hi Lance,
> I am using the 24-pin connector on my verdex board for GPIO. I only
> need to set a few lines high or low to activate/deactivate some fiber
> optic switches. After my verdex boots up (OE build), and I run my
> application, I send a command to the GPIO to set the switches low: I
> write to /proc/gpio/GPIO88 and send "GPIO out clear". The problem
> arises the first time the app tries to set the line high ("GPIO out
> set") - the output flickers, or quickly toggles, and my fiber optic
> switches don't like that. I hooked up the serial port ttyS0 on the
> verdex to hyperterminal on another laptop, and it get's the following
> messages while the GPIO line is flickering:
>
>
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: new low speed USB device using pxa27x-ohci and address 4
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: device descriptor read/64, error -62
> usb 1-1: new low speed USB device using pxa27x-ohci and address 5
> usb 1-1: device not accepting address 5, error -62
> usb 1-1: new low speed USB device using pxa27x-ohci and address 6
> usb 1-1: device not accepting address 6, error -62
>
>
> After this initial reaction, the GPIO line can be set and cleared
> without any further trouble. The GPIO line I am using is GPIO88, which
> is incidentally the USBH_PWR1 signal on the 24-pin connector. Is there
> anyway to disable the verdex from wanting to look for a usb device on
> the 24-pin connector? I am using the other USB connector for a keypad
> matrix, so I don't want to disable USB altogether, just for the 24-pin
> connector. Any ideas?
I think that you can tweak the gumstix_ohci_init function in the
arch/arm/mach-pxa/gumstix.c file.
By default it seems to enable port 2.
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users