[mythtv-users] Questions about HD-PVR and VDPAU

John Drescher drescherjm at gmail.com
Wed Jun 3 17:20:44 UTC 2009


On Wed, Jun 3, 2009 at 1:15 PM, Jim Stichnoth <stichnot at gmail.com> wrote:
> I have a couple of questions after playing with the HD-PVR and VDPAU.
> I'm running MythDora 10.21, with 0.21-fixes patched with HD-PVR and
> VDPAU support, and the nVidia 180.51 driver.
>
> 1. I also have a PVR-150.  When the system boots and mythbackend
> starts, the HD-PVR gets /dev/video0 and the PVR-150 gets /dev/video1.
> I would actually like that to be reversed since the hdpvr module has
> the video_nr=1 option.  Is there a way to get the backend to add this
> option when it needs to load the hdpvr module?  Or another good
> solution?
>

I use a udev rule to keep my devices from moving around.

jmd0 rules.d # pwd
/etc/udev/rules.d
jmd0 rules.d # cat 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"

John


More information about the mythtv-users mailing list