[mythtv-users] UDEV rules

Mike Perkins mikep at randomtraveller.org.uk
Wed Jan 22 16:19:54 UTC 2014


On 22/01/14 15:54, Daryl McDonald wrote:
>
> With the following rules edited in and rebooted, the terminal shows the next:
>
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{subsystem_vendor}=="0x0070",ATTRS{device}=="0x0016",SYMLINK+="videopvr150",GROUP="video"
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{subsystem_vendor}=="0x0070",ATTRS{device}=="0x8852",SYMLINK+="digital1250",GROUP="video"
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{subsystem_vendor}=="0x17de",ATTRS{device}=="0x1733",SYMLINK+="videoKworld",GROUP="video"
>
>
> daryl at daryl-A780L3C:~$ udevadm info -a -p $(udevadm info -q path -n
> /dev/dvb/adapter0/dvr0)
>
> Udevadm info starts with the device specified by the devpath and then
> walks up the chain of parent devices. It prints for every device
> found, all possible attributes in the udev rules key format.
> A rule to match, can be composed by the attributes of the device
> and the attributes from one single parent device.
>
>    looking at device
> '/devices/pci0000:00/0000:00:04.0/0000:02:00.0/dvb/dvb0.dvr0':
>      KERNEL=="dvb0.dvr0"
>      SUBSYSTEM=="dvb"
>      DRIVER==""
>
>
You have the wrong subsystem defined, so the rule won't match your dvb cards.

-- 

Mike Perkins



More information about the mythtv-users mailing list