Changes between Version 11 and Version 12 of Internal/BuildingGNURadioImage


Ignore:
Timestamp:
Jan 28, 2009, 7:31:53 PM (16 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/BuildingGNURadioImage

    v11 v12  
    120120$ sudo make install
    121121}}}
     122----
     123We had to do some group modifications to get udev devices to show up properly. Note that in lsusb:
     124
     125{{{
     126node1-1:~# lsusb
     127Bus 004 Device 002: ID fffe:0002  <--- this is the usrp
     128Bus 004 Device 001: ID 0000:0000 
     129Bus 003 Device 001: ID 0000:0000 
     130Bus 002 Device 001: ID 0000:0000 
     131Bus 001 Device 001: ID 0000:0000
     132}}}
     133
     134From here we had to create a usrp group, add root to it, and then throw some file in the udev rules. Like So:
     135{{{
     136sudo addgroup usrp
     137sudo addgroup <YOUR_USERNAME> usrp
     138echo 'ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:="0660"' > tmpfile
     139sudo chown root.root tmpfile
     140sudo mv tmpfile /etc/udev/rules.d/10-usrp.rules
     141}}}
     142
     143'''NOTE:''' the naming convention of the rules files on the flavor of debian thats on the nodes is a little different. I made a copy of the ''10-usrp.rules'' and named it z10_usrp.rules. Not really sure which one its reading, but ehh disk space is cheap.
     144
     145that being said, post actual reboot (not restarting udev as the guide suggests) ls -lR /dev/bus/usb | grep usrp yeilds:
     146{{{
     147node1-1:~# ls -lR /dev/bus/usb | grep usrp
     148crw-rw---- 1 root usrp 189, 385 Jan 28 14:20 002
     149}}}
     150
     151The guide claims one entry per usrp (and thus just one entry).
     152----
     153
     154
     155
     156----
     157