Re: [Discuss-gnuradio] Unable to find USRP[0] issue
Hi Josh, Thanks a lot for the reply. The thing is, I was able to run the benchmark_rx.py and benchmark_tx.py codes in another UHD upgraded daughterboard. That daughter-board module is XCVR2450 transceiver. Unfortunately, I could not run the benchmark programs in the FLEX-400 daughterboard (enabled with Gigabit Ethernet). In both cases, I used the uhd_003_002_001 image. Therefore, does the compatibility issue vary from one daughter-board to another? We need to run the benchmark_rx and benchmark_tx.py programs for our experiments and mostly we have access to FLEX-400 daughterboard. Any suggestion will be highly appreciated. Thanks a lot for the help. Nazmul -- Muhammad Nazmul Islam Graduate Student Electrical Computer Engineering Wireless Information Networking Laboratory Rutgers, USA. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Unable to find USRP[0] issue
On 10/04/2011 10:02 PM, Nazmul Islam wrote: Hello, I am trying to use the old gnuradio python programs in a USRP2 daughterboard. I am facing the unable to find USRP [0] problem. I know that questions regarding this problem have appeared before. However, I am still posting my problem since it is probably occurring due to the compatibility issues between UHD and Non-UHD image. At first, I used to image the usrp2 with gnuradio-3.3.0 image and run benchmark codes. It ran fine. Now, the authorities in my laboratory are using UHD compatible SD cards to run codes in USRP2. USRP2 has been imaged with UHD_003_002_001 image. Using this image, when I log in to the node, I can go to the gnuradio folder by giving the following command: *cd gnuradio-uhd/gnuradio/* Thereafter, I give the following commands: *ifconfig eth2 192.168.10.1* *ifconfig eth2 up* * * *find_usrps* However, it says No USRP found (but I know that the daughter-boards are properly connected). http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#I-upgraded-to-UHD-and-now-usrp2_find_devices-usrp2_probe-doesnt-work Helps? _josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Unable to find USRP[0] issue
Hello, I am trying to use the old gnuradio python programs in a USRP2 daughterboard. I am facing the unable to find USRP [0] problem. I know that questions regarding this problem have appeared before. However, I am still posting my problem since it is probably occurring due to the compatibility issues between UHD and Non-UHD image. At first, I used to image the usrp2 with gnuradio-3.3.0 image and run benchmark codes. It ran fine. Now, the authorities in my laboratory are using UHD compatible SD cards to run codes in USRP2. USRP2 has been imaged with UHD_003_002_001 image. Using this image, when I log in to the node, I can go to the gnuradio folder by giving the following command: *cd gnuradio-uhd/gnuradio/* Thereafter, I give the following commands: *ifconfig eth2 192.168.10.1* *ifconfig eth2 up* * * *find_usrps* However, it says No USRP found (but I know that the daughter-boards are properly connected). I at first thought that the problem could be solved by uninstalling and then re-building gnuradio. Therefore, inside the gnuradio directory, I gave the following commands: * sudo make uninstall git clean -d -x -f ./bootstrap ./configure make make check sudo make install * *ifconfig eth2 up* *root@node1-1:~/git/uhd# ifconfig eth2 192.168.10.1* However, even this did not solve my problem. That means, when I type find_usrps, it still says: *ethernet:write_packet: send: Network is down* *No USRP2 found.* As a result, when I try to run the benchmark_rx.py and benchmark_tx.py programs of the python/digital folder, it says: *usrp: failed to find usrp[0]* *Traceback (most recent call last):* * File ./benchmark_rx.py, line 112, in module* *main()* * File ./benchmark_rx.py, line 101, in main* *tb = my_top_block(demods[options.modulation], rx_callback, options)* * File ./benchmark_rx.py, line 45, in __init__* *self.rxpath = usrp_receive_path.usrp_receive_path(demodulator, rx_callback, options) * * File /root/gnuradio-uhd/gnuradio/gnuradio-examples/python/digital/usrp_receive_path.py, line 65, in __init__* *self._setup_usrp_source(options)* * File /root/gnuradio-uhd/gnuradio/gnuradio-examples/python/digital/usrp_receive_path.py, line 76, in _setup_usrp_source* *self.u = usrp_options.create_usrp_source(options)* * File /usr/local/lib/python2.6/dist-packages/gnuradio/usrp_options.py, line 88, in create_usrp_source* *gain=options.rx_gain,* * File /usr/local/lib/python2.6/dist-packages/gnuradio/blks2impl/generic_usrp.py, line 138, in __init__* *_generic_usrp_base.__init__(self, **kwargs)* * File /usr/local/lib/python2.6/dist-packages/gnuradio/blks2impl/generic_usrp.py, line 63, in __init__* *except: raise Exception, 'Failed to automatically setup a usrp device.' * *Exception: Failed to automatically setup a usrp device.* * * I don't know how to solve this problem. Your help will be very very appreciated. Thanks, Nazmul -- Muhammad Nazmul Islam Graduate Student Electrical Computer Engineering Wireless Information Networking Laboratory Rutgers, USA. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Unable to find USRP#0
Hi Can anyone please help me? I am using gnuradio3.1.3. When I try to run usrp_benchmark_usb.py, I get the a RuntimeError: Unable to find USRP #0. When I issue ls -lR /dev/bus/usb | grep usrp, I didn't get any message. This is the first time that I connect USRP board to PC. Please help me. Thanks a lot. Teodora This is a log: Testing 2MB/sec... Traceback (most recent call last): File ./usrp_benchmark_usb.py, line 106, in module main () File ./usrp_benchmark_usb.py, line 96, in main ok = run_test (rate, verbose) File ./usrp_benchmark_usb.py, line 63, in run_test usrp_tx = usrp.sink_s (0, tx_interp) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 229, in __init__ _ensure_rev2(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 85, in _ensure_rev2 v = _look_for_usrp(which) File /usr/local/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 -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Unable to find USRP#0
On Mon, May 18, 2009 at 4:28 AM, Teodora Petrovic li...@ruby-forum.com wrote: Can anyone please help me? I am using gnuradio3.1.3. When I try to run usrp_benchmark_usb.py, I get the a RuntimeError: Unable to find USRP #0. When I issue ls -lR /dev/bus/usb | grep usrp, I didn't get any message. It is likely that you do not have the permissions set correctly to allow your user account to have access to the USRP hardware. Try running as root; if everything works, then this is the case. To allow a non-root user to access the USRP, follow the instructions here: http://gnuradio.org/trac/wiki/UdevConfig Johnathan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Unable to find USRP #0 in kernel 2.6.24-rc4-gd7f0b481 on Fedora 7
On Wed, Dec 12, 2007 at 04:58:36PM -0500, [EMAIL PROTECTED] wrote: I installed kernel of 2.6.24-rc4-gd7f0b481 for Fedora 7 in PS3 following http://www.gnuradio.org/trac/wiki/PS3FC7Install. The linux system runs well. Then I installed GNU radio as told in above URL. Everything went well too. However, I could not get USRP work. I am not sure whether it is because of the new kernel or something else. Therefore, I listed the test script and output below for running usrp_benchmark_usb.py and also the output from dmesg to test USB connection. Your help will be very appreciated! Andrew Ge Did you setup udev as the wiki page instructed? Are you in group usrp? Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Unable to find USRP #0 in kernel 2.6.24-rc4-gd7f0b481 on Fedora 7
I installed kernel of 2.6.24-rc4-gd7f0b481 for Fedora 7 in PS3 following http://www.gnuradio.org/trac/wiki/PS3FC7Install. The linux system runs well. Then I installed GNU radio as told in above URL. Everything went well too. However, I could not get USRP work. I am not sure whether it is because of the new kernel or something else. Therefore, I listed the test script and output below for running usrp_benchmark_usb.py and also the output from dmesg to test USB connection. Your help will be very appreciated! Andrew Ge [EMAIL PROTECTED] usrp]# ./usrp_benchmark_usb.py Testing 2MB/sec... Traceback (most recent call last): File ./usrp_benchmark_usb.py, line 106, in module main () File ./usrp_benchmark_usb.py, line 96, in main ok = run_test (rate, verbose) File ./usrp_benchmark_usb.py, line 63, in run_test usrp_tx = usrp.sink_s (0, tx_interp) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 227, in __init__ _ensure_rev2(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 82, in _ensure_rev2 v = _look_for_usrp(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 76, in _look_for_usrp raise RuntimeError, Unable to find USRP #%d % (which,) RuntimeError: Unable to find USRP #0 Check with dmesg for usb connection as below: usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb usb usb1: configuration #1 chosen from 1 choice usb 1-2: new full speed USB device using ps3-ohci-driver and address 2 usb usb2: configuration #1 chosen from 1 choice usb 1-2: configuration #1 chosen from 1 choice usb usb3: configuration #1 chosen from 1 choice usb usb4: configuration #1 chosen from 1 choice usb 1-2: USB disconnect, address 2 usb 3-2: new high speed USB device using ps3-ehci-driver and address 2 usb 3-2: configuration #1 chosen from 1 choice usb 4-1: new high speed USB device using ps3-ehci-driver and address 2 usb 4-1: configuration #1 chosen from 1 choice usb 4-2: new high speed USB device using ps3-ehci-driver and address 3 usb 4-2: configuration #1 chosen from 1 choice usb 3-2.1: new low speed USB device using ps3-ehci-driver and address 3 usb 3-2.1: configuration #1 chosen from 1 choice usb 3-2.2: new high speed USB device using ps3-ehci-driver and address 4 usb 3-2.2: configuration #1 chosen from 1 choice usb 3-2.3: new low speed USB device using ps3-ehci-driver and address 5 usb 3-2.3: configuration #1 chosen from 1 choice input: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-sb_05-2.1 input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-sb_05-2.3 usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver usbcore: registered new interface driver usb-storage usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete usb 3-2.2: USB disconnect, address 4 usb 3-2.2: new high speed USB device using ps3-ehci-driver and address 6 usb 3-2.2: configuration #1 chosen from 1 choice usb 3-2.2: USB disconnect, address 6 usb 3-2.1: USB disconnect, address 3 usb 3-2.2: new low speed USB device using ps3-ehci-driver and address 7 usb 3-2.2: configuration #1 chosen from 1 choice input: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-sb_05-2.2 usb 3-2.1: new high speed USB device using ps3-ehci-driver and address 8 usb 3-2.1: configuration #1 chosen from 1 choice usb 3-2.1: USB disconnect, address 8 usb 3-2.4: new high speed USB device using ps3-ehci-driver and address 9 usb 3-2.4: configuration #1 chosen from 1 choice usb 3-2.4: USB disconnect, address 9 usb 3-2.4: new high speed USB device using ps3-ehci-driver and address 10 usb 3-2.4: configuration #1 chosen from 1 choice ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Unable to find USRP #0
You require USB2.0 and not USB 1.1. USB 1.1 is not supported On 7/26/07, hacper [EMAIL PROTECTED] wrote: Dear all: I am trying to run seom example codes on USRP. My computer equipes USB 1.1. I use Fedora Core 7 + python 2.5 + gnuradio 3.0.3 to bulid the GNU Radio. I had followed http://gnuradio.org/trac/wiki/BuildGuide to bulid the GNU Radio. However, when I run tunnel.py to build physical setting for WiFi, I type following commands: python tunnel.py -v -f 2400E6 --bitrate 50k -i 32 -d 16 some errors occur as follows: File tunnel.py, line 288, in module main() File tunnel.py, line 249, in main options) File tunnel.py, line 95, in __init__ self.txpath = transmit_path(self, mod_class, options) File /usr/src/CR/gnuradio-3.0.3/gnuradio-examples/python/digital/transmit_path.py, line 61, in __init__ self._setup_usrp_sink() File /usr/src/CR/gnuradio-3.0.3/gnuradio-examples/python/digital/transmit_path.py, line 110, in _setup_usrp_sink fusb_nblocks=self._fusb_nblocks) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 209, in __init__ _ensure_rev2(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 82, in _ensure_rev2 v = _look_for_usrp(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 76, in _look_for_usrp raise RuntimeError, Unable to find USRP #%d % (which,) RuntimeError: Unable to find USRP #0 I guess that the usb maybe cannot understand USRP platform. Could you give me some help? Best Regard 設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用! http://tw.info.yahoo.com/seal/index.html ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Unable to find USRP #0
Dear all: I am trying to run seom example codes on USRP. My computer equipes USB 1.1. I use Fedora Core 7 + python 2.5 + gnuradio 3.0.3 to bulid the GNU Radio. I had followed http://gnuradio.org/trac/wiki/BuildGuide to bulid the GNU Radio. However, when I run tunnel.py to build physical setting for WiFi, I type following commands: python tunnel.py -v -f 2400E6 --bitrate 50k -i 32 -d 16 some errors occur as follows: File tunnel.py, line 288, in module main() File tunnel.py, line 249, in main options) File tunnel.py, line 95, in __init__ self.txpath = transmit_path(self, mod_class, options) File /usr/src/CR/gnuradio-3.0.3/gnuradio-examples/python/digital/transmit_path.py, line 61, in __init__ self._setup_usrp_sink() File /usr/src/CR/gnuradio-3.0.3/gnuradio-examples/python/digital/transmit_path.py, line 110, in _setup_usrp_sink fusb_nblocks=self._fusb_nblocks) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 209, in __init__ _ensure_rev2(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 82, in _ensure_rev2 v = _look_for_usrp(which) File /usr/local/lib/python2.5/site-packages/gnuradio/usrp.py, line 76, in _look_for_usrp raise RuntimeError, Unable to find USRP #%d % (which,) RuntimeError: Unable to find USRP #0 I guess that the usb maybe cannot understand USRP platform. Could you give me some help? Best Regard 設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用! http://tw.info.yahoo.com/seal/index.html ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Unable to find USRP #0
I just started using my RFX-2400 today, and all was going well. I had used usrp_{oscope,fft}.py as regular user without incident. All of a sudden, I started getting the Unable to find USRP #0 runtime error. It is probably something I've done, but I have no idea what. The usbfs is mounted. I ran the scripts as both regular user as well as root. The LED is flashing at about 10 Hz. Potentially helpful background: Sometime ago, I upgraded to my kernel (so I could use my IPod) from 2.6.9 to 2.6.12 using the package manager under Fedora Core 3. Things seemed a little screwy after that. So, I always boot into 2.6.9 now. Recently, I noticed I can no longer use my USB pen drive or external hard drive. Something keeps deleting /dev/sda*. However, I mount the USRP under /proc/bus/usb, which is still there. Any ideas? Here's the error message. Traceback (most recent call last): File ./usrp_fft.py, line 237, in ? main () File ./usrp_fft.py, line 233, in main app = stdgui.stdapp(app_flow_graph, USRP FFT, nstatus=1) File /gnuradio/gr/lib/python2.3/site- packages/gnuradio/wxgui/stdgui.py, line 36, in __init__ wx.App.__init__ (self, redirect=False) File /gnuradio/gr/lib/python2.3/site-packages/wx-2.6-gtk2- ansi/wx/_core.py, line 7473, in __init__ self._BootstrapApp() File /gnuradio/gr/lib/python2.3/site-packages/wx-2.6-gtk2- ansi/wx/_core.py, line 7125, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File /gnuradio/gr/lib/python2.3/site- packages/gnuradio/wxgui/stdgui.py, line 39, in OnInit frame = stdframe (self.flow_graph_maker, self.title, self._nstatus) File /gnuradio/gr/lib/python2.3/site- packages/gnuradio/wxgui/stdgui.py, line 60, in __init__ self.panel = stdpanel (self, self, flow_graph_maker) File /gnuradio/gr/lib/python2.3/site- packages/gnuradio/wxgui/stdgui.py, line 81, in __init__ self.fg = flow_graph_maker (frame, self, vbox, sys.argv) File ./usrp_fft.py, line 78, in __init__ self.u = usrp.source_c(decim_rate=options.decim) File /gnuradio/gr/lib/python2.3/site-packages/gnuradio/usrp.py, line 240, in __init__ _ensure_rev2(which) File /gnuradio/gr/lib/python2.3/site-packages/gnuradio/usrp.py, line 82, in _ensure_rev2 v = _look_for_usrp(which) File /gnuradio/gr/lib/python2.3/site-packages/gnuradio/usrp.py, line 76, in _look_for_usrp raise RuntimeError, Unable to find USRP #%d % (which,) RuntimeError: Unable to find USRP #0 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio