[mythtv-users] Card not ready

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Nov 5 08:04:57 UTC 2022


On Sat, 5 Nov 2022 14:55:01 +0800, you wrote:

>Thanks that saved me a heap of reading, and of course it works.
>I don't grok where the lines like
>
>dev-dvb-adapter0-frontend0.device
>
>come from ?

They are the systemd translated versions of what the udev rules
create.  Effectively, dev-dvb-adapter0-frontend0.device is just a
translation of /dev/dvb/adapter0/frontend0.  The udev rules expose
that information to systemd somehow - I have never delved into how it
works.  But systemd now has that .device unit which it can query:

root at mypvr:/etc/udev/rules.d# systemctl status
dev-dvb-adapter0-frontend0.device
? dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0
   Follow: unit currently follows state of
sys-devices-pci0000:00-0000:00:0a.0-0000:07:00.0-dvb-dvb0.frontend0.device
     Loaded: loaded
     Active: active (plugged) since Sat 2022-11-05 00:11:45 NZDT; 20h
ago
     Device:
/sys/devices/pci0000:00/0000:00:0a.0/0000:07:00.0/dvb/dvb0.frontend0

Nov 05 00:11:45 mypvr systemd[1]: Found device
/dev/dvb/adapter0/frontend0.


More information about the mythtv-users mailing list