Finding a usrp... Kind of working

Hi list,

I have a small problem with my usrp usb- interface. I can’t really
figure out how to detect my usrp correctly.

When I connect the usrp I can access it from root, but not from a user
in the usrp- group.

I think I have checked and double checked “everything”, but apparently
there is something I’m missing.

As far as I can tell, udevd should detect the usrp and set the
permissions specified in /etc/udev/rules.d/40-usrp.rules. I tried to
rename the rule- file to 10-usrp.rules (as spec in wiki), but that
didn’t make any difference. (I use the name 40-xxx for reasons specified
in /etc/udev/rules.d/README).

I have tried to restart the udevd- daemon/rebooted the computer, several
times but I can’t really get it to work properly…

Bellow follows the output of some relevant stuff I tried.

/etc/udev/rules.d$ grep usrp *
40-usrp.rules:ACTION==“add”, BUS==“usb”, SYSFS{idVendor}=“fffe”,
SYSFS{idProduct}==“0002”, GROUP:=“usrp”, MODE=“0660”

/etc/udev/rules.d$ lsusb
Bus 005 Device 004: ID 0b97:7772 O2 Micro, Inc.
Bus 005 Device 003: ID 0b97:7761 O2 Micro, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 007 Device 009: ID fffe:0002 <— USRP- device, right?!
Bus 007 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 003: ID 413c:8140 Dell Computer Corp.
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000

/dev/bus/usb/007$ ls -l
total 0
crw-rw-r-- 1 root root 189, 768 2009-01-15 12:56 001
crw-rw-r-- 1 root root 189, 776 2009-01-15 12:56 009 <- USRP- device,
but why aren’t the permissions set from the rule- file?

/etc/udev/rules.d$ dmesg | tail

[ 951.886074] usb 7-3: new high speed USB device using ehci_hcd and
address 9
[ 951.912878] usb 7-3: configuration #1 chosen from 1 choice

There must be something I have done incorrect, but what might that be? I
realize this may be a bit off- topic, but seeing how you all got it to
work… As I said earlier, feel free to advice on things to try…

Best regards,
//Mattias K.

On Thu, Jan 15, 2009 at 01:35:43PM +0100, Mattias K. wrote:

Hi list,

I have a small problem with my usrp usb- interface. I can’t really
figure out how to detect my usrp correctly.

When I connect the usrp I can access it from root, but not from a user
in the usrp- group.

I think I have checked and double checked “everything”, but apparently
there is something I’m missing.

Are you sure you’re in the usrp group?

$ groups
eb wheel uucp usrp

Eric