Re: pxa27x_udc -- support for usb gadget for pxa27x?

From: Pavel Machek
Date: Sat Nov 26 2005 - 16:08:36 EST


Hi!

> > > Ultimately, it would be nice to have the Zaurus detect whether a usb
> > > host or client was present (using gpio 41 maybe?) and then activate the
> > > host (ohci) or client (pxa27x_udc) driver as appropriate.
> >
> > Unfortunately, that would make ohci unfunctional for me. I have normal
> > usb device cable, connected to "USB gender changer" -- basically two
> > female connectors -- so that I can plug USB network card into that.
> >
>
> Just a thought. How about a sysfs entry which you can use to jam the device into either slave or
> host mode?

Yes, that would do the trick. Auto sense is probably good solution,
too, it is just that it should have /sys override or something like
that.

Pavel
--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/