[mythtv-users] Two HD-PVR's and two stb's Is there a how to?

Steven Adeff adeffs.mythtv at gmail.com
Mon Jan 12 17:49:08 UTC 2015


On Fri, Jan 9, 2015 at 11:02 AM, Greg <gregl at nycap.rr.com> wrote:
> On 01/08/2015 06:01 PM, Andrew Theurer wrote:
>>
>> Not absolutely sure if you need this, but I make sure I have
>> consistent device naming with the following udev rule (you will need
>> to use your s/n in there):
>>
>> /etc/udev/rules.d# more 78-hauppauge.rules
>> KERNEL=="video[0-9]*" , ATTRS{product}=="Hauppauge HD PVR" ,
>> ATTRS{serial}=="00A63962" , SYMLINK+="v4l/hdpvr1"
>> KERNEL=="video[0-9]*" , ATTRS{product}=="Hauppauge HD PVR" ,
>> ATTRS{serial}=="00A63A52" , SYMLINK+="v4l/hdpvr2"
>>
>> -Andrew
>>
>      Thanks, I haven't been able to get this set up yet. This thing called
> work got in the way.. Hopefully next week I can get it set up.. I have used
> udev in the past (hdpvr,pvr150) so I think I can muddle my way through.. I
> really wish I could find an A-Z walk through on setting this up.but I can't
> seem to find one..
> Thanks again...


no need for separate scripts, you can pass the GUID to a script with
the channel change command,
/usr/local/bin/hdpvrchanger.sh <GUID>

then use a script similar to what I created for using 6200ch to change
a cable box channel over firewire,
http://www.mythtv.org/wiki/User:Steveadeff#6200changer.sh

Then do what Andrew said with a udev rule, here are the rules I use,

/etc/udev/rules.d$ more 87-hdpvr.rules
ATTRS{product}=="Hauppauge HD PVR", ATTRS{serial}=="00A50D6C", SYMLINK+="hdpvr1"
ATTRS{product}=="Hauppauge HD PVR", ATTRS{serial}=="00A46E55", SYMLINK+="hdpvr2"

-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list