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

Dongle USB minor movement/ interruption suspends program and requires restart #24

Closed
Nokoa opened this issue Jul 21, 2019 · 2 comments
Closed

Comments

@Nokoa
Copy link

Nokoa commented Jul 21, 2019

I have used OP25 with many different RTL dongles on many different computers with different versions of Ubuntu Linux and in all of them I had the same issue. Sometimes the USB extension cables move slightly interrupting the connection of the dongle to OP25 essentially stopping OP25 so the numbers no longer increment on the terminal window. Simply restarting OP25 would fix it, no need to touch the dongle at all. I would often not notice this right away because the stream would just be quiet with no indication other than visually looking at the terminal window of OP25.

I would super appreciate it if OP25 can attempt to reestablish connection on its own rather than me having to restart it.

Thank you for all that you do to OP25 I love this very much :)

@thetoivonen
Copy link

thetoivonen commented Jul 21, 2019 via email

@boatbod
Copy link
Owner

boatbod commented Dec 19, 2021

I have a solution for this problem if you are using systemctl to start & run op25. In the latest git commits I have added two files which can be used to set up a custom UDEV rule that will invoke a shell script when the dongle misbehaves and disconnects from the USB bus.

Copy the file 5-sdr_hw.rules into /etc/udev/rules/d , then edit is so the script points to the op25 'apps' directory and the appropriate product number is defined for your SDR hardware. Restart the machine. The example includes an Airspy and an RTL, but your product numbers may be different. Look at "lsusb" to find the product number.

@boatbod boatbod closed this as completed Dec 19, 2021
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

3 participants