libuvc_ros icon indicating copy to clipboard operation
libuvc_ros copied to clipboard

Permission denied issues

Open LucidOne opened this issue 12 years ago • 1 comments

Permission denied error should print which /dev/bus/usb/ device

Need example udev rule

SUBSYSTEM=="usb", ATTRS{idVendor}=="f00f", ATTRS{idProduct}=="f0f0", GROUP="video"

LucidOne avatar Jan 03 '14 01:01 LucidOne

For the first part of this issue, I've added some new error messages in https://github.com/ktossell/libuvc_ros/commit/30b3cfd1d20fef41f3a1077d3be3bcd3bb383d77. This requires the latest git version of libuvc.

If I got this right, it'll say:

[ERROR] Permission denied opening /dev/bus/usb/123/456
[ERROR] Can't open /dev/bus/usb/123/456: I/O error (-1)

ktossell avatar Jan 12 '14 11:01 ktossell