shajen / rtl-sdr-scanner-cpp

GNU General Public License v3.0
614 stars 62 forks source link

Multiple dongles #7

Closed nfacha closed 1 year ago

nfacha commented 1 year ago

Hi :) Assuming I have multiple SDR dongles attached, how do I select which one this will run on?

Nuno

@shajen

shajen commented 1 year ago

I have merged already raw to master. It's ready to work. There is many many new feature. Please check master branch.

New config support multiple dongles based on device serial.

dubrsl commented 1 year ago

Some devices have the same serial and stop working if change it.

shajen commented 1 year ago

Yeah I know that all rtl-sdr dongles from China have the same serial but you can change it.

Attach just one dongle and type:

rtl_eeprom -s 11111111

Then attach next one and type:

rtl_eeprom -s 22222222

Then you are able to configure each one separately in sdr-scanner config. Do not forget to replug dongle after change serial.

dubrsl commented 1 year ago

Thank you! I know about rtl_eeprom -s But other software require specific serial and stop working after changes. So I can't set other serial. :( It seems to me that it makes sense to add hostname, Bus, Port and Dev to the serial number for unique identification. Look in /sys/bus/usb/devices/

BTW, @shajen , do you have other channel for communication? forum, slack, telegram anything else? Not convenient to communicate in issues. I have some ideas and FR for discuss.

shajen commented 1 year ago

Adding support for finding devices via /sys/bus should be easy because both libraries support listing devices via /sys/bus.

Try to find me on discord @shajen.