[mythtv-users] Udev Help

John P Poet jppoet at gmail.com
Wed Feb 3 00:29:29 UTC 2010


On Tue, Feb 2, 2010 at 5:12 PM, greg <greg12866 at nycap.rr.com> wrote:
> John P Poet wrote:
>>
>> On Tue, Feb 2, 2010 at 4:00 PM, greg <greg12866 at nycap.rr.com> wrote:
>>
>>>
>>>  I've been fighting an issue where my HD_PVR and Pvr-150 has been
>>> swapping
>>> nodes.. I have tried every solution I can find, and none of them seem to
>>> work..
>>> I have developed 2 rules and they seemed to work,but after a reboot they
>>> still occasionally still swap..
>>> My question is would someone take a look at these rules and see if there
>>> is
>>> something obvious I am missing..
>>>
>>> KERNEL=="video*", ATTR{name}=="ivtv0 encoder MPG",
>>> ATTRS{vendor}=="0x4444",
>>> SYMLINK+="video_PVR150"
>>>
>>> KERNEL=="video*", ATTR{name}=="Hauppauge HD PVR",
>>> ATTRS{vendor}=="0x8086",
>>> SYMLINK+="video_hdpvr"
>>>
>>>
>>
>> Even with those rules, are you still trying to use /dev/video0 and
>> /dev/video1 in Myth?  If so, that is your problem.  Using the rules
>> you have defined there, use /dev/video_PVR150 and /dev/video_hdpvr in
>> Myth.
>>
>> John
>>
>
> Thanks for that John..I tried what you said wrote (I also read that solution
> when researching this problem),but each time I type in  /dev/video_PVR150 it
> reverts back to /dev/video1...

Hmmm, I would guess that udev is not working for you.  I would check
to make sure that /dev/video_PVR150 actually exists, and is a symlink
to /dev/videoX.  Once you have the dev working, Myth should accept it.

I do not have a PVR150, but I do have two HD-PVRs.  My rules actually look like:

SUBSYSTEM=="video4linux",ATTR{name}=="Hauppauge HD
PVR",ATTRS{serial}=="00A28A0E",SYMLINK+="hdpvr0"
SUBSYSTEM=="video4linux",ATTR{name}=="Hauppauge HD
PVR",ATTRS{serial}=="00A1D4F1",SYMLINK+="hdpvr1"

You don't need to use the serial part, unless you are trying to
differentiate between two HD-PVRs.

John
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the mythtv-users mailing list