Mailinglist Archive: opensuse-factory (381 mails)

< Previous Next >
Re: [opensuse-factory] USB Gadget Support
  • From: Brüns, Stefan <Stefan.Bruens@xxxxxxxxxxxxxx>
  • Date: Mon, 1 Oct 2018 19:46:12 +0000
  • Message-id: <2645167.AtLlyOzsPn@sbruens-linux.lcs.intern>
On Montag, 1. Oktober 2018 18:31:50 CEST Nicolas Saenz Julienne wrote:
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 ( 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
in tumbleweed? Do you have an lsusb output?

The user that created the bug points to this library:
o_build_it 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.

I think the original reporter is confusing two things, initiator and target.

If you scroll to the top of the iio wiki page, you will see a diagram with a
network link, i.e. libiio is using the Network Backend.

Now, mentally replace the network link with USB. As USB is asymetric (Device/
Host), one of the two has to be a device (and I assume it has to be the
"target", i.e. the computer exporting the IIO devices).

As far as I can see, the initiator (the computer on the right, in this case
running Windows) only requires libusb.

Currently, libiio in project hardware (and by linking hardware:sdr) is
compiled without libusb support. Submission with USB support pending:

Kind regards,


To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >