Closed ChadOhman closed 4 years ago
Hey, can you check the logs?
journalctl -u r2cloud -n 200
The root cause is here:
Jun 09 06:15:07 satpi java[538]: usb_claim_interface error -6
Something else is using rtl_sdr. You can check this:
ps aux|grep rtl_sdr
In the meantime I will improve error reporting in r2cloud.
Interesting. I flashed an SD card with the latest r2cloud image.
pi@satpi:~ $ ps aux|grep rtl_sdr
pi 618 0.0 0.1 7676 1760 ? S Jun08 0:00 /bin/bash ./etc/rtl_sdr_wrapper.sh -rtl rtl_sdr -f 436369147 -s 240000 -g 45 -p 0 -o /tmp/45115-1591650799565.raw.gz
pi 619 0.2 0.2 14880 1932 ? Sl Jun08 1:50 rtl_sdr -f 436369147 -s 240000 -p 0 -g 45 -
pi 3830 0.0 0.0 7348 536 pts/0 S+ 09:52 0:00 grep --color=auto rtl_sdr
Now that I'm looking at it, this thread is really chewing up a significant portion of the 32GB sd card in the pi...
Ok. Look like the process hanged. Have you killed java manually?
Can you do: 1) Kill rtl_sdr and rtl_sdr_wrapper.sh 2) Remove tmp file: rm /tmp/*.raw.gz 3) Restart r2cloud: sudo systemctl restart r2cloud.
Hi, I ended up doing a full reboot before bed. Turns out that solved it and it seemed to have detected that tmp file and deleted it on its own.
Hello, just installed r2cloud on a Raspberry Pi 3B+. Had a few NOAA passes but all three passes give me this error when I ask it to generate a spectrogram. What's happening?
Thanks!