[mythtv-users] UDEV rules

Daryl McDonald darylangela at gmail.com
Tue Jan 21 04:03:56 UTC 2014


On Mon, Jan 20, 2014 at 10:31 PM, Mark Perkins <perkins1724 at hotmail.com> wrote:
>
>> On 21 Jan 2014, at 11:20 am, "Daryl McDonald" <darylangela at gmail.com> wrote:
>>
>> On Sat, Jan 11, 2014 at 9:00 AM, George Nassas <gnassas at mac.com> wrote:
>>>> On Jan 10, 2014, at 9:08 PM, Daryl McDonald <darylangela at gmail.com> wrote:
>>>>
>>>> I'm looking to increase potential.
>>>
>>> We all are. I was asking on a more prosaic level.
>>>
>>> Specifically, what devices are colliding or causing you trouble? From what I've read it sounds like two analog tuners are causing myth headaches so...
>>>
>>>> The PC150U card has never worked
>>>> for me in Myth. ... Since I took it out of my box I've had no problems,
>>>> but if I put it back in I need UDEV rules
>>>
>>> It should be pretty easy. Each device uses a different driver so you don't have to try very hard to put together a matching condition. Something like this would work for your hauppauge card:
>>>
>>>    SUBSYSTEM=="video4linux", DRIVER=="ivtv", SYMLINK+="video-pvr150"
>>>
>>> Reboot, verify that there is a /dev/video-pvr150, and then in myth-setup change the hauppauge tuner's device to be the symlink instead of /dev/video0 as it likely is. You should now be insulated from kernel device renumbering.
>>>
>>> For your other analog tuner do one of those udev attributes dumps and make a new udev rule with that card's driver and a new symlink. Then create a new tuner in myth using that symlink.
>>>
>>> I'm not clear if you have a problem with digital tuners but the drill is similar. The subsystem would be "dvb" and the driver name would come from further udev dumps. Use the symlink name in myth-setup.
>>>
>>> Oh, udev rules typically go in /etc/udev/rules.d. See what's in there already and create a new file with similar naming.
>>>
>>> - George
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>> I'm looking into this again George, and I cut and pasted the rule you
>> suggested into /etc/udev/rules.d and called it "capture-card.rules"
>> re-booted and still the pvr 150 presents as /dev/video0. do I need to
>> put further rules for the other cards also?
>>
>> Thanks Daryl
>> _______________________________________________
> If you get tired if my guesses Daryl just let me know :-)
>
> Change directory to rules.d
> cd /etc/udev/rules.d
>
> Then check the file owner, group and permissions match other files in that folder
> ls -l
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

I never get tired, on the contrary I appreciate all input. I'll give
this a go tomorrow. We're in the grips of a "Polar Vortex" so Ill be
quite pleased to sit inside in front of a keyboard. thanks again
Daryl


More information about the mythtv-users mailing list