[mythtv-users] Multiple HDPVRs Modprobe Settings

Greg Woods greg at gregandeva.net
Sun May 4 14:32:29 UTC 2014


On Sat, May 3, 2014 at 4:09 PM, Andrew C. Stadt <acstadt at stadt.ca> wrote:

> Just base the udev rules off of the devices serial numbers: Here's a
> snippet from my MBE's udev rules (which hosts 2 of my hdpvrs)
>
> [code]
> KERNEL=="video[0-9]*", ATTRS{product}=="Hauppauge HD PVR",
> ATTRS{serial}=="00A46253", SYMLINK+="hdpvr1", RUN
> +="/sbin/hdpvr-install.sh"
> KERNEL=="video[0-9]*", ATTRS{product}=="Hauppauge HD PVR",
> ATTRS{serial}=="00A40C31", SYMLINK+="hdpvr2", RUN
> +="/sbin/hdpvr-install.sh"
> [/code]
>

That is exactly what I do, and without the RUN script. Then I can reference
/dev/hdpvr1 and /dev/hdpvr2 in mythtv-setup. Works great.

99% of the time, it seems that my hdpvr1 is /dev/video0 and hdpvr2 is
/dev/video1, but every once in a while, it comes up different. Especially
if I have to power cycle one of the HDPVRs, which tends to make it come
back as /dev/video2. But the hdpvr1 and hdpvr2 symlinks always point to the
right one, so no worries.


--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140504/557bdf5f/attachment.html>


More information about the mythtv-users mailing list