bmd-tools
bmd-tools copied to clipboard
USB device accessible only with sudo privileges
If I run bmd-streamer as normal user, I get the following error: [1/11 1edb:bd43]: unable to open device: LIBUSB_ERROR_ACCESS
With sudo (or as root user) everyhting is fine. Do you have any advice how to overcome this issue? Thank you!
Depends a little bit on your system, but if using udev or similar, add a rule to grant access for that device to regular user, e.g. something like
/etc/udev/rules.d/50-bmd.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1edb", GROUP="video", MODE="0660"
Use proper group, or even specfic user via USER. For more information, see https://wiki.archlinux.org/index.php/udev or google for "write udev rules". Perhaps we should include an example rule that adds the devices to be owned by 'video' group.
Thank you for your fast response. I tried this yesterday, I probably made some mistake. It would be good if you could include some instructions on this.
I confirm that this works perfectly.