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
Comments
See my comment on issue #6 for a possible workaround.
-------- Original message --------From: Nokoa <notifications@github.com> Date: 7/20/19 19:33 (GMT-09:00) To: boatbod/op25 <op25@noreply.github.com> Cc: Subscribed <subscribed@noreply.github.com> Subject: [boatbod/op25] Dongle USB minor movement/ interruption suspends program and requires restart (#24) 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 :)
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#24?email_source=notifications\u0026email_token=AEKXHU6474T6WSG26WKWKRLQAPKJVA5CNFSM4IFQMMXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAO4M6Q",
"url": "#24?email_source=notifications\u0026email_token=AEKXHU6474T6WSG26WKWKRLQAPKJVA5CNFSM4IFQMMXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAO4M6Q",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
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. |
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 :)
The text was updated successfully, but these errors were encountered: