Software Defined Radio

196 readers
5 users here now

founded 3 years ago
MODERATORS
1
 
 

Couldn't find the answer online and spent unnecessary hours trying to solve it, so I'll plop the answer here.

Problem

Software like SDR++ can't find any devices
systemctl status sdrplay shows following errors/warnings:

[3943]: sdrplay_apiService: UpdateDevicesL: ERROR: libusb_claim_interface() -6
[3943]: sdrplay_apiService: sdrplay_apiServiceWorkerThread: ERROR: UpdateDevices() failed 1
libusb: warning [libusb_exit] device 1.5 still referenced
libusb: warning [libusb_exit] device 1.1 still referenced
libusb: warning [libusb_exit] application left some devices open

Based on what I found, -6 corresponds to LIBUSB_ERROR_BUSY. The device has been claimed by something else.

Specific problem

I found this blog post on using RSP1 clone without the proprietary software: https://blog.marxy.org/2023/05/using-sdrplay-rsp1-clone-with-cubicsdr.html
It mentions blocklisting some kernel modules which capture the device.
Comparing lsmod | grep msi with known good system (Arch Linux), sure enough, these aren't loaded while in Linux Mint they are:

msi001                 20480  1
msi2500                36864  0
videobuf2_vmalloc      20480  1 msi2500
videobuf2_v4l2         36864  1 msi2500
videodev              352256  3 videobuf2_v4l2,msi001,msi2500
videobuf2_common       81920  4 videobuf2_vmalloc,videobuf2_v4l2,msi2500,videobuf2_memops

Solution

Add the following lines to /etc/modprobe.d/blacklist.conf to blacklist these kernel modules:

blacklist msi001
blacklist msi2500

And reboot.

Personal note/rant

I spent so much time... I tried different API versions, so I also had to uninstall the newer ones which with this stupid software can only be done with careful manual removal of files.
I tried different USB ports (just in case), reinstalling SDR++, SoapySDR, installing some other potentially interesting looking libusb related packages, trying to find at least one other person with this issue...

And in the end it's just interfering kernel modules like with RTL-SDR.
Well, if this gets indexed the solution should be easy to find based on the error now.

2
 
 

I've been noticing some interference with Wifi devices around my house, so I started looking for a way to troubleshoot them. I've tried to use a signal scanner on my phone to see if i can pick anything up but it goes away the devices come back online before i can get out to check. After some, admittedly, brief researching, i figured i could make my own signal/frequency scanner with an SDR and leaving it out in the area i believe the interference is effecting, and recording activity. After searching around a bit more, the devices are fairly expensive for the signal range i would need, for what would amount to some troubleshooting.

Which brings me to this post. I'm hoping to not spend a decent chunk of change and this not work so I'm asking to see if anyone here has experience using an SDR (in general) to troubleshoot signals in the 2.4GHz and 5GHz range. If so, would i be able to use the ADALM-PLUTO with the 6GHZ firmware download.

The setup would consist of a Raspbery Pi with PiSDR, and the ADALM on it. Ideally it could record over 48+ hours, at which i could review for interference. To then get the most bang for my buck, I would also like to troubleshoot some Android Auto disconnects that happen at very specific spots on the road, too, which Bluetooth is also in the 2.4GHz range, so this should work for this.

Would this setup work for me?

3
 
 

I am new to sdr. Currently I have an rlt-sdr dongle running rtl_fm piped to ffmpeg. I’d like to switch to something that I can change the frequency without shutting it down and can be run as a daemon on linux, ie no tui or gui. I am having difficulty finding anything currently available.

Is there anything out there or is my only choice to modify rtl_fm to do what I am wanting?

4
 
 
5
6
7
8
9
10
11
12
1
GNOME Radio 16 (wiki.gnome.org)
submitted 3 years ago by const_void@lemmy.ml to c/sdr@lemmy.ml
 
 

Easily find live radio programs based on geographical location of radio broadcasters on the Internet

13
14
15
 
 

Smart meters form mesh networks among themselves and transmit your usage data all around. Some of them even allow the power company to turn off your power remotely, through the mesh. You might want to know if any of this information is sensitive, or if the power shutdown system has got glaring security flaws and random people could just turn your house off.

16
 
 

In this article, we will dive into the reverse engineering of wireless signals with off the shelf tools and how to launch practical attacks against these wireless systems.

17
 
 

Turbine is the SDR software for NoraSector. It's designed to capture and stream all frequencies in a trunked radio system. It is capable of decoding multiple systems concurrently, even different system types, provided they all fall within the same sample bandwidth generated by the radio and there's enough CPU available.

18
19
 
 

In this blog post I will try to explain what HRPT is and how to receive it using a cheap hardware setup based on an RTL-SDR.

20
 
 

The SFPD’s move is part of a growing law enforcement trend of encrypting agency communications previously available to the public.

21
 
 

Guglielmo implements a simple FM and DAB receiver based on Qt and the Qt-dab and sdr-j-fm packages.

22
23
 
 

This projects uses Software Defined Radios to view airplanes in the sky from the ADS-B protocol. This is rather inexpensive, and easy to setup on your own!

24
 
 

A new law introduced by Beijing appears to have resulted in ships turning off their automatic AIS beacons (161.975 MHz or 162.025 MHz) when in Chinese waters.

25
view more: next ›