1 Raspberry pi 2 dongles ========================== To use 2 dongles on 1 raspberry pi its necessary to change the seriel numbers rtl_eeprom -s 00000000 to reset the serial number < for ist dongle > rtl_eeprom -s 00000001 to reset the serial number < for 2nd dongle > ------------------------------------------------------------------------------------ Example of running dump1090 and acarsdeco2 ./dump1090 --device-index 1 --interactive --net --gain -10 --mlat --modeac --aggressive --no-fix --metric ---------------------------------------------------------------------------------------------------------- ./acarsdeco2 --gain 49 --freq-correction 77 --freq 131550000 --freq 131725000 --freq 131825000 --freq 131525000 --freq 131850000 --freq 131475000 --http-port 8888 --vrs-url http://192.168.1.200:8686 --db /home/pi/data/basestation.sqb --frdb /home/pi/data/flightroute.sqb --pictures http://192.168.1.200 --banners /home/pi/data/logos --silhouettes /home/pi/data/silhouettes --outconnectudp pp:192.168.1.14:9742 ---------------------------------------------------------------------------------------------------------------------------- The dongle to be used is not specified here as it should connect to dongle 0 by default - to be sure it does add the dongle number as below -------------------------------------------------------------------------------------------------------------------------- ./acarsdeco2 --device-index 0 --gain 49 --freq-correction 77 --freq 131550000 --freq 131725000 --freq 131825000 --freq 131525000 --freq 131850000 --freq 131475000 --http-port 8888 --vrs-url http://192.168.1.200:8686 --db /home/pi/data/basestation.sqb --frdb /home/pi/data/flightroute.sqb --pictures http://192.168.1.200 --banners /home/pi/data/logos --silhouettes /home/pi/data/silhouettes --outconnectudp pp:192.168.1.14:9742 -------------------------------------------------------------------------------------------------------------------------- One thing to take into consideration is the extra power drawn from the power supply when using 2 dongles which may make the 'yellow flash' icon appear in the top rhs of the screen or you may see something like ' cb transfer status:1,cancelling' which basically means theere is not enough power to supply the dongle (s) - the answer in this case is to use a hub and/or improve the power supply (maybe try a new cable first ---------------------------------------------------------------------------------------------------------------------------------- Regarding the vdlm2dec and the vdl2 programs as far as i can see there is no facility to log to a file and display messages to screen simultaneously One simple way to overcome this ' problem ' is to run two instances of the program < using 2 dongles > ./vdlm2dec -g 490 -p 77 -e -u -g -i stid -r 1 136.725 136.775 136.875 136.975 ./vdlm2dec -l logmessage -g 490 -p 77 -e -u -g -i stid -r 0 136.725 136.775 136.875 136.975 -r 1 < dongle 1 > -r 0 < dongle 2 > 1st instance displays to screen 2nd instance logs to a file, in this case called ' logmessage ' ------------------------------------------------------------------------------------------------------------------------------------ Same procedure to run vdl2 ./dumpvdl2 --rtlsdr 0 --gain 49 --correction 70 --dump-asn1 136725000 136975000 136875000 136775000 136825000 --output-file vdl2.log --daily --extended-header --output-acars-pp 192.168.1.16:9742 ./dumpvdl2 --rtlsdr 1 --gain 48 --correction 70--dump-asn1 136725000 136975000 136875000 136775000 136825000 --extended-header --output-acars-pp 192.168.1.14:9742