usb host mode
Phani Kumar Kancharala
kancharlaphanikumar at gmail.com
Fri Mar 7 13:38:13 CET 2008
yeah, Driver -> USB -> Gadget -> Ethernet Gadget Drive is already enabled.
In fact, I could able to use Ethernet over USB.
I am using 126.96.36.199 kernel patched with the usb_mode_swith.patch
I cross verified whether the patch is applied correctly using the tool
"nm", it listed both show_usb_mode and set_usb_mode on the ohci_hcd.ko.
Thanks n Regards,
On Fri, Mar 7, 2008 at 5:51 PM, Felipe Balbi <me at felipebalbi.com> wrote:
> On Fri, 7 Mar 2008 17:30:44 +0530, "Phani Kumar Kancharala"
> <kancharlaphanikumar at gmail.com> wrote:
> > Thanks Felipe,
> > The module ohci-hcd is loaded but use count is zero.
> > what do you mean by gadget driver? where can I get it??
> make menuconfig
> Driver -> USB -> Gadget -> Ethernet Gadget Driver ;-)
> enable that one ;-)
> BTW, HCDs will always have usecount 0, this is done so you can
> rmmod/modprobe easier.
> good for debugging :-p
> > Best Regards,
> > Phani Kumar
> > On Fri, Mar 7, 2008 at 4:59 PM, Felipe Balbi <me at felipebalbi.com> wrote:
> >> On Fri, 7 Mar 2008 15:35:10 +0530, "Phani Kumar Kancharala"
> >> <kancharlaphanikumar at gmail.com> wrote:
> >> > Hi all,
> >> > I am trying to run the usb in host mode. I created a new kernel image
> >> > after
> >> > applying the patch given in the wiki.
> >> > Now the problem is, I couldn't see the file "usb_mode" under
> >> > /sys/devices/platform/s3c2410-ohci/.
> >> >
> >> > should we create this file or it will be there on loading the module
> >> > ohci_hcd??
> >> You need to load the module.
> >> You may need a gadget driver as well for switching roles between host
> > and
> >> peripheral
> >> >
> >> > Thanks n Regards
> >> > Phani Kumar
> >> --
> >> Best Regards,
> >> Felipe Balbi
> >> http://felipebalbi.com
> >> me at felipebalbi.com
> Best Regards,
> Felipe Balbi
> me at felipebalbi.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openmoko-kernel