USB gadget mode in laptop

Susanoo Tux susanootux at gmail.com
Thu Aug 4 13:45:17 EDT 2016


On Thu, Aug 4, 2016 at 10:38 PM, Dave Hylands <dhylands at gmail.com> wrote:

>
> On Thu, Aug 4, 2016 at 10:02 AM, Susanoo Tux <susanootux at gmail.com> wrote:
>
>> Hello All,
>>
>> I was looking into USB gadget mode to work on my laptop. One simple basic
>> doubt I have is how do I know whether my USB controller supports gadget
>> mode ? If it supports which module do I need to modprobe ?
>>
>>
>> Found gadget directory here /lib/modules/4.6.4-1-ARCH/kernel/drivers/usb/gadget
>> , but not getting which one to load. Any pointer where I can learn about
>> this more ?
>>
>
> Checkout Documentation/usb (in your kernel source tree). You'll find a
> bunch of files starting with the word gadget which describe the various
> gadget drivers and how to use them.
>
>
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.davehylands.com
>


Hi Dave,


Thanks for the reference, I gone through the configfs. And tried creating
it, but
it's not working. I am using x86, is that configfs method configures the usb
controllers to behave a device ? because nothing is there
in /sys/class/udc/.

Thanks

Regards,
SusanooTux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160804/1470b012/attachment.html 


More information about the Kernelnewbies mailing list