[mythtv-users] Udev rules (again)

Jos Hoekstra joshoekstra at gmx.net
Fri Jul 3 12:14:00 UTC 2009

John Drescher schreef op 29-6-2009 7:03:
  > Here is what I have for my pvr500.
> jmd0 ~ # cat /etc/udev/rules.d/60-ivtv.rules
> #DRIVER=="ivtv",KERNELS=="0000:02:08.0", SYMLINK+="pvr_150"
> ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="pvr_150"
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder
> MPG", SYMLINK+="v4l/video0"
> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder
> MPG", SYMLINK+="v4l/video1"
> KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder
> PCM", SYMLINK+="v4l/video24"
> KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder
> PCM", SYMLINK+="v4l/video25"
> KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder
> YUV", SYMLINK+="v4l/video32"
> KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder
> YUV", SYMLINK+="v4l/video33"
> I also have a kworld115 in the master backend but I am only using the
> dvb input of that so I do not care about the analog portion of that
> card. /dev/video0 or /dev/video2 depending on if the ivtv card loaded
> first. With the symlink the I just use /dev/v4l/video0 and
> /dev/v4l/video1 for my 2 ivtv devices. I could have given them more
> descriptive names but this worked so I stuck with it.
> John

Just for the user wrestling with the same thing: this one works, just 
start using it from the first line that starts with KERNEL==.

Thanks for the help!

Jos Hoekstra

More information about the mythtv-users mailing list