[mythtv-users] Multiple HDPVRs Modprobe Settings
Martin Compton
martinc at itrans.com
Sun May 4 18:57:16 UTC 2014
On 05/04/2014 09:32 AM, Greg Woods wrote:
>
> On Sat, May 3, 2014 at 4:09 PM, Andrew C. Stadt <acstadt at stadt.ca
> <mailto: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.
Do both HDPVRs use the same input types (component, etc)?
Does MythTV handle setting/changing the inputs okay?
Did you set 'default_audio_input' and 'default_video_input' under
/etc/modprobe.d?
FYI: Ubuntu 12lts now has explicit entries for each HDPVR under
'/dev/v4l/by-id' and '/dev/v4l/by-path' and that's how I reference them
in mythtv-setup (as I hadn't finished udev script).
I don't think they were there a year ago.
But I'll likely keep the udev script for clarity, and it also assigns
links to the HDPVRs IR devices:
SUBSYSTEM!="lirc", GOTO="local_assign_end"
# hdpvr1 IR blaster: ATTRS{product}=="Hauppauge HD PVR",
ATTRS{serial}=="00A9ABCD", SYMLINK+="lirc-hdpvr1"
# hdpvr2 IR blaster
ATTRS{serial}=="00A81234", SYMLINK+="lirc-hdpvr2"
Now to look at 'Upstart' for multiple lirc daemons (works, just needs
tweaking).
Thanks All,
MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140504/ca6ba291/attachment.html>
More information about the mythtv-users
mailing list