All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Specifically assigning SDR (not just by device #)
PostPosted: Sun Jul 16, 2017 2:50 pm 
Offline
FlightAware Member
usafpride - FlightAware user avatar

Joined: Thu May 11, 2006 6:00 pm
Posts: 110
I have reason to put 2 SDR dongles on the same rPi, but I need to absolutely guarantee which dongle is which (2 different antennas, 2 different uses). I've read that you can write to the NVRAM of the dongles, but haven't been able to figure it out.

Does anyone have any experience with this?


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Sun Jul 16, 2017 2:59 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
You can use rtl_eeprom to write a serial number. see "man rtl_eeprom" or e.g. http://manpages.ubuntu.com/manpages/tru ... rom.1.html
dump1090 will accept a serial number as the device index


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Sun Jul 16, 2017 4:41 pm 
Offline
FlightAware Member
usafpride - FlightAware user avatar

Joined: Thu May 11, 2006 6:00 pm
Posts: 110
Have you done this? and will it work on the Orange FA dongle?


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Sun Jul 16, 2017 8:34 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
Sure, I've used rtl_eeprom in the past. Not recently. Should work on a prostick, it's the same chipset.


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Sun Jul 16, 2017 9:48 pm 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 2140
Location: Toronto CYYZ
"Use at your own risk, especially -w!"


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Mon Jul 17, 2017 3:05 am 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 2140
Location: Toronto CYYZ
PRO STICK (Orange)

pi@raspberrypi:~ $ sudo systemctl stop dump1090-mutability

pi@raspberrypi:~ $ rtl_eeprom -s 00001001

Found 1 device(s):
0: Generic RTL2832U

Using device 0: Generic RTL2832U
Found Rafael Micro R820T tuner

Current configuration:
__________________________________________
Vendor ID: 0x0bda
Product ID: 0x2832
Manufacturer: Realtek
Product: RTL2832UFA
Serial number: 00001000
Serial number enabled: yes
IR endpoint enabled: no
Remote wakeup enabled: no
__________________________________________

New configuration:
__________________________________________
Vendor ID: 0x0bda
Product ID: 0x2832
Manufacturer: Realtek
Product: RTL2832UFA
Serial number: 00001001
Serial number enabled: yes
IR endpoint enabled: no
Remote wakeup enabled: no
__________________________________________
Write new configuration to device [y/n]? y

Configuration successfully written.
Please replug the device for changes to take effect.


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Mon Jul 17, 2017 6:48 am 
Offline
FlightAware Member
usafpride - FlightAware user avatar

Joined: Thu May 11, 2006 6:00 pm
Posts: 110
Got it. Where in dump1090-fa do you set the ID up (I see nothing in the help file other than device #)? Or is there a way to tell the Pi that x serial number is always device 0/1/2/x?


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Mon Jul 17, 2017 8:38 am 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3672
The dump1090 "device index" will try to match on serial numbers too so you can just configure it there.
("piaware-config rtlsdr-device-index" if you're using a piaware sdcard image)


Top
 Profile  
 
 Post subject: Re: Specifically assigning SDR (not just by device #)
PostPosted: Tue Jul 18, 2017 5:15 am 
Offline
FlightAware Member
usafpride - FlightAware user avatar

Joined: Thu May 11, 2006 6:00 pm
Posts: 110
obj wrote:
The dump1090 "device index" will try to match on serial numbers too so you can just configure it there.
("piaware-config rtlsdr-device-index" if you're using a piaware sdcard image)


Thanks. Last question, is there a log/debug that shows the actual negotiation using the serial number? I know Murphy (from the famous Murphy's Law) and his cousins will show up when I am out of town and mess things up if I don't confirm this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: 41south, matth20man, RenatoRibeiro, turracaine and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: