[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] problems associated with airprobe
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] problems associated with airprobe |
Date: |
Wed, 19 Dec 2012 12:33:08 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/19/2012 09:13 AM, xiangwei zheng wrote:
> 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"
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
>
> address@hidden:~/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 <module>
> 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"
>
> address@hidden:~/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 <module>
> 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"
>
> address@hidden:~/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 <module>
> 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
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>