[mythtv-users] Dual HDPVR and Motorola STB question.

Michael mythtv at blandford.net
Thu Feb 16 13:31:31 UTC 2012


On 02/16/2012 06:26 AM, Gerald Brandt wrote:
> Hi,
>
>> Hi,
>>
>>> On 02/15/2012 09:23 PM, Michael wrote:
>>> The comments in my previous response made it hard to read the
>>> important
>>> stuff.
>>>
>>> #HDPVR - hdpvr1
>>> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{serial}=="00A4FCD7",
>>> SYMLINK+="v
>>> 4l/hdpvr1"
>>>
>>> #HDPVR - hdpvr3
>>> KERNEL=="video?",SUBSYSTEM=="video4linux",ATTRS{serial}=="00A4FC32",
>>> SYMLINK+="v
>>> 4l/hdpvr3"
>>>
>>> Then point to /dev/v4l/hdpvr1 or /dev/v4l/hdpvr3 for example
>>>
>>> And as George noted, you can find the serial numbers using:
>>>
>>> udevadm info --name=/dev/path/to/hdpvr --attribute-walk
>>>
>>> Now you can plug them in and the order doesn't matter.  The hdpvr
>>> will
>>> stay associated to the right cable box and will stay in order so
>>> mythtv
>>> doesn't get confused.
>>>
>>> Michael
>>>
>> Is there a reason you don't set them to /dev/video0 or /dev/video1?
>>   Is it personal preference, or is there another reason?
>>
> Never mind,, this creates symlinks to the /dev/video devices.  It works for me.
>
>

It was personal preference.

I have dish network receivers behind the hdpvrs.  They are set to 
different lirc codes for 1 and 3 so as not to clash with each other.  
Having the hdpvr names match the lirc codes made the channel change 
script easier to write and keep clear.

Michael



More information about the mythtv-users mailing list