-
Notifications
You must be signed in to change notification settings - Fork 28
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
Setting UVCC autoWhiteBalance to 0 Getting LIBUSB_ERROR_IO #58
Comments
I've seen IO error before, but it meant I didn't have permission to use the usb device. |
@GaganMeesala: I can confirm the problem -- am also getting |
@positlabs: I've set permissions according to the (newly added) link in
Note that the suggested fix is for |
- Currently, each `controlTransfer` by setting `bmRequestType` targets the camera _interface_ rather than _device_. - Using an interface would require claiming it, which is not performed. - Claiming an interface would kill access for any other process which may be using the camera (including the kernel?). - This commit targets `controlTransfer` to the _device_ instead. - There might be better ways to transfer control commands. See - makenai#58 - joelpurra/uvcc#2
Did some more testing in ubuntu 19 with a c920 webcam. Note: seems Looking at the constants in I have pushed unfinished patches for the two "current"
Added various (temporary) branches in case you'd like to check them out already. Tested on ubuntu 19 and macos 10.14. Does it work for you @GaganMeesala, @positlabs? Targeting the device in
|
@joelpurra Looking forward to the fix. Thanks for your effort. |
Did anyone test the experimental branches so far? Might use the forked version of |
See #64. |
- Currently, each `controlTransfer` by setting `bmRequestType` targets the camera _interface_ rather than _device_. - Using an interface would require claiming it, which is not performed. - Claiming an interface would kill access for any other process which may be using the camera (including the kernel?). - This commit targets `controlTransfer` to the _device_ instead. - There might be better ways to transfer control commands. - Ported from `uvc-control` v1 to v2. Fixes makenai#58 Fixes joelpurra/uvcc#2 See - makenai#58 - joelpurra/uvcc#2
@gaganmesala: this should be fixed in |
sudo uvcc devices
sudo uvcc --vendor 0xc45 --product 0x6366 set autoWhiteBalance 0
Error: LIBUSB_ERROR_IO
The text was updated successfully, but these errors were encountered: