Monday, June 1, 2009

udev and mythtv

To make sure the V4L devices are assigned a constant symlink in /dev, I added the file 99-PVR350.rules in /etc/udev/rules.d with this content:

KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="PVR350"

after I identified the ATTR{name} string with
udevadm info -a -p $(udevadm info -q path -n /dev/video0)

Otherwise, the webcam was assign to /dev/video0 some times with bad consequences..

Will be useful for two TV tuners.

No comments: