On Thu, Aug 4, 2016 at 10:38 PM, Dave Hylands <[email protected]> wrote:
> > On Thu, Aug 4, 2016 at 10:02 AM, Susanoo Tux <[email protected]> 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
_______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
