Lines Matching full:gadget
2 Linux UVC Gadget Driver
7 The UVC Gadget driver is a driver for hardware on the *device* side of a USB
14 On the host side (once connected via USB cable), a device running the UVC Gadget
26 USB_F_UVC must be selected to enable support for the UVC gadget.
28 Configuring the gadget through configfs
30 The UVC Gadget expects to be configured through configfs using the UVC function.
35 see Documentation/ABI/testing/configfs-usb-gadget-uvc
40 created a gadget as `/sys/kernel/config/usb_gadget/g1`.
51 GADGET="$CONFIGFS/usb_gadget/g1"
52 FUNCTION="$GADGET/functions/uvc.0"
59 You must configure the gadget by telling it which formats you support, as well
61 the current implementation there is no way for the gadget to refuse to set a
322 mkdir -p $GADGET/strings/0x409/iad_desc
323 echo -n "Interface Associaton Descriptor" > $GADGET/strings/0x409/iad_desc/s
324 ln -s $GADGET/strings/0x409/iad_desc $FUNCTION/iad_desc
330 mkdir -p $GADGET/strings/0x409/xu.0
331 echo -n "A Very Useful Extension Unit" > $GADGET/strings/0x409/xu.0/s
332 ln -s $GADGET/strings/0x409/xu.0 $FUNCTION/control/extensions/xu.0
376 By itself, the UVC Gadget driver cannot do anything particularly interesting. It
380 …ument, but a reference application can be found at https://gitlab.freedesktop.org/camera/uvc-gadget