Re: USB gadget mode in laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, Aug 4, 2016 at 10:45 AM, Susanoo Tux <susanootux@xxxxxxxxx> wrote:


On Thu, Aug 4, 2016 at 10:38 PM, Dave Hylands <dhylands@xxxxxxxxx> wrote:

...snip... 
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.
...snip... 

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/.

Yes - it requires that the USB controller be able to behave as a device. I've only used this on SoC's that had that capability (like gumstix or BeagleBone) and not on a desktop.

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux