USB gadget mode in laptop

Susanoo Tux susanootux at gmail.com
Thu Aug 4 13:54:16 EDT 2016


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

>
> On Thu, Aug 4, 2016 at 10:45 AM, Susanoo Tux <susanootux at gmail.com> wrote:
>
>>
>>
>> On Thu, Aug 4, 2016 at 10:38 PM, Dave Hylands <dhylands at gmail.com> 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
>

Yes, I can see the error in dmesg "couldn't find an available UDC - added
[g1] to list of pending drivers" :(.

But I didn't get the meaning of this. May be one basic question, how to
check whether my desktop supports device/gadget mode?

Thanks

Regards,
SusanoTux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160804/0f3a7a15/attachment-0001.html 


More information about the Kernelnewbies mailing list