Mailing List Archive

systemd device
I’m moving my backend to arm.
This works on x86_64 but …

[sandypit] /home/jam [451]% systemctl status dev-dvb-adapter0-frontend0.device
? dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0
Loaded: loaded
Active: inactive (dead)

Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
Mar 04 21:40:22 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result 'timeo>
Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
Mar 04 21:50:43 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result ‘timeo>

[sandypit] /home/jam [452]% ls /dev/dvb/adapter0/frontend0
/dev/dvb/adapter0/frontend0

Am I being silly, or is this a bug in systemd

[sandypit] /home/jam [455]% cat /etc/os-release
PRETTY_NAME="Armbian 23.8.3 jammy"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
PRIVACY_POLICY_URL="https://www.armbian.com"
UBUNTU_CODENAME=jammy
ARMBIAN_PRETTY_NAME="Armbian 23.8.3 jammy”

James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: systemd device [ In reply to ]
On Tue, 5 Mar 2024 03:56:39 +0800, you wrote:

>I?m moving my backend to arm.
>This works on x86_64 but ?
>
>[sandypit] /home/jam [451]% systemctl status dev-dvb-adapter0-frontend0.device
>? dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0
> Loaded: loaded
> Active: inactive (dead)
>
>Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
>Mar 04 21:40:22 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
>Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result 'timeo>
>Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
>Mar 04 21:50:43 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
>Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result ?timeo>
>
>[sandypit] /home/jam [452]% ls /dev/dvb/adapter0/frontend0
>/dev/dvb/adapter0/frontend0
>
>Am I being silly, or is this a bug in systemd
>
>[sandypit] /home/jam [455]% cat /etc/os-release
>PRETTY_NAME="Armbian 23.8.3 jammy"
>NAME="Ubuntu"
>VERSION_ID="22.04"
>VERSION="22.04.3 LTS (Jammy Jellyfish)"
>VERSION_CODENAME=jammy
>ID=ubuntu
>ID_LIKE=debian
>HOME_URL="https://www.armbian.com"
>SUPPORT_URL="https://forum.armbian.com"
>BUG_REPORT_URL="https://www.armbian.com/bugs"
>PRIVACY_POLICY_URL="https://www.armbian.com"
>UBUNTU_CODENAME=jammy
>ARMBIAN_PRETTY_NAME="Armbian 23.8.3 jammy?

It only works in systemd when you have added the udev rules that make
the devices visible to systemd. From Ubuntu:

root@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"
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: systemd device [ In reply to ]
Aaaah thankyou, I forgot!
James

> On Mar 5, 2024, at 06:18, Stephen Worthington <stephen_agent@jsw.gen.nz> wrote:
>
> On Tue, 5 Mar 2024 03:56:39 +0800, you wrote:
>
>> I’m moving my backend to arm.
>> This works on x86_64 but
>
>>
>> [sandypit] /home/jam [451]% systemctl status dev-dvb-adapter0-frontend0.device
>> ? dev-dvb-adapter0-frontend0.device - /dev/dvb/adapter0/frontend0
>> Loaded: loaded
>> Active: inactive (dead)
>>
>> Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
>> Mar 04 21:40:22 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
>> Mar 04 21:40:22 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result 'timeo>
>> Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start timed out.
>> Mar 04 21:50:43 sandypit.home systemd[1]: Timed out waiting for device /dev/dvb/adapter0/frontend0.
>> Mar 04 21:50:43 sandypit.home systemd[1]: dev-dvb-adapter0-frontend0.device: Job dev-dvb-adapter0-frontend0.device/start failed with result ‘timeo>
>>
>> [sandypit] /home/jam [452]% ls /dev/dvb/adapter0/frontend0
>> /dev/dvb/adapter0/frontend0
>>
>> Am I being silly, or is this a bug in systemd
>>
>> [sandypit] /home/jam [455]% cat /etc/os-release
>> PRETTY_NAME="Armbian 23.8.3 jammy"
>> NAME="Ubuntu"
>> VERSION_ID="22.04"
>> VERSION="22.04.3 LTS (Jammy Jellyfish)"
>> VERSION_CODENAME=jammy
>> ID=ubuntu
>> ID_LIKE=debian
>> HOME_URL="https://www.armbian.com"
>> SUPPORT_URL="https://forum.armbian.com"
>> BUG_REPORT_URL="https://www.armbian.com/bugs"
>> PRIVACY_POLICY_URL="https://www.armbian.com"
>> UBUNTU_CODENAME=jammy
>> ARMBIAN_PRETTY_NAME="Armbian 23.8.3 jammy”
>
> It only works in systemd when you have added the udev rules that make
> the devices visible to systemd. From Ubuntu:
>
> root@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"
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org