Welcome to Radarspotting. Please login or sign up.

April 18, 2026, 02:33:44 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Questions for Sergsero re: ModeSMixer2 with configuration file

Started by Andos, January 09, 2018, 09:38:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andos

Quote from: Andos on January 15, 2018, 06:35:12 PM
Quote from: Triple7 on January 15, 2018, 01:34:51 PM
Looks to me like the device is already in operation. Maybe Windows has installed its own drivers for the dongle - maybe try the Zadig drivers instead. Are you running another program to decode the incoming data from the dongle?

http://zadig.akeo.ie/

Tim
Hi Tim/Ian/Anmer,   
                                  I'm not sure but the program I use to populate my missing fields  into BaseStation is ADUSBS Utility.  It takes the  populating data from my ADU Software database including my Seen/Required details. 

             Could this be it ?

                           Andos.

Sent from my STF-L09 using Tapatalk
Hi Guys,
                If this running,  what do I do next?



                         Andy H.

Sent from my STF-L09 using Tapatalk

Andos.

IanH

I've just tried running modesdeco2 and RTL1090 on my PC and get similar errors. Tried runnign Sading with no difference.

Looking back on this forum, I see that others and myself mentioned similar problems back in 2015. I have never got any of the dongle receiving software working on this PC. Works fine on other PCs/tablets but not this one and never found out why. If it works, great. If it doesn't no one knows why.

So I'm out of ideas. The software is working but something is stopping it connecting to the dongle.

Andos

My USB Setting in BaseStation is set to 10001.

Although I normally use my SBS-1er on here,  I actually tried using the digital radio on BaseStation once a long time  ago too see what it was like (-at least a couple of years ago).   But I don't use it at all anymore.   Could this be of any relevance to the SDR bit?

                               Andos.

Sent from my STF-L09 using Tapatalk

Andos.

Anmer

Quote from: IanH on January 15, 2018, 11:44:48 PM
Looking back on this forum, I see that others and myself mentioned similar problems back in 2015. I have never got any of the dongle receiving software working on this PC. Works fine on other PCs/tablets but not this one and never found out why. If it works, great. If it doesn't no one knows why.

A few years ago I did quite a bit of "testing" of the early DVB-T SDRs using RTL1090 on numerous Windows PCs.  The early DVB-Ts came with driver software and, if installed, could not be removed to be replaced with the Zadig.  I never found a way around this.

But can I check your setup?

Are you using RTL1090.exe on a PC?  If so, is it not possible to run PiAware on the RPi and configure ModeSMixer2 to use data from PiAware on the available ports:

https://flightaware.com/adsb/piaware/about

This isn't something I've tried but it may be possible.  Perhaps others have achieved this?
Here to Help.

Triple7

Quote from: Anmer on January 16, 2018, 07:53:11 AM
This isn't something I've tried but it may be possible.  Perhaps others have achieved this?

I run Piaware on my RPi2 and also run MM2 on the Pi. I take the returned Mlats from FA and display just those on a MM2 screen (web page). It should therefore be possible to also output the FA data both positional and Mlats and transcode them onto BS format (using MM2) and use BS as the display to show the results.

Here's what I think you might need in MM2 on the Pi (thanks to Ian H for his words here: https://radarspotting.com/forum/index.php/topic,5175.msg26492.html#msg26492:

./modesmixer2 --inConnect <Pi IP>:30105 --inConnect <Pi IP>:30005 --outServer sbs10001:10001 --outServer sbs30006:30006 --filter-nocountry --web 8088 --db basestation.sqb --silhouettes ./silos --frdb flightroute.sqb --location xx.xx:-yy.yy

Typing the Pi's IP address <Pi IP>:8088 into a web browser should give you the MM2 display - you can choose any port No's you like as long as the code above contains the same port No.

The above code also allows for a basestation.sqb, flightroute.sqb and silhouettes to be displayed in the web browser window but if you are using BS on your PC you won't need those, so just remove them from the MM2 code.

I have cobbled this together from my own set up and other comments. I recall there was some discussion about the port for returned Mlats, mine is set as 30105 but I think it used to be 31003, you may need to experiment a bit.

Don't forget my notes from the above link: https://radarspotting.com/forum/index.php/topic,2978.msg24197.html#msg24197

"The only other things I needed to do was change the input setting in BaseStation from USB to Network and in Hardware Settings make sure the address is 127.0.0.1 and it's plotting perfectly." The address will need to be that of the Pi so BS can pick up the feed from MM2.

Finally, you can make the above command run automatically when your Pi boots. If you get to a working system using the above, I can post some more info about that.

Good luck  ;D

Tim
SBS-1eR, FA ProStick + 1090 filter

IanH

Tim's is correct about Piaware to Basestation.

Just checked my command line:
./modesmixer2 --web 8086 --location 5x.xx:-0.xx --inConnect 192.168.0.177:30105 --inConnect 192.168.0.177:30005 --outServer sbs10001:10001

192.168.0.177 is the IP address of my Pi. The above command is showing combined ADSB plots from port 30005 and MLAT plots from port 30105 on Basestation. (Previously the port for MLAT had to be set by the user in Piaware so ignore any previous values eg 31003!)

You don't need the --location or --web option if you son't want to see modesmixer2's map.


Andos

Quote from: IanH on January 16, 2018, 08:18:51 PM
Tim's is correct about Piaware to Basestation.

Just checked my command line:
./modesmixer2 --web 8086 --location 5x.xx:-0.xx --inConnect 192.168.0.177:30105 --inConnect 192.168.0.177:30005 --outServer sbs10001:10001

192.168.0.177 is the IP address of my Pi. The above command is showing combined ADSB plots from port 30005 and MLAT plots from port 30105 on Basestation. (Previously the port for MLAT had to be set by the user in Piaware so ignore any previous values eg 31003!)

You don't need the --location or --web option if you son't want to see modesmixer2's map.
Hi Guys,
                I am again very confused.  I got my  Pi to use for  feeding sites like FA & ADSB Ex.

               I am trying to simply use my dongle plugged directly into my laptop's USB port with internal aerial.  So that I may use it out and  about.

               To use my  Pi away from home also,  I would no longer be able feed  to FA etc.. 

               In your suggestions,  I think I am right in thinking  that you wish for  me to use my with dongle connected to my laptop using ModeSMixer2.  Is this correct? 


                If I do need ModeSMixer2, from where could I download it please?


                                 Andos.


              

Sent from my STF-L09 using Tapatalk

Andos.

Anmer

If you want to use your DVB-T receiver with your laptop "on the road" you need to resolve what appears to be a driver issue affecting RTL1090.

The challenge is getting RTL1090 to run on your laptop with the required Zadig driver.

If you can resolve that issue, you have to decide what GUI to use to view the received aircraft on a local map.

If I refer back to your original post, you were looking for a routes database and to run BaseStation from your DVB-T.  I didn't see mention that you wanted to achieve this "on the road".

The possible RTL1090 driver issue has emerged in later posts.

Maybe the easiest option is to use a tracking app on a smart phone?

Or focus on getting RTL1090 to work, initially with something like Virtual Radar Server.  Then progress from there.
Here to Help.

Andos

Quote from: Anmer on January 17, 2018, 06:19:50 PM
If you want to use your DVB-T receiver with your laptop "on the road" you need to resolve what appears to be a driver issue affecting RTL1090.

The challenge is getting RTL1090 to run on your laptop with the required Zadig driver.

If you can resolve that issue, you have to decide what GUI to use to view the received aircraft on a local map.

If I refer back to your original post, you were looking for a routes database and to run BaseStation from your DVB-T.  I didn't see mention that you wanted to achieve this "on the road".

The possible RTL1090 driver issue has emerged in later posts.

Maybe the easiest option is to use a tracking app on a smart phone?

Or focus on getting RTL1090 to work, initially with something like Virtual Radar Server.  Then progress from there.
Hi Anmer,
                  for some reason,  I thought had.  Once again,  my apologies for the confusion.  Do you think that if I install the Zadig drivers this would resolve problem or create new ones?   Following threads yours,  Tim's and Ian's discussions and trying to make sense of everything,  I keep myself the above question re: creating/fixing problems.

                             Andos.

Sent from my STF-L09 using Tapatalk

Andos.

Anmer

I'd install Virtual Radar Server on the laptop.  And the Zadig driver.  Connect your DVB-T (with antenna) and see if you can get VRS to detect decoded data from RTL1090.

If you can get the laptop to handle data from the DVB_T and decoded by RTL1090, that would be a good first step.  But I don't want you to venture outside of your comfort zone.
Here to Help.

Andos

Quote from: Anmer on January 17, 2018, 06:42:01 PM
I'd install Virtual Radar Server on the laptop.  And the Zadig driver.  Connect your DVB-T (with antenna) and see if you can get VRS to detect decoded data from RTL1090.

If you can get the laptop to handle data from the DVB_T and decoded by RTL1090, that would be a good first step.  But I don't want you to venture outside of your comfort zone.
Thanks I shall try this.  Could you please send me the links for these downloads please?

Sent from my STF-L09 using Tapatalk

Andos.

Triple7

Quote from: Andos on January 17, 2018, 05:48:43 PMIf I do need ModeSMixer2, from where could I download it please?

OK, just answering your query about MM2. You can find a link to the latest versions for Windows, RPi, Ubuntu and OSX in this thread:

https://radarspotting.com/forum/index.php/topic,2978.msg15240.html#msg15240

As Anmer states you need to resolve the driver issue first as your PC or Laptop thinks the dongle is already in use, so until you fix that you can't progress to the next stage.

Tim

SBS-1eR, FA ProStick + 1090 filter

Andos

Andos.

sergsero

Hello,

I think above everything was well explained and for that I am very grateful.
For clarity, I would once again clarify that there are two tasks.

The first - to force a RTL-dongle, which originally was a DVB-T tuner, to receive Mode S messages on frequency 1.09GHz, decode them by SDR method and output to network in a specific format known as BEAST.

The second task is to visualize the obtained data in tables and aircraft labels on a map. As well as convert the source data into various formats and output them to network for use by other programs and processes.

If talking about modesdeco2, it performs the first task and there is not require presence of libusb.dll or rtlsdr.dll libraries for this application.
But your target device RTL2832U dongle is not HID, so you must install a driver before you can communicate with it using modesdeco2 or other applications.
Being a 'libusb-based' application, it needs the WinUSB driver, which in your case is better to install using the program zadig.

If you got this error, it is likely that Windows has already installed the DVB-T TV tuner driver for the RTL dongle. And you'll need to replace it using zadig to the WinUSB.

After that run modesdeco2 in console with one option --device-list, and you'll to see the message that informs that the dongle is available and can be used:
C:\FAD>modesdeco2.exe --device-list

2018-01-18 21:36:09.262  INFO     ModeSDeco2 v.20170127

Available RTL Devices:
0 mnf: Realtek prod: RTL2838UHIDIR serial: 00000001

No Available AirSpy devices.


Best regards,
sergsero


Andos

Hi Sergsero,
                      The  dongle I am using is FlightAware Pro Plus dongle.   You have referred to DVB-T dongle;  an RTL dongle;  and an RTL-2832U dongle.   Could you tell me which one is actually mine,  or are all of these the same?


                           Andos.

Sent from my STF-L09 using Tapatalk

Andos.