2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: UVC function directory
2020-10-30 10:40:39 +03:00
=================== =============================
streaming_maxburst 0..15 (ss only)
streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
streaming_interval 1..16
=================== =============================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/control
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Control descriptors
2018-05-23 18:47:56 +03:00
All attributes read only:
2020-10-30 10:40:39 +03:00
================ =============================
bInterfaceNumber USB interface number for this
streaming interface
================ =============================
2018-05-23 18:47:56 +03:00
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/control/class
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Super speed control class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Full speed control class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Terminal descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Output terminal descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Default output terminal descriptors
All attributes read only:
2020-10-30 10:40:39 +03:00
============== =============================================
iTerminal index of string descriptor
2020-10-30 10:40:50 +03:00
bSourceID id of the terminal to which this terminal
2014-12-10 14:34:02 +03:00
is connected
2020-10-30 10:40:39 +03:00
bAssocTerminal id of the input terminal to which this output
2014-12-10 14:34:02 +03:00
terminal is associated
2020-10-30 10:40:39 +03:00
wTerminalType terminal type
bTerminalID a non-zero id of this terminal
============== =============================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Camera terminal descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Default camera terminal descriptors
All attributes read only:
2020-10-30 10:40:39 +03:00
======================== ====================================
bmControls bitmap specifying which controls are
supported for the video stream
wOcularFocalLength the value of Locular
wObjectiveFocalLengthMax the value of Lmin
wObjectiveFocalLengthMin the value of Lmax
iTerminal index of string descriptor
bAssocTerminal id of the output terminal to which
this terminal is connected
wTerminalType terminal type
bTerminalID a non-zero id of this terminal
======================== ====================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/control/processing
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Processing unit descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Default processing unit descriptors
All attributes read only:
2020-10-30 10:40:39 +03:00
=============== ========================================
iProcessing index of string descriptor
bmControls bitmap specifying which controls are
2014-12-10 14:34:02 +03:00
supported for the video stream
2020-10-30 10:40:39 +03:00
wMaxMultiplier maximum digital magnification x100
bSourceID id of the terminal to which this unit is
2014-12-10 14:34:02 +03:00
connected
2020-10-30 10:40:39 +03:00
bUnitID a non-zero id of this unit
=============== ========================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/control/header
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Control header descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/control/header/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific control header descriptors
dwClockFrequency
bcdUVC
What: /config/usb-gadget/gadget/functions/uvc.name/streaming
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Streaming descriptors
2018-05-23 18:47:56 +03:00
All attributes read only:
2020-10-30 10:40:39 +03:00
================ =============================
bInterfaceNumber USB interface number for this
streaming interface
================ =============================
2018-05-23 18:47:56 +03:00
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Streaming class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Super speed streaming class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: High speed streaming class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Full speed streaming class descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Color matching descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Default color matching descriptors
All attributes read only:
2020-10-30 10:40:39 +03:00
======================== ======================================
bMatrixCoefficients matrix used to compute luma and
chroma values from the color primaries
bTransferCharacteristics optoelectronic transfer
docs: typo fixes in Documentation/ABI/
Fix the following typos in the Documentation/ABI/ directory:
- In file obsolete/sysfs-cpuidle, change "obselete" for "obsolete".
- In file removed/sysfs-kernel-uids, change "propotional" for "proportional".
- In directory stable/, fix the following words: "associtated" for "associated",
"hexidecimal" for "hexadecimal", "vlue" for "value", "csed" for "caused" and
"wrtie" for "write". This updates a total of five files.
- In directory testing/, fix the following words: "subystem" for "subsystem",
"isochrnous" for "isochronous", "Desctiptors" for "Descriptors", "picutre" for
"picture", "capture" for "capture", "occured" for "ocurred", "connnected" for
"connected","agressively" for "aggressively","manufacturee" for "manufacturer"
and "transaction" for "transaction", "malformatted" for "incorrectly formated"
,"internel" for "internal", "writtento" for "written to", "specificed" for
"specified", "beyound" for "beyond", "Symetric" for "Symmetric". This updates
a total of eleven files.
Signed-off-by: Carlos Bilbao <bilbao@vt.edu>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/5710038.lOV4Wx5bFT@iron-maiden
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2021-05-13 16:31:10 +03:00
characteristic of the source picture,
2020-10-30 10:40:39 +03:00
also called the gamma function
bColorPrimaries color primaries and the reference
white
======================== ======================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: MJPEG format descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific MJPEG format descriptors
All attributes read only,
except bmaControls and bDefaultFrameIndex:
2020-10-30 10:40:39 +03:00
=================== =====================================
bFormatIndex unique id for this format descriptor;
2018-05-27 00:51:57 +03:00
only defined after parent header is
linked into the streaming class;
read-only
2020-10-30 10:40:39 +03:00
bmaControls this format's data for bmaControls in
2014-12-10 14:34:02 +03:00
the streaming header
2020-10-30 10:40:39 +03:00
bmInterfaceFlags specifies interlace information,
2014-12-10 14:34:02 +03:00
read-only
2020-10-30 10:40:39 +03:00
bAspectRatioY the X dimension of the picture aspect
2014-12-10 14:34:02 +03:00
ratio, read-only
2020-10-30 10:40:39 +03:00
bAspectRatioX the Y dimension of the picture aspect
2014-12-10 14:34:02 +03:00
ratio, read-only
2020-10-30 10:40:39 +03:00
bmFlags characteristics of this format,
2014-12-10 14:34:02 +03:00
read-only
2020-10-30 10:40:39 +03:00
bDefaultFrameIndex optimum frame index for this stream
=================== =====================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific MJPEG frame descriptors
2020-10-30 10:40:39 +03:00
========================= =====================================
bFrameIndex unique id for this framedescriptor;
only defined after parent format is
linked into the streaming header;
read-only
dwFrameInterval indicates how frame interval can be
programmed; a number of values
separated by newline can be specified
dwDefaultFrameInterval the frame interval the device would
like to use as default
dwMaxVideoFrameBufferSize the maximum number of bytes the
compressor will produce for a video
frame or still image
dwMaxBitRate the maximum bit rate at the shortest
frame interval in bps
dwMinBitRate the minimum bit rate at the longest
frame interval in bps
wHeight height of decoded bitmap frame in px
wWidth width of decoded bitmam frame in px
bmCapabilities still image support, fixed frame-rate
support
========================= =====================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Uncompressed format descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific uncompressed format descriptors
2020-10-30 10:40:39 +03:00
================== =======================================
bFormatIndex unique id for this format descriptor;
2018-05-27 00:51:57 +03:00
only defined after parent header is
linked into the streaming class;
read-only
2020-10-30 10:40:39 +03:00
bmaControls this format's data for bmaControls in
2014-12-10 14:34:02 +03:00
the streaming header
2020-10-30 10:40:39 +03:00
bmInterfaceFlags specifies interlace information,
2014-12-10 14:34:02 +03:00
read-only
2020-10-30 10:40:39 +03:00
bAspectRatioY the X dimension of the picture aspect
2014-12-10 14:34:02 +03:00
ratio, read-only
2020-10-30 10:40:39 +03:00
bAspectRatioX the Y dimension of the picture aspect
2014-12-10 14:34:02 +03:00
ratio, read-only
2020-10-30 10:40:39 +03:00
bDefaultFrameIndex optimum frame index for this stream
bBitsPerPixel number of bits per pixel used to
2014-12-10 14:34:02 +03:00
specify color in the decoded video
frame
2020-10-30 10:40:39 +03:00
guidFormat globally unique id used to identify
2014-12-10 14:34:02 +03:00
stream-encoding format
2020-10-30 10:40:39 +03:00
================== =======================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific uncompressed frame descriptors
2020-10-30 10:40:39 +03:00
========================= =====================================
bFrameIndex unique id for this framedescriptor;
only defined after parent format is
linked into the streaming header;
read-only
dwFrameInterval indicates how frame interval can be
programmed; a number of values
separated by newline can be specified
dwDefaultFrameInterval the frame interval the device would
like to use as default
dwMaxVideoFrameBufferSize the maximum number of bytes the
compressor will produce for a video
frame or still image
dwMaxBitRate the maximum bit rate at the shortest
frame interval in bps
dwMinBitRate the minimum bit rate at the longest
frame interval in bps
wHeight height of decoded bitmap frame in px
wWidth width of decoded bitmam frame in px
bmCapabilities still image support, fixed frame-rate
support
========================= =====================================
2014-12-10 14:34:02 +03:00
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Streaming header descriptors
What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
Date: Dec 2014
2016-05-22 16:35:13 +03:00
KernelVersion: 4.0
2014-12-10 14:34:02 +03:00
Description: Specific streaming header descriptors
All attributes read only:
2020-10-30 10:40:39 +03:00
==================== =====================================
bTriggerUsage how the host software will respond to
2014-12-10 14:34:02 +03:00
a hardware trigger interrupt event
2020-10-30 10:40:39 +03:00
bTriggerSupport flag specifying if hardware
2014-12-10 14:34:02 +03:00
triggering is supported
docs: typo fixes in Documentation/ABI/
Fix the following typos in the Documentation/ABI/ directory:
- In file obsolete/sysfs-cpuidle, change "obselete" for "obsolete".
- In file removed/sysfs-kernel-uids, change "propotional" for "proportional".
- In directory stable/, fix the following words: "associtated" for "associated",
"hexidecimal" for "hexadecimal", "vlue" for "value", "csed" for "caused" and
"wrtie" for "write". This updates a total of five files.
- In directory testing/, fix the following words: "subystem" for "subsystem",
"isochrnous" for "isochronous", "Desctiptors" for "Descriptors", "picutre" for
"picture", "capture" for "capture", "occured" for "ocurred", "connnected" for
"connected","agressively" for "aggressively","manufacturee" for "manufacturer"
and "transaction" for "transaction", "malformatted" for "incorrectly formated"
,"internel" for "internal", "writtento" for "written to", "specificed" for
"specified", "beyound" for "beyond", "Symetric" for "Symmetric". This updates
a total of eleven files.
Signed-off-by: Carlos Bilbao <bilbao@vt.edu>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/5710038.lOV4Wx5bFT@iron-maiden
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2021-05-13 16:31:10 +03:00
bStillCaptureMethod method of still image capture
2014-12-10 14:34:02 +03:00
supported
2020-10-30 10:40:39 +03:00
bTerminalLink id of the output terminal to which
2014-12-10 14:34:02 +03:00
the video endpoint of this interface
is connected
2020-10-30 10:40:39 +03:00
bmInfo capabilities of this video streaming
2014-12-10 14:34:02 +03:00
interface
2020-10-30 10:40:39 +03:00
==================== =====================================
2018-05-24 19:16:12 +03:00
What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
Date: May 2018
KernelVersion: 4.19
Description: UVC configfs function instance name