i’m owner of station #2136 ( IU2JWG - San Siro Space Ground Station OMNI) . I looked for same problem in this community but without success. Any time interval from 10 to 20 hours the station stops working and all observations get ‘failed’ status without any data in waterfalls. The journal after one of this event is reported below:
I looked for error explanation on the net and i understand the USB system locks up in same way, and apparently easiest way to solve the issue is to reboot the station. Doing so the station restarts, but for me is complicated doing so with daily frequency since it is not phisically close to me.
My question is: is there a way (hardware/software/both) to solve definitively this issue ?
Thanks
I have similar issue with rtl-sdr. After some time no samples are coming from the stick. It can be detected just fine and used by rtl_test or rtl_sdr. Just no samples are coming. Must be something to do with the driver.
I have yet to find a more stable rtl-sdr lib than librespace:satnogs/rtl-sdr. There is pretty old work on making it handle the occasional errors, I don’t think those are part of either of the other repos unfortunately.
I was able to reproduce the error and captured USB traffic during the issue. Then restarted the system and captured “good” traffic. Then compared both. See no difference between them. During the issue USB device returns same data and responds to the write register commands.
However all URB transfers timeout. librtlsdr doesn’t handle LIBUSB_TRANSFER_TIMED_OUT, thus no error when running rtl_sdr program.
I suspect it might be:
Some electrical issue that require physical power down/up. Might be due to old hardware or some static electricity.
Some internal i2c registers flipped. I’ll try to write a program to dump all register states.
Some extra information on remote resetting USB devices
apt-cache show usbutils
Package: usbutils
Version: 1:014-1+deb12u1
Installed-Size: 320
Maintainer: Aurelien Jarno <aurel32@debian.org>
Architecture: amd64
Depends: libc6 (>= 2.34), libudev1 (>= 196), libusb-1.0-0 (>= 2:1.0.22)
Breaks: hwdata (<< 0.334-1~), isenkram (<< 0.45~), kinfocenter (<< 4:5.14.5-2~), libosinfo-1.0-0 (<< 1.8.0-1~), usbip (<< 2.0+5.10.4-1~)
Description-en: Linux USB utilities
This package contains the lsusb utility for inspecting the devices
connected to the USB bus. It shows a graphical representation of the
devices that are currently plugged in, showing the topology of the
USB bus. It also displays information on each individual device on
the bus.
Description-md5: 928f8c65aee445506dc03a844a66adac
Multi-Arch: foreign
Homepage: https://github.com/gregkh/usbutils
Tag: hardware::usb, implemented-in::c, interface::commandline, role::program,
scope::utility, use::monitor, use::viewing
Section: utils
Priority: optional
Filename: pool/main/u/usbutils/usbutils_014-1+deb12u1_amd64.deb
Size: 73488
MD5sum: 59da4e3bb2be6bf5a89e9360571ef755
SHA256: 1b60c6922fe5f121ac22b7ae164552746896604614d5822ff5b3c76260feebf9
sudo apt-get install usbutils
sudo usbreset
Usage:
usbreset PPPP:VVVV - reset by product and vendor id
usbreset BBB/DDD - reset by bus and device number
usbreset "Product" - reset by product name
Devices:
Number 001/006 ID 1d50:60a1 AIRSPY
Number 002/002 ID 8087:8008
Number 001/008 ID 8087:07dc
Number 001/002 ID 0bda:2832 RTL2832U
Number 004/002 ID 8087:8000
Number 001/005 ID 0bda:0129 USB2.0-CRW
Number 001/003 ID 0bda:2838 Blog V4
sudo usbreset 001/003
Resetting Blog V4 ... ok