Open davidqzhu opened 4 years ago
uvcdynctrl -c -v -d /dev/video2
Listing available controls for device /dev/video2:
Brightness
ID : 0x00000001,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ -64 .. 64, step size: 1 ],
Default : 0
Contrast
ID : 0x00000002,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 64, step size: 1 ],
Default : 32
Saturation
ID : 0x00000004,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 128, step size: 1 ],
Default : 105
Hue
ID : 0x00000005,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ -40 .. 40, step size: 1 ],
Default : 0
White Balance Temperature, Auto
ID : 0x00000009,
Type : Boolean,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 1, step size: 1 ],
Default : 1
Gamma
ID : 0x00000006,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 72 .. 500, step size: 1 ],
Default : 100
Gain
ID : 0x00000003,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 100, step size: 1 ],
Default : 0
Power Line Frequency
ID : 0x0000000d,
Type : Choice,
Flags : { CAN_READ, CAN_WRITE },
Values : { 'Disabled'[0], '50 Hz'[1], '60 Hz'[2] },
Default : 1
White Balance Temperature
ID : 0x00000008,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 2800 .. 6500, step size: 1 ],
Default : 4600
Sharpness
ID : 0x00000007,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 6, step size: 1 ],
Default : 3
Backlight Compensation
ID : 0x0000000c,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 2, step size: 1 ],
Default : 1
Exposure, Auto
ID : 0x0000000f,
Type : Choice,
Flags : { CAN_READ, CAN_WRITE },
Values : { 'Manual Mode'[1], 'Aperture Priority Mode'[3] },
Default : 3
Exposure (Absolute)
ID : 0x00000011,
Type : Dword,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 1 .. 5000, step size: 1 ],
Default : 93
Exposure, Auto Priority
ID : 0x00000010,
Type : Boolean,
Flags : { CAN_READ, CAN_WRITE },
Values : [ 0 .. 1, step size: 1 ],
Default : 0
v4l2-ctl -L -d 2
brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0
contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32
saturation 0x00980902 (int) : min=0 max=128 step=1 default=105 value=105
hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100
gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=2
0: Disabled
1: 50 Hz
2: 60 Hz
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3
backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1
exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=1
1: Manual Mode
3: Aperture Priority Mode
exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=93 value=5000
sudo media-ctl -v -p
Opening media device /dev/media0
Enumerating entities
looking up device: 81:0
Found 5 entities
Enumerating pads and links
Media controller API version 4.14.79
Media device information
------------------------
driver uvcvideo
model USB 2.0 Camera: HD USB Camera
serial SN0179
bus info 1.1.3.3
hw revision 0x100
driver version 4.14.79
Device topology
- entity 1: USB 2.0 Camera: HD USB Camera (1 pad, 1 link)
type Node subtype V4L flags 1
device node name /dev/video0
pad0: Sink
<- "Extension 4":1 [ENABLED,IMMUTABLE]
- entity 5: Extension 4 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
<- "Extension 3":1 [ENABLED,IMMUTABLE]
pad1: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
-> "USB 2.0 Camera: HD USB Camera":0 [ENABLED,IMMUTABLE]
- entity 8: Extension 3 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
<- "Processing 2":1 [ENABLED,IMMUTABLE]
pad1: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
-> "Extension 4":0 [ENABLED,IMMUTABLE]
- entity 11: Processing 2 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
pad0: Sink
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
<- "Camera 1":0 [ENABLED,IMMUTABLE]
pad1: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
-> "Extension 3":0 [ENABLED,IMMUTABLE]
- entity 14: Camera 1 (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
pad0: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
-> "Processing 2":0 [ENABLED,IMMUTABLE]