Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose USB Device Option #66

Open
jeffh2os opened this issue Dec 3, 2024 · 1 comment
Open

Choose USB Device Option #66

jeffh2os opened this issue Dec 3, 2024 · 1 comment

Comments

@jeffh2os
Copy link

jeffh2os commented Dec 3, 2024

Is there an option or way to choose which USB device is used?
I have two radios (two of the same USB Realtek RTL2838UHIDIR ) one for acurite2mqtt and a new one for sdr2mqtt and both are using the same one.

::::::::Starting RTL_433 with parameters::::::::
[21:09:15] INFO: MQTT Host = xxxx
[21:09:15] INFO: MQTT port = 1883
[21:09:15] INFO: MQTT User = xxxx
[21:09:15] INFO: MQTT Password = xxxx
[21:09:15] INFO: MQTT Topic = RTL915
[21:09:15] INFO: MQTT Retain = true
[21:09:15] INFO: PROTOCOL =
[21:09:15] INFO: FREQUENCY = -f 915M -f 868M
[21:09:15] INFO: Whitelist Enabled = false
[21:09:15] INFO: Whitelist =
[21:09:15] INFO: Expire After = 0
[21:09:15] INFO: UNITS = customary
[21:09:15] INFO: DISCOVERY_PREFIX = homeassistant
[21:09:15] INFO: DISCOVERY_INTERVAL = 60
[21:09:15] INFO: AUTO_DISCOVERY = true
[21:09:15] INFO: DEBUG = false
::::::::rtl_433 running output::::::::
rtl_433 version v20240329-3246-gd74490c5667 branch master at 202405050627 inputs file rtl_tcp RTL-SDR with TLS
New defaults active, use "-Y classic -s 250k" if you need the old defaults
MQTT: Publishing MQTT data to xxxx port 1883
MQTT: Publishing device info to MQTT topic "RTL915[/model][/id][/channel:A]".
MQTT: Publishing events info to MQTT topic "RTL915/events".
MQTT: Publishing states info to MQTT topic "RTL915/states".
Use "-F log" if you want any messages, warnings, and errors in the console.
usb_claim_interface error -6
INFO:Started
Found Rafael Micro R820T tuner
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!

I assumed it would grab the one not in use but it just grabs the first one which is already in use.

Thank you

@jeffh2os
Copy link
Author

jeffh2os commented Dec 6, 2024

Found it and verified, can you add the -d {0-9} device option I have been testing it with RTL_433 from git on another machine.
$ sudo rtl_433 -d 1

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant