[mythtv-users] UDEV rules

George Nassas gnassas at mac.com
Wed Jan 22 16:44:22 UTC 2014


On Jan 22, 2014, at 10:54 AM, Daryl McDonald <darylangela at gmail.com> wrote:

> 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"

This is guessing but I wonder if subsystem_vendor is causing trouble. Why is it there and why aren't you using ATTRS{vendor}? The device is unique enough to isolate each card and including "video?" isolates the link to just the mpeg devices (ie, not the vbi devices which are also created for analog tuners) so maybe you'd be OK without the vendor part.

> Further, I didn't do very well with your test George:
> 
> daryl at daryl-A780L3C:~$ udevadm trigger $(udevadm info -q path -n /dev/video0)
> daryl at daryl-A780L3C:~$

Not sure what you're saying here. What were you expecting to happen and what did or did not happen? The sequence should be 1) make sure there's no /dev/videopvr150 link, 2) run the trigger on video0, 3) verify that there is a /dev/videopvr150 link.

Could you do a "udevadm test $(udevadm info -q path -n /dev/video1)" and post the output? The rules look fine but obviously aren't catching so maybe there is a hint in the test output.

- George



More information about the mythtv-users mailing list