On Mon, Feb 12, 2007 at 11:59:07AM -0500, George Nychis wrote:
> Hey all,
> 
> I've seen two different methods for setting up USB permissions 
> correctly, and I can't seem to get either to work.  The first way is 
> udev, the other method is hotplug.
> 
> So I tried udev first, and created /etc/udev/rules.d/60-usrp.rules:
> # USRP without loaded firmware (FX2)
> BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", 
> SYSFS{bcdDevice}=="0002", GROUP="usrp", RUN+="/usr/local/bin/usrper 
> load_standard_bits"
> BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", 
> SYSFS{bcdDevice}=="0004", GROUP="usrp", RUN+="/usr/local/bin/usrper 
> load_standard_bits"
> 

The suggestion in the wiki is known to work.

This is the relevant part from http://gnuradio.org/trac/wiki/UdevConfig:

# rule to grant read/write access on USRP to group named usrp.
# to use, install this file in /etc/udev/rules.d as 10-usrp.rules
ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", 
GROUP:="usrp", MODE:="0660"

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to