AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
4.11k stars 571 forks source link

RTL-SDR doesn't appear in the Source menu -- DEBIAN bookworm 12.2 #1238

Closed ghost closed 11 months ago

ghost commented 11 months ago

Same behavior as reported in #1178, but this time on Debian.

~$ inxi -Fz
System:
  Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1
    Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X370-A v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 6203
    date: 07/27/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1865 min/max: 1400/4672 cores: 1: 3800 2: 1400 3: 1400
    4: 2857 5: 1400 6: 2399 7: 1400 8: 1400 9: 1400 10: 1400 11: 2399 12: 1400
    13: 1400 14: 1400 15: 2999 16: 1400
Graphics:
  Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 525.125.06
  Device-2: Realtek RTL2838 DVB-T type: USB
    driver: dvb_usb_rtl28xxu,rtl2832_sdr
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 525.125.06 renderer: NVIDIA GeForce GT
    1030/PCIe/SSE2
Audio:
  Device-1: NVIDIA GP108 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.1.0-13-amd64 status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active
Network:
  Device-1: Techsan Co B2C2 FlexCopII DVB chip / Technisat SkyStar2 card
    driver: b2c2_flexcop_pci
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 782.5 GiB used: 192.4 GiB (24.6%)
  ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
  ID-2: /dev/sdb vendor: Crucial model: CT240BX500SSD1 size: 223.57 GiB
  ID-3: /dev/sdc vendor: Western Digital model: WDS120G2G0A-00JH30
    size: 111.8 GiB
Partition:
  ID-1: / size: 29.36 GiB used: 16.06 GiB (54.7%) fs: ext4 dev: /dev/sdb2
  ID-2: /boot/efi size: 511 MiB used: 5.8 MiB (1.1%) fs: vfat dev: /dev/sdb1
  ID-3: /home size: 188.98 GiB used: 4.79 GiB (2.5%) fs: ext4 dev: /dev/sdb3
Swap:
  ID-1: swap-1 type: partition size: 17.12 GiB used: 0 KiB (0.0%)
    dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 24.2 C mobo: N/A gpu: nvidia temp: 37 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:
  Processes: 281 Uptime: 1h 5m Memory: 15.41 GiB used: 1.64 GiB (10.7%)
  Shell: Bash inxi: 3.3.26

RTL-SDR V3 USB Stick


~$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046a:b092 CHERRY USB Optical Mouse
Bus 001 Device 003: ID 046a:b090 CHERRY Keyboard
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Had gqrx-sdr (2.15.9-1) from official Debian sources working with that RTL-SDR Stick on that machine and purged it from the system yesterday to try out SDRPlusPlus. Followed the instruction in https://www.sdrpp.org/manual.pdf with sdrpp_debian_bookworm_amd64.deb 1.88MB Oct 29.

The GUI works, but no RTL-SDR.

Did a crosscheck on a clean Debian bookworm in a VM. Same. RTL-SDR not showing. Also tried sdrpp_debian_bullseye_amd64.deb 1.9MB Oct 29 on second VM with Debian bullseye. RTL-SDR is not showing either .....

Regards - KH

ghost commented 11 months ago

Another test. Done in a clean updated Debian bullseye VM (Vbox here)

Skipped this part from the manual. Maybe this part is outdated?

sudo apt install libfftw3-dev libglfw3-dev libglew-dev libvolk2-dev
libsoapysdr-dev libairspyhf-dev libiio-dev libad9361-dev librtaudio-dev
libhackrf-dev zstd

and just installed the *. deb package

Installation seemed to be OK.

Started sdrpp in terminal. GUI shows up. But some [ERROR] messages! Please have a look at the attached protocol ....

New File.odt.zip

Screenshot_2023-11-29_11-17-57

Maybe this helps - regards KH

AlexandreRouma commented 11 months ago

You didn't install the driver for the RTL-SDR. You must install the drivers for the SDRs you wish to use. I don't list them as dependencies in the deb because I don't want people to be installing packages they don't strictly need. https://github.com/AlexandreRouma/SDRPlusPlus#sources

ghost commented 11 months ago

Stupid me! Simple like that. Just adding


librtlsdr-dev (0.6.0-4)
librtlsdr0 (0.6.0-4)
libusb-1.0-0-dev (2:1.0.26-1)
libusb-1.0-doc (2:1.0.26-1)

did it.

Sorry for bothering.

Regards - KH