Comments (12)
Supported in f887711
from radiosonde_auto_rx.
This might be a bit harder actually... how do we find the right dongle to reset when we run reset_usb? At the moment we just reset all of them...
from radiosonde_auto_rx.
lsusb will tell you which usb is connected and what actually running.
from radiosonde_auto_rx.
https://github.com/soldair/reset-usb/blob/master/README.md
You can use this tool to restart a particular one
from radiosonde_auto_rx.
Understood - already do this with a single dongle.
The issue is tying the RTLSDR 'device index' to the USB bus and device index.
It's possible that the more detailed output that can be provided by lsusb will tell us this information.
from radiosonde_auto_rx.
Is your question running this softwate in multiple dongles?
from radiosonde_auto_rx.
The eventual aim (and one of the reasons this issue was created) was to eventually allow use of multiple SDR dongles, which which would allow for a few different use-cases. For example, with two dongles, one could be continually scanning, and the other tasked onto a detected radiosonde.
Part of the move toward this kind of functionality is to enable the user to define which SDR dongle to use, hence this issue.
As we know there are common issues with RTLSDR devices glitching and requiring a reset, we need to make sure we can determine the usb bus/device number of the RTLSDR currently in use, and only reset that single device - not another RTLSDR which may be in use tracking another radiosonde.
from radiosonde_auto_rx.
You can run lsusb -v or lsusb -D and will give you more info about the device.
usb-devices is also another option. You can always do : cat /sys/bus/usb/devices/*/product
Or go directly to usb directory.
from radiosonde_auto_rx.
https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line
This is also really good.
from radiosonde_auto_rx.
@darksidelamm (sudo) ./reset_usb /dev/bus/usb/001/006
*/
This is found at the scan file. It tells you to execute lsusb and than the command to reset a particular dongle depending what you using you need to change the info.
from radiosonde_auto_rx.
It's possible that the more detailed output that can be provided by lsusb will tell us this information.
lsusb can read the serial number on a dongle, which can be matched to the output of rtl_power, or used as an input to rtl_power.
pi@localhost:~$ lsusb -d 0bda:2838 -v |grep Serial -B2
iManufacturer 1 Realtek
iProduct 2 RTL2838UHIDIR
iSerial 3 2
pi@localhost:~$ rtl_test -p -d 2
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 2
Using device 0: Generic RTL2832U OEM
Some people might want to have multiple dongles on different antenna running adsb, aprs etc, so being able to choose a device by serial number would be an advantage.
from radiosonde_auto_rx.
As an update, use of multiple RTLSDR dongles will be supported in a major update to the auto_rx codebase which should be ready in a few week.
The update is essentially a re-write, and makes handling multiple sdrs much much easier. You will be able to specify a list of RTLSDR device IDs to use (each with individual gain/ppm/bias settings), and they will be tasked either either scanning, or decoding a sonde signal.
I'm working on this update here: https://github.com/darksidelemm/radiosonde_auto_rx/blob/restructure/auto_rx/
from radiosonde_auto_rx.
Related Issues (20)
- Radisonde Auto_RX sdrs disappear on the web interface HOT 6
- Autorx can't find spyserver HOT 2
- USA Radiosonde in use: DFM-17 HOT 1
- updating to 1.6.2 HOT 1
- Flask/werkzeug Related Error When Upgrading to 1.6.2 HOT 8
- Save debugging recordings to /log HOT 2
- Add in time-offset check, like is used in horusdemodlib
- Check rotator movement calculations when close to 0 degrees azimuth.
- update error 1.6.1 to 1.6.2 webserver issue HOT 2
- Sdr-rtl v4 HOT 4
- missing rtl-sdr binary makes auto_rx not start, but without error message HOT 1
- spyserver multi tracking does not work with 1.6.2 HOT 2
- Feature request: MQTT upload HOT 3
- Email Test for Landing Alert Fails Silently HOT 4
- Consider using fsk_demod mask estimator for more radiosonde types. HOT 1
- ERROR:Exception index 926 is out of bounds for axis 0 with size 920 HOT 3
- sonde minimum height display on historical HOT 1
- Older (weideband) iMet decoder (Nice to have) HOT 2
- msi2500, BG7YZF,... how to use as second SDR?? HOT 1
- Spectrum plot when using airspy/spyserver HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiosonde_auto_rx.