makenai / node-uvc-control

Control UVC compliant USB webcams from node
80 stars 28 forks source link

LIBUSB_ERROR_IO #27

Closed q-depot closed 5 years ago

q-depot commented 6 years ago

Hi,

I'm using the uvc control in a nodejs app on a raspberry pi, it seems I can open the device but when I try to get a parameter I get LIBUSB_ERROR_IO.

positlabs commented 5 years ago

I know it's been almost a year since you asked this, but I finally dusted off my 5 year old pi and got the lib to work. By default, the pi user doesn't have usb access, so you can either run at root (sudo), or add a udev rule as described on this SO answer