I’m trying to run rtl-sdr with BalenaFin and run Gqrx. Connecting the SDR device via regular USB results in the following errors:
[Logs] [4/15/2023, 15:10:39] [xserver] gqrx: stderr: gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
[Logs] [4/15/2023, 15:10:39] [xserver] gqrx: stderr: built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp xtrx
[Logs] [4/15/2023, 15:10:39] [xserver] gqrx: stderr: Using device #0 Realtek RTL2838UHIDIR SN: 00000001
[Logs] [4/15/2023, 15:10:39] [xserver] gqrx: stderr: Detached kernel driver
[Logs] [4/15/2023, 15:10:39] [xserver] gqrx: stderr: Found Rafael Micro R820T tuner
[Logs] [4/15/2023, 15:10:40] [xserver] gqrx: stderr: [R82XX] PLL not locked!
[Logs] [4/15/2023, 15:10:40] [xserver] gqrx: stderr: [R82XX] PLL not locked!
[Logs] [4/15/2023, 15:10:40] [xserver] gqrx: stderr: [R82XX] PLL not locked!
And Gqrx is not capable of getting data out of this device in a reasonable speed, such that actual FM radio can be heard. There are some more troubleshooting details in this reddit thread.
The device is being powered by BalenaFin’s USB. I read on a different reddit thread that some people report that low power from USB can be a cause for such issues.
Hence I tried to connect this RTL device straight to the power supply, and connect the D+
and D-
wires to BalenaFin’s USB header:
The device seems to be identified, but is even less operational. I get the following librtlsdr
errors from Gqrx:
[Logs] [4/21/2023, 21:44:54] [xserver] gqrx: stderr: gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
[Logs] [4/21/2023, 21:44:54] [xserver] gqrx: stderr: built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp xtrx
[Logs] [4/21/2023, 21:44:54] [xserver] gqrx: stderr: Using device #0 Realtek RTL2838UHIDIR SN: 00000001
[Logs] [4/21/2023, 21:44:54] [xserver] gqrx: stderr: Detached kernel driver
[Logs] [4/21/2023, 21:44:54] [xserver] gqrx: stderr: rtlsdr_demod_write_reg failed with -1
[Logs] [4/21/2023, 21:44:55] [xserver] gqrx: stderr: rtlsdr_demod_read_reg failed with -1
[Logs] [4/21/2023, 21:44:55] [xserver] gqrx: stderr: Found Rafael Micro R820T tuner
[Logs] [4/21/2023, 21:44:55] [xserver] gqrx: stderr: r82xx_read: i2c rd failed=-1 reg=00 len=3
[Logs] [4/21/2023, 21:44:55] [xserver] gqrx: stderr: r82xx_set_freq: failed=-1
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: rtlsdr_demod_read_reg failed with -1
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: [R82XX] PLL not locked!
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: rtlsdr_demod_read_reg failed with -1
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: rtlsdr_demod_read_reg failed with -1
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: [R82XX] PLL not locked!
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: rtlsdr_demod_read_reg failed with -1
[Logs] [4/21/2023, 21:44:56] [xserver] gqrx: stderr: rtlsdr_demod_write_reg failed with -1
My next idea is to try to connect all 4 USB headers without using the powersupply directly. Any idea if I’m digging in the right place? Perhaps the USB issues I’m experiencing are related to some BalenaOS specifics?
Help or comments will be greatly appreciated!