[mythtvnz] New install - mythbackend password not accepted
Stephen Worthington
stephen_agent at jsw.gen.nz
Sat Jul 3 16:41:40 BST 2021
On Sat, 3 Jul 2021 14:34:57 +1200, you wrote:
>Hi Stephen et al
>
>I'm back setting up the new 20.04 MythTV system.
>
>Can you point me to the best guides to set up systemd to wait for HDHR
>and for Haupauge tuners to load before starting Mythbackend?
>
>There is a lot of information out there (in the list) but I don't know
>which is the most concise.
>
>Thanks
>
>Paul
Presuming that the Hauppauge tuners are normal DVB ones, then to wait
for them you need to install this file:
root at mypvr:/etc/udev/rules.d# cat 99-tuner.rules
#
# Create systemd device units for capture devices
#
SUBSYSTEM=="video4linux", TAG+="systemd"
SUBSYSTEM=="dvb", TAG+="systemd"
SUBSYSTEM=="firewire", TAG+="systemd"
It should be chown root:root and chmod u=rw,og=r.
What that does is get udev to create a systemd unit for each tuner
when the tuner becomes available. Then you do:
sudo systemctl edit mythtv-backend
and add lines like these, one pair for each tuner, in the [Unit]
section:
[Unit]
Wants=dev-dvb-adapter0-frontend0.device
After=dev-dvb-adapter0-frontend0.device
Wants=dev-dvb-adapter1-frontend0.device
After=dev-dvb-adapter1-frontend0.device
Details of my fix to make mythbackend wait for network tuners to be
available are on this thread:
https://lists.archive.carbon60.com/mythtv/users/625992
More information about the mythtvnz
mailing list