Problems associated with airprobe

Dear All,
I am working on decoding broadcast channel of GSM using airprobe.

I follow airprobe instructions
https://svn.berlin.ccc.de/projects/airprobe/wiki/WorkingWithTheUSRP
https://svn.berlin.ccc.de/projects/airprobe/wiki/A

But still run into problems two errors are related with “cannot open
usrp”
and one error are related with " No module named gsm"

error 1 of “cannot open usrp”

[email protected]:~/airprobe/gsm-receiver/src/python$ sudo ./capture.sh
945000000/usr/local/bin/usrp_rx_cfile.py
Capturing for 10 seconds to capture_945000000_112.cfile (5714280
samples)
usrp: failed to find usrp[0]
Traceback (most recent call last):
File “/usr/local/bin/usrp_rx_cfile.py”, line 106, in
my_top_block().run()
File “/usr/local/bin/usrp_rx_cfile.py”, line 62, in init
self.u = usrp.source_c(decim_rate=options.decim)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 1699, in source_c
return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can’t open usrp

error2 of “cannot open usrp”

[email protected]:~/airprobe/gsm-tvoid/src/python$ ./gsm_scan.py
% offset = 0.0 clock = 64000000.0
fusb_block_size = 4096
fusb_nblocks = 16
usrp: failed to find usrp[0]
Traceback (most recent call last):
File “./gsm_scan.py”, line 731, in
main()
File “./gsm_scan.py”, line 726, in main
app = stdgui2.stdapp(app_flow_graph, “GSM Scanner”, nstatus=1)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 36, in init
wx.App.init (self, redirect=False)
File
“/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
line 7978, in init
self._BootstrapApp()
File
“/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
line 7552, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 39, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 60, in init
self.panel = stdpanel (self, self, top_block_maker)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 81, in init
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File “./gsm_scan.py”, line 172, in init
self.setup_flowgraph()
File “./gsm_scan.py”, line 552, in setup_flowgraph
self.setup_usrp()
File “./gsm_scan.py”, line 361, in setup_usrp
self.ursp = usrp.source_c(decim_rate=options.decim,fusb_block_size=
options.fusb_block_size,fusb_nblocks=options.fusb_nblocks)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/usrp/usrp_swig.py”,
line 1699, in source_c
return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can’t open usrp

error3 of " No module named gsm"

[email protected]:~/airprobe/gsm-receiver/src/python$ ./go_usrp2.sh
vf_call6_a725_d174_g5_Kc1EF00BAB3BAC7002.cfile
Traceback (most recent call last):
File “./gsm_receive100.py”, line 12, in
import gsm
ImportError: No module named gsm

According to my finding of the link
http://lists.gnu.org/archive/html/discuss-gnuradio/2011-09/msg00467.html,
Miguel
Sanz
has done Airprobe to decode downlink signals on N210.
I wonder if there is anyway, I can contact him.

Thank you.
regards

On 12/19/2012 09:13 AM, xiangwei zheng wrote:

error 1 of “cannot open usrp”
Best guess: Thats probably a permissions issue. Run as root or setup
udev rules to give user permission for the device.

On a related note, is there a version of airprobe that uses UHD? That
usrp1 API stuff has been out of mainline gnuradio for some time.

-josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs