<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 10:45 AM, Susanoo Tux <span dir="ltr">&lt;<a href="mailto:susanootux@gmail.com" target="_blank">susanootux@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 10:38 PM, Dave Hylands <span dir="ltr">&lt;<a href="mailto:dhylands@gmail.com" target="_blank">dhylands@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div><br></div></span></div></div></div></blockquote></div></div></div></div></div></blockquote><div>...snip... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div></div></span><div>Checkout Documentation/usb (in your kernel source tree). You&#39;ll find a bunch of files starting with the word gadget which describe the various gadget drivers and how to use them.</div></div></div></div></blockquote></div></div></div></div></div></blockquote><div>...snip... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for the reference, I gone through the configfs. And tried creating it, but</div><div class="gmail_extra">it&#39;s not working. I am using x86, is that configfs method configures the usb</div><div class="gmail_extra">controllers to behave a device ? because nothing is there in /sys/class/udc/.</div></div></blockquote><div><br></div><div>Yes - it requires that the USB controller be able to behave as a device. I&#39;ve only used this on SoC&#39;s that had that capability (like gumstix or BeagleBone) and not on a desktop.</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Dave Hylands<br>Shuswap, BC, Canada<br><a href="http://www.davehylands.com" target="_blank">http://www.davehylands.com</a></div>
</div></div>