ptrkrysik/gr-gsm

grgsm_capture unable to use

sam92290 opened this issue · 1 comments

Hi all,

I'm using the distrib DragonOS Focal R2 bootable from my usb key with my RTL-SDR usb key.

livemon and gr gsm are working well. I use grgsm_scanner and it works well with volk_profile.

The pb is when I try to use the grgsm_capture.py. I've the following errors after the cmd line grgsm_capture -a 5 /tmp/capture.cfile or even grgsm_capture -f 933.4 5 /tmp/capture.cfile

[INFO] [UHD] linux; GNU C++ version 11.3.0; Boost_107400; UHD_4.1.0.5-0-unknown
usb_claim_interface error -6
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.4.0
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya
Using device #0 Realtek RTLXXXXUHIDIR SN: XXXXXXXX
usb_claim_interface error -6
Traceback (most recent call last):
File "/usr/local/bin/grgsm_capture", line 177, in
tb = gsm_capture(freq=freq,
File "/usr/local/bin/grgsm_capture", line 56, in init
self.sdr_source = osmosdr.source(args="numchan=" + str(1) + " " +
RuntimeError: Failed to open rtlsdr device.

Someone could help to debug please ?

Thanx in advance.

++

Hello !
Its probably because your antenna still scanning with livemon and grgsm_scanner, so you need to stop process before start grgsm_capture.
Hope it help you :)