Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run two SDRs, multiple SDRs with same serial number error #169

Open
ramphex opened this issue Apr 24, 2024 · 4 comments
Open

Unable to run two SDRs, multiple SDRs with same serial number error #169

ramphex opened this issue Apr 24, 2024 · 4 comments

Comments

@ramphex
Copy link

ramphex commented Apr 24, 2024

On 2.0.0 stable, I plugged in a second SDR to run it for 978 but it will not let me save the settings in the SDR section. It just unchecks the second SDR every time (after refreshing the page) after I check it to be 978 and press "I'm done here - take me to the feeder homepage".

There's also the following message

There are multiple SDRs with serial number 1090. This will not work correctly. Please ensure that all SDRs have distinct serial numbers.

I tried to change the serial of the second SDR to 978 with rtl_eeprom but it comes back with the following

usb_claim_interface error -6
Failed to open rtlsdr device #0.

lsusb output:

Bus 001 Device 022: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 021: ID 0bda:2832 Realtek Semiconductor Corp. RTL2832U DVB-T

rtl_test output:

Found 2 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1090
1: Realtek, RTL2832U, SN: 1090
Using device 0: Generic RTL2832U OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.

I want to use 2838 as 978 and 2832 as 1090.

@ramphex
Copy link
Author

ramphex commented Apr 24, 2024

Alright, I was able to change its serial utilizing another machine, then plugged it back into the Pi, and now no more serial number conflicts. I'm not sure if some container was trying to use it or what the issue was when trying to change the serial number via the Pi. I can't imagine many people running two dongles, but maybe have some sort of setting to be able to change serial numbers from the expert page or a link to a guide for more info when there's two with the same serial number (instead of just a warning).

@dirkhh
Copy link
Owner

dirkhh commented Apr 24, 2024

I looked into that (and yes - it is certainly a somewhat rare issue). The problem is that you need to be able to "own" the SDR in order to make that change - and there are a couple of interesting corner cases that make this a bit harder than it should be. Your report reminds me to look into this some more. Thanks.

@Ottergoose
Copy link
Contributor

I was just going to hop on here and add a few feature requests - one of them being a utility for assigning serial numbers to dongles. Bit outside of the scope, but, certainly something that folks run into.

@dirkhh
Copy link
Owner

dirkhh commented Nov 7, 2024

To comment here as well. I looked into how to do that half a year ago when this issue was raised.
And especially since a fair number of people use the feeder image not as an image but as an app on DietPi and other distros, the corner cases are really frustrating and hard to get right.
Yes, in the US the usecase of two SDRs for ADS-B is somewhat common (actually, not very common, but at least reasonable). But any usecase where people have more than that is clearly out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants