July 24, 2020

[Note] SDR on Ubuntu


SDR = Software Defined Radio, see https://en.wikipedia.org/wiki/Software-defined_radio

There are many things it can do, I'm mainly interested in doing:
  • For fun: track air traffic, listen to SW
  • For tech: using SDR as a true random number generator
  • Useful: get satellite weather images

Again, moving to Ubuntu requires install linux s/w.  Started with Gqrx for now.  Need to do more for other features (air traffic, satellite images).

$ sudo apt-get install rtl-sdr gnuradio gqrx-sdr

$ sudo rmmod dvb_usb_rtl28xxu
$ vi /etc/modprobe.d/blacklist-rtlsdr.conf

blacklist dvb_usb_rtl28xxu


Test it

[email protected]:~$ rtl_test -t
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.
(base) [email protected]:~$ sudo rtl_adsb
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.


-6 error means the dongle is already in use.  I was running something else.

[email protected]:~$ rtl_test -t
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.


ZR6AIC: How to install Gqrx SDR software on Linux using ...

(borrowed the image)

REFERENCE

No comments:

Post a Comment