Results 1 to 1 of 1
Dear Linux Forums,
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 ...
- 11-01-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 1
Custom udev rule works, but is it correct?
Dear Linux Forums,
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 and I cobbled something together. It works, but I just wanted to see if there is a better way of doing this.
Also, why doesn't MODE="0666" have the desired effect instead of needing to use the RUN parameter?Code:# USB-Blaster SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", \ RUN+="/bin/chmod 0666 /proc/bus/usb/$env{BUSNUM}/$env{DEVNUM}"
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.


Reply With Quote