[mythtv-users] Udev
Daryl McDonald
darylangela at gmail.com
Wed Nov 28 20:51:06 UTC 2018
On Wed, Nov 28, 2018 at 3:48 PM Bill Meek <keemllib at gmail.com> wrote:
> On 11/28/18 2:16 PM, Daryl McDonald wrote:
> >>
> >> Yes: udevadm info -a -p $(udevadm info -q path -n
> /dev/dvb/adapter0/dvr0)
> >>
> > Further testing, running the above command with only one tuner installed
> at
> > a time shows unique info for the two HP cards and identical info for the
> > two PC800i cards. Would it be functional to have three Udev rules and
> allow
> > the second PC800i card to be labelled what-ever?
>
> I *think* you'd be happy with a single rule. The question mark on the
> KERNEL line
> gets both of my tuners.
>
> Here's my rule for a single HVR-2200 card that has two tuners on it. Both
> record
> ATSC (not on different sources.) There's no unique information about the
> tuners.
>
> SUBSYSTEM=="dvb", \
> KERNEL=="dvb?.frontend0", \
> ATTRS{subsystem_vendor}=="0x0070", \
> ATTRS{subsystem_device}=="0x8851", \
> SYMLINK+="dvb/hvr-2200-$minor", \
> TAG+="systemd"
>
> #Creates:
> # lrwxrwxrwx 1 root root 18 Dec 27 23:27 /dev/dvb/hvr-2200-0 ->
> adapter0/frontend0
> # lrwxrwxrwx 1 root root 18 Dec 27 23:27 /dev/dvb/hvr-2200-4 ->
> adapter1/frontend0
>
> looking at device
> '/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/dvb/dvb0.frontend0':
> KERNEL=="dvb0.frontend0"
> SUBSYSTEM=="dvb"
> DRIVER==""
>
> looking at device
> '/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/dvb/dvb1.frontend0':
> KERNEL=="dvb1.frontend0"
> SUBSYSTEM=="dvb"
> DRIVER==""
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
So what name do your tuners get? Can you tell which one recorded what?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181128/5be6ce2e/attachment.html>
More information about the mythtv-users
mailing list