USRP2 not Found in GRC

I am using USRP2 with Ubuntu 10.04 and latest version of GRC.
When I run command sudo I am able to see the spectrum
(without sudo I got error).
But when I used USRP2 source block, I am finding the error “USRP not
Please guide me in this regard.
Zimran Rafique

I guess GRC needs root permission to execute the flow graph with USRP2.
I suggest several options:

  1. run gnuradio-compandion with sudo
  2. run the generated python code with sudo
  3. set permissions on the socket opener:
    sudo chown root.root /bin/usrp2_socket_opener
    sudo chmod 4755 /bin/usrp2_socket_opener