rtlsdr_read_reg failed with -7

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Petter Gustad osmocom at gustad.com
Fri Oct 11 05:45:39 UTC 2013


I keep getting the message "rtlsdr_read_reg failed with -7" whenever I
run any of the rtl_ commands.


When I run the command after re-plugging the stick it usually works
(except the lost samples):

   rtl_test 
   Found 1 device(s):
     0:  ezcap USB 2.0 DVB-T/DAB/FM dongle
   
   Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
   Found Fitipower FC0013 tuner
   Supported gain values (23): -9.9 -7.3 -6.5 -6.3 -6.0 -5.8 -5.4 5.8 6.1 6.3 6.5 6.7 6.8 7.0 7.1 17.9 18.1 18.2 18.4 18.6 18.8 19.1 19.7 
   
   Info: This tool will continuously read from the device, and report if
   samples get lost. If you observe no further output, everything is fine.
   
   Reading samples in async mode...
   lost at least 84 bytes
   
But if I run any of the rtl_ commands after breaking any previous
running command I get:

   rtl_test 
   Found 1 device(s):
     0:  ezcap USB 2.0 DVB-T/DAB/FM dongle
   
   Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
   rtlsdr_read_reg failed with -7
   rtlsdr_write_reg failed with -7
   rtlsdr_read_reg failed with -7
   rtlsdr_write_reg failed with -7
   rtlsdr_read_reg failed with -7
   rtlsdr_write_reg failed with -7
   

Is there a way to completely reset the driver other than re-plugging
it?

I'm running Gentoo Linux (3.2.1 kernel)

Thanks!

//Petter




More information about the osmocom-sdr mailing list