Dave,

On 8/24/06, Dave Hylands <dhylands@gmail.com> wrote:
Hi Garty,

> > GPIO 81 is currently being used by the usb driver to detect the
> > prescence of the USB cable (it detects if VBUS is present).
> >
> > it would be fine for you to query this GPIO,, but I wouldn't try to
> > reconfigure it.

There are two GPIOs defined for use with USB. These are defined in the
gumstix-buildroot/build_arm_nofpu/linux-2.6.17gum/include/asm-arm/arch-pxa/gumstix.h

I misread the header file. GPIO 81 & 83 are used for the very-very old
gumstix (24 pin hirose IIRC), and 35 and 41 are used for the newer
ones. The comments in the header file mention GPIO 17 & 37, but I
think that's just out of date comments.

GPIO 35 is a cleaned up/debounced  version of VBUS (it comes from the
MAX823 reset monitor, which is powered via VBUS).

GPIO41 controls the pullup resistor which tells the host that a device
has been plugged in. GPIO41 stays low during boot so that the host
won't start querying until the driver has been loaded.

Im guessing/hoping in theory, you could set this low then high again to effectively reset the usb connection, without having to physically unplug it? I'm having some issues when its left idle for a long time it seems to hang...if I unplug it, and replug it back in seems to come good....
Sorry to hiajck the thread slightly too.

The exact details of the connections can be seen in the schematics.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users