Bluetooth Hacking?
Udev rule

From OpenBeacon

Jump to: navigation, search

You need to create an udev rule file to access your OpenPCD device as a non-root user. You can add the following in the /etc/udev/rules.d/ folder (for Fedora) in a file (e.g. 62-openpcd.rules):

 SUBSYSTEM=="usb_device", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="076b", ACTION=="add", MODE="0666"

You may also want to create a symbolic link, so you can easily find the device file:

 SUBSYSTEM=="usb_device", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="076b", MODE="0666", SYMLINK+="openpcd"

For udev to take into account the new rules, run:

 udevcontrol reload_rules

or with newer udev releases

 sudo udevadm control --reload-rules