Lines Matching +full:attribute +full:- +full:sets
6 --------
8 connection. It is intended to run on a Linux system that has USB device-side
24 -----------------------------
29 ---------------------------------------
35 see Documentation/ABI/testing/configfs-usb-gadget-uvc
47 .. code-block:: bash
54 mkdir -p $FUNCTION
99 .. code-block:: bash
112 mkdir -p $wdir
129 Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst.
142 .. code-block:: bash
156 ln -s $FUNCTION/streaming/color_matching/yuyv $FUNCTION/streaming/uncompressed/yuyv
161 change the attribute settings for the default descriptor, so bear in mind that if
175 .. code-block:: bash
182 ln -s ../../uncompressed/yuyv
183 ln -s ../../mjpeg/mjpeg
189 ln -s ../../header/h
191 ln -s ../../header/h
193 ln -s ../../header/h
196 ln -s header/h class/fs
197 ln -s header/h class/ss
207 XU can be inserted into the UVC unit chain or left free-hanging.
212 .. code-block:: bash
231 # Set the GUID; this is a vendor-specific code identifying the XU.
232 echo -e -n "\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10" > guidExtensionCode
236 The bmControls attribute and the baSourceID attribute are multi-value attributes.
241 .. code-block:: bash
248 The multi-value nature of the baSourceID attribute belies the fact that XUs can
249 be multiple-input, though note that this currently has no significant effect.
251 The bControlSize attribute reflects the size of the bmControls attribute, and
287 .. code-block:: bash
297 If you do not set these fields then by default the Auto-Exposure Mode control
303 Unit is fixed by the UVC specification, and so the bControlSize attribute is
304 read-only here.
314 .. code-block:: bash
316 # Create a string descriptor in us-EN and link to it from the function
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
342 do so through the configfs attribute:
344 .. code-block:: bash
354 .. code-block:: bash
356 # streaming_interval sets bInterval. Values range from 1..255
359 # streaming_maxpacket sets wMaxPacketSize. Valid values are 1024/2048/3072
362 # streaming_maxburst sets bMaxBurst. Valid values are 1..15
375 -------------------------
380 document, but a reference application can be found at https://gitlab.freedesktop.org/camera/uvc-gad…