All generic DVB-T have serial # 00000001, and all Pro Stick and Pro Stick Plus have serial # 00001000.
The two dongles on same Pi require different serial numbers to be selectively picked by dump1090 and dump978. For example, if the dump1090 config is set to device=0 and dump978 is set to device=1, and dongles serial numbers are also changed to 00000000 and 00000001, the two dumps will connect to respective dongles. If 1090 mhz antenna is connected to dongle with serial # 00000000, and 978 mhz antenna is connected to dongle with serial # 00000001, the system will work ok.
How to Change Serial Number of A Dongle
In tutorial below it will be changed from default 00000001 to 00000000.
(A) Dongle Plugged into Raspberry Pi
First stop the dump1090 to make Dongle free for use by rtl tools.
#Give one of the command according to version of dump1090 you have installed #If you are not sure of version, give all three commands one by one sudo systemctl stop dump1090 sudo systemctl stop dump1090-mutability sudo systemctl stop dump1090-fa
Install package rtl-sdr, if not yet done.
The tool rtl_eeprom is part of package rtl-sdr
sudo apt-get update sudo apt-get install rtl-sdr
Now give the command rtl_eeprom -s 00000000 to reset the serial number
The last line of output will ask confirmation to go ahead with change.
Type y and press Enter key
rtl_eeprom -s 00000000 Found 1 device(s): 0: Generic RTL2832U OEM Using device 0: Generic RTL2832U OEM Found Rafael Micro R820T tuner Current configuration: __________________________________________ Vendor ID: 0x0bda Product ID: 0x2838 Manufacturer: Realtek Product: RTL2838UHIDIR Serial number: 00000001 Serial number enabled: yes IR endpoint enabled: yes Remote wakeup enabled: no __________________________________________ New configuration: __________________________________________ Vendor ID: 0x0bda Product ID: 0x2838 Manufacturer: Realtek Product: RTL2838UHIDIR Serial number: 00000000 Serial number enabled: yes IR endpoint enabled: yes Remote wakeup enabled: no __________________________________________ Write new configuration to device [y/n]? y #After typing y and pressing Enter key, you will get this confirmation message Configuration successfully written. Please replug the device for changes to take effect.
(B) Dongle Plugged into Windows Computer
Install dvb-t rtl driver zadig if not yet done so, as detailed below.
(1) Download Zadig 2.3.exe from http://zadig.akeo.ie/
(2) Plug the DVB-T or ProStick in your Windows Computer.
(3) Follow the steps below:
- Double click Zadig 2.3.exe to run it.
The window below will open.
- On main menu, click “Options”.
On the drop-down, place a check mark beside “List All Devices”.
- From list of devices, select “RTL2838” which is actually DVB-T/ProStick.
Now click button which will either say “Install Driver” or “Reinstall Driver”
Download RelWithDebInfo.zip from here:
Download Link: http://osmocom.org/attachments/download/2242/RelWithDebInfo.zip
Web Page: https://osmocom.org/projects/sdr/wiki/rtl-sdr
(scroll down to bottom of page to find download link)
(a) First EXIT your dump1090 for windows, or RTL1090 or ModeSdeco2 or any other software which is using DVB-T to make the Dongle free for test.
(b) Un-zip RelWithDebInfo.zip. It will create a folder RelWithDebInfo.
Inside this folder there is another folder rtl-sdr-release which contains several files and 2 folders named x32 and x64.
© Go to folder x32. You will find many rtl tools in it as shown in the screenshot below.
In folder x32, right-click and create New Text Document
Open the New Text Document and type
rtl_eeprom -s 00000000
Save the file as change-serial.bat
While saving, make sure that
- File name contains .bat at the end
- “Save as type” is selected "All Files"
Please see screenshot below.
Double click the file change-serial.bat to run it
Upon double clicking the file change-serial.bat, command console will open, with last line asking confirmation to change serial number.
Type y and press Enter key. The serial number will change and command console will close immediately.
To check if the number has actually changed, again double click the file change-serial.bat, and it will show changed serial number.
Type n and press Enter key to close console