Dear Fedoraforum,
I needed to write a custom udev rule in order for a USB device (USB Blaster by Altera) to be useable by a non-root user. Their instructions were outdated (
clicky) and I cobbled something together. It works, but I just wanted to see if there is a better way of doing this.
Code:
# USB-Blaster
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", \
RUN+="/bin/chmod 0666 /proc/bus/usb/$env{BUSNUM}/$env{DEVNUM}"
Also, why doesn't
MODE="0666" have the desired effect instead of needing to use the
RUN parameter?
Thanks
P.S. I am running Fedora 13 64-bit (2.6.34.7-61.fc13.x86_64) via VMware Fusion (3.1.1) on my MacBook Pro.