Skip to content

Prevent automatic rebooting when no A/Cs are detected or increase check interval #80

@guidocioni

Description

@guidocioni

On my Raspberry Pi 4 running Ubuntu I'm having trouble with my RTL-SDR driver: every time the device is opened it cannot be closed otherwise at the next attempt of opening the connection will report a -7 error and the only way to fix this is to unplug and plug the device again.

I know this is an issue with this system as I tried on another Raspberry running Debian and had no issues. Also the same device with an older version of Ubuntu was running fine. I tried everything, don't know how to fix it. I'm getting over it :)

Now to the piaware issue.

In case no A/Cs are detected in about an hour the system tries to restart everything

Dec 16 01:15:11 ubuntu piaware[696232]: no new messages received in 3712 seconds, it might just be that there haven't been any aircraft nearby but I'm going to try to restart everything, just in case...

This usually is not an issue on a "normal" setup but in my case, as the device is closed an re-opened, causes a failure which I can only fix by physically plugging and unplugging the dongle again...which is a pain in the ____ if I'm not on site.

I read the documentation but I haven't found any way to disable this automatic restart or at least to increase the interval to few hours instead than just one.
Is this something that can be changed in the configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions