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

rtl_tcp exit on usb hotplug #7

Open
porkiedev opened this issue Feb 24, 2022 · 0 comments
Open

rtl_tcp exit on usb hotplug #7

porkiedev opened this issue Feb 24, 2022 · 0 comments

Comments

@porkiedev
Copy link

Hello :)
This repo has by far the absolute best when it comes to rtl_tcp. So much so that I working on building a rtl_tcp server in my backyard off of a discone antenna for remote listening in the house.
However, My personal experience with USB is that the connector is loose and causes communication losses sometimes.
I setup a systemctl service on my Raspberry Pi 2B to run rtl_tcp on boot and auto-restart, with the intention being that if I want to hotswap SDRs or a dongle is bumped, I wouldn't have to SSH into the pi to restart the service. However, during a hotplug event it appears that rtl_tcp just throws a bunch of angry words at me and then sits there repeating the same set of buffers over and over.

So, for the feature request;
The option to have rtl_tcp exit when a hotplug event occurs would be awesome, that way systemctl could catch the exit code auto-restart the service. If this can't be implemented here, a direction to go for implementing it myself would be great (I'm not good at C).

Thanks again for this awesome fork of librtlsdr :)

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