Ubuntu 10.04 “Lucid Lynx” includes the latest udev (149), which gives out two warnings about the syntax of our /etc/udev/rules.d/10-usrp.rules file. The warnings (logged under /var/log/daemon.log) are the following:

BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match a parent device, in /etc/udev/rules.d/10-usrp.rules:1
SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/10-usrp.rules:1

The solution is very simple. The old rules line was:

ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:"0660"

while the new line has to be:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="fffe", ATTR{idProduct}=="0002", GROUP:="usrp", MODE:"0660"

Then reload the udev rules with sudo udevadm control –reload-rules and you’re done.

Advertisements