Raspberry Pi 3 with two receivers (repurposed from a Stratux project), ADSBX image, successfully feeding 1090ES data from 209.237.86.241. Running headless (ssh) and Grafana and stats -- all is good -- EXCEPT that I cannot get the second receiver to provide a 978 MHz feed. Code: $ rtl_sdr -f 978000000 -s 2083334 -g 48 - Found 2 device(s): 0: Stratux, LowPowerV2, SN: stratux:1090 1: Stratux, LowPowerV2, SN: stratux:978 Using device 0: Generic RTL2832U OEM usb_claim_interface error -6 Failed to open rtlsdr device #0. I've tried the rtl_sdr command line with and without all sorts of device codes but it should fall over to the free receiver without any -d option. Is this telling me I need to blacklist my second USB receiver? If so, how? All of my searching has turned up obsolete information -- things change a lot :-( TIA, Joe
Code: rtl_sdr, an I/Q recorder for RTL2832 based DVB-T receivers Usage: -f frequency_to_tune_to [Hz] [-s samplerate (default: 2048000 Hz)] [-d device_index (default: 0)] [-g gain (default: 0 for auto)] [-p ppm_error (default: 0)] [-b output_block_size (default: 16 * 16384)] [-n number of samples to read (default: 0, infinite)] [-S force sync output (default: async)] filename (a '-' dumps samples to stdout) Try -d 1, index 0 is 1090 receiver and is used by dump1090.
Thank you but I already had tried "-d 1" (that's what I meant by "with and without all sorts of device codes"). Here's what using "-d 1" produces: Code: $ rtl_sdr -d 1 -f 978000000 -s 2083334 -g 48 - Found 2 device(s): 0: Stratux, LowPowerV2, SN: stratux:1090 1: Stratux, LowPowerV2, SN: stratux:978 Using device 1: Generic RTL2832U OEM usb_claim_interface error -6 Failed to open rtlsdr device #1. It's as if the kernal has already taken over device 1 for its own purposes (DVB) and rtl_sdr cannot find a receiver, hence my comment about possibly blacklisting required.
Tried this? https://www.raspberrypi.org/forums/viewtopic.php?t=88653 https://www.rtl-sdr.com/forum/viewtopic.php?t=1726 What app/process can use device 1?
Thank you again, Marcin. But apparently that was already done for the ADSBX image because I have a file named no-rtl.conf in /etc/modprobe.d/ with the exact same contents specified in that thread: Code: $ cat no-rtl.conf blacklist dvb_usb_rtl28xxu blacklist rtl2832 blacklist rtl2830 How can I determine that? Some variant of 'ps'? And more to the point, how can I limit the drivers that the OS loads? I'm an old-time unix guy but Raspberry Pi has reduced me to the ability of a script kiddie :-( In any case, others must have this issue too. I followed a couple of older threads here about adding 978 MHz UAT but no joy.
Arrgh! Fixed it. Needed to run the command as root. Code: $ sudo rtl_test -d 1 Found 2 device(s): 0: Stratux, LowPowerV2, SN: stratux:1090 1: Stratux, LowPowerV2, SN: stratux:978 Using device 1: 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. Info: This tool will continuously read from the device, and report if samples get lost. If you observe no further output, everything is fine. Reading samples in async mode... Now onward to making the 978 MHz receiver feed UAT aircraft . . . Thanks for helping, Marcin.
Since the forum wont let new members post...and a similar issue. Setup a new 978 feed. Its registering, but is not picking up any peers, and therefore I assume not feeding data.