Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4861

Troubleshooting • tvheadend starting before tv hat driver loaded?

$
0
0
I am running tvheadend on a Raspberry Pi Zero with RPi OS Bookworm Lite 32-bit.

On boot tvheadend randomly sometimes fails to detect the attached TV Hat.

If I subsequently log on, and run the command

Code:

sudo systemctl restart tvheadend
Then (so far) the TV Hat is reliably detected.

My conclusion from that is that on boot there is a race between the TV Hat driver loading and being initialised, and tvheadend starting and looking for installed devices.

Does that seem reasonable? With systemd I am not sure of the relative timing of loading drivers and starting services.

Is there any way of modifying the systemd service to ensure that tvheadend does not start until after the TV Hat driver is loaded?

Statistics: Posted by Memotech Bill — Wed May 22, 2024 7:51 pm



Viewing all articles
Browse latest Browse all 4861

Trending Articles