usb host mode

Felipe Balbi me at felipebalbi.com
Fri Mar 7 13:21:15 CET 2008



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
http://felipebalbi.com
me at felipebalbi.com





More information about the openmoko-kernel mailing list