Oops, sorry for this. I thought I sent the e-mail to the list but just noticed only Johnathan got it. I am posting it again hoping that someone can help.
---------- Forwarded message ---------- From: Igor Almeida <igor.cont...@gmail.com> Date: Fri, Dec 19, 2008 at 10:04 AM Subject: Re: [Discuss-gnuradio] Big bugs out of nowhere... To: Johnathan Corgan <jcor...@corganenterprises.com> Hi Johnathan, Thank you for the insight. I was indeed NOT a user of the usrp group to which udev was configuring the block device. The thing is, we have an LDAP-configured network here, and we use it to fetch a number of configs, including groups, passwords and whatnot. Bottom line, there were two 'usrp' groups: one from /etc/group, with no members; and the other was from LDAP, with myself as member. So I removed the usrp group from /etc/group{,-}, and it no longer exists acording to 'getent group|grep usrp', but now udev seems to be confused as it changes the permissions correctly, but the group association is not performed: /dev/bus/usb/007: total 0 crw-rw-r-- 1 root root 189, 768 2008-12-19 06:38 001 crw-rw---- 1 root root 189, 769 2008-12-19 09:50 002 Notice the crw-rw---- block, which showed up when I plugged the usb cable. So if udev cannot be aware of the usrp group fetched from LDAP, the whole LDAP-centralizing-access-permissions scheme goes down, because I will have to manually create and maintain/synchronize the usrp group in every machine on the lab. On Wed, Dec 17, 2008 at 5:34 PM, Johnathan Corgan <jcor...@corganenterprises.com> wrote: > On Wed, Dec 17, 2008 at 6:56 AM, Igor Almeida <igor.cont...@gmail.com> wrote: > >> File "/usr/local/gnuradio/lib/python2.5/site-packages/gnuradio/usrp.py", >> line 79, in _look_for_usrp >> raise RuntimeError, "Unable to find USRP #%d" % (which,) >> RuntimeError: Unable to find USRP #0 > > Can you use the 'groups' command to verify the user running the script > really is a member of group 'usrp'? Also, you may need to log the > user out and back in for the group membership to become effective. > > -Johnathan > -- Igor Almeida -- Igor Almeida _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio