Skip to content

rtl_tcp exit on usb hotplug #7

Description

@porkiedev

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 :)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions