node-uvc-control icon indicating copy to clipboard operation
node-uvc-control copied to clipboard

Example : dwExposureTimeAbsolute is not working

Open cho45 opened this issue 6 years ago • 2 comments

https://github.com/makenai/node-uvc-control/blob/master/lib/controls.js#L92

Because the Type of EXPOSURE_TIME_ABSOLUTE_CONTROL(CT_EXPOSURE_TIME_ABSOLUTE_CONTROL = 0x04 ) is PU for some reason, if you try to change CT_EXPOSURE_TIME_ABSOLUTE_CONTROL, the gain of PU (PU_GAIN_CONTROL = 0x04) will be changed.

AS-IS: Gain of PU is changed. TO-BE: Exposure_Time_Absolute is changed.

cho45 avatar Nov 06 '19 10:11 cho45

I can confirm that it should be CT, by looking at 4.2.2.1.4 Exposure Time (Absolute) Control (page 83 or 98) in UVC 1.5 Class specification.pdf.

See also Table A- 12 Camera Terminal Control Selectors (page 159 or 174).

  • https://www.usb.org/documents?search=uvc

joelpurra avatar Apr 10 '20 09:04 joelpurra

See #64.

joelpurra avatar Apr 10 '20 10:04 joelpurra