
Hi Jiri, On Sun, 2018-09-30 at 09:51 +0200, Jiri Slaby wrote:
On 09/27/2018, 04:50 PM, Nicolas Saenz Julienne wrote:
Hi all, I've stumbled upon this Bug ( https://bugzilla.novell.com/show_bug.cgi?id=1108320) asking for USB gadget support. The bug's resolved since adding it on Leap seems unlikely. Yet I see it's enabled for arm64 on Tumbleweed. Would it cause any problem for us to also enable it on x86_64?
menuconfig USB_GADGET Enable this configuration option if you want to run Linux inside a USB peripheral device.
Is this the case for x86_64? What device you have and is not supported in tumbleweed? Do you have an lsusb output?
The user that created the bug points to this library: https://wiki.analog.com/resources/tools-software/linux-software/libiio#how_t... It seems to need gadget support to build/run some of it's components. I can't really comment on why the library needs it. We do provide this module in tumbleweed: https://kernel.opensuse.org/cgit/kernel/tree/drivers/usb/roles/intel-xhci-us... It adds USB host/device switching capabilities on some Intel platforms and it's useless as long as we don't add gadget support. Sadly, I don't have any HW available to test it. Even if a corner case, someone may want to play around with it. Best, Nicolas
thanks,