Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example : dwExposureTimeAbsolute is not working #60

Open
cho45 opened this issue Nov 6, 2019 · 2 comments
Open

Example : dwExposureTimeAbsolute is not working #60

cho45 opened this issue Nov 6, 2019 · 2 comments

Comments

@cho45
Copy link

cho45 commented Nov 6, 2019

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.

@joelpurra
Copy link
Contributor

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).

@joelpurra
Copy link
Contributor

See #64.

joelpurra added a commit to joelpurra/node-uvc-control that referenced this issue Sep 1, 2020
- Possibly related to the previous commit which had a typo affecting camera input terminal (CT) controls.
- There might be other bugs in the control data, should check against UVC v1.5 reference.

Fixes makenai#60

See

- makenai#60
- https://www.usb.org/documents?search=uvc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants