<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 12:03 PM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Wed, Dec 9, 2009 at 11:58 AM, Dave <<a href="mailto:dave@davestechshop.net">dave@davestechshop.net</a>> wrote:<br>
><br>
><br>
> On Wed, Dec 9, 2009 at 11:44 AM, Kevin Kuphal <<a href="mailto:kkuphal@gmail.com">kkuphal@gmail.com</a>> wrote:<br>
>><br>
>> On Wed, Dec 9, 2009 at 10:02 AM, Dave <<a href="mailto:dave@davestechshop.net">dave@davestechshop.net</a>> wrote:<br>
>> ><br>
>> > I am running Mythbuntu 9.10 with 1 PVR150 and 1 HVR850. When I reboot,<br>
>> > the PVR150 is changing device nodes. I tried the script mentioned in this<br>
>> > thread (<a href="http://ubuntuforums.org/showthread.php?t=753434" target="_blank">http://ubuntuforums.org/showthread.php?t=753434</a>) and I do get a<br>
>> > symlink, but I do not see the new static device node as an option in myth<br>
>> > backend setup.<br>
>> ><br>
>> > Does this "Ubuntu Jaunty" script work in Mythbuntu 9.10 / MythTV .22?<br>
>> ><br>
>> > Is there a better solution yet?<br>
>> ><br>
>> > What can I do now, other than not reboot? ;)<br>
>><br>
>> The hard way: write udev rules<br>
>> This has always troubled me<br>
>><br>
>> Easy way (for me): Add an option line to your ivtv module in modprobe.conf<br>
>> options ivtv ivtv_first_minor=1<br>
>><br>
>> This will cause ivtv to always take /dev/video1 (double check with a<br>
>> google search to see if ivtv_first_minor is 0 based) and should leave<br>
>> /dev/video0 for your other card<br>
>><br>
>> Kevin<br>
>><br>
> Thanks for your reply.<br>
><br>
> I did already make a udev rule (using the python script at the link I<br>
> provided).<br>
><br>
> Here's my rule:<br>
> KERNEL=="video*", ATTR{name}=="ivtv0 encoder MPG", ATTRS{vendor}=="0x4444",<br>
> KERNELS=="0000:01:04.*", SYMLINK+="video_PVR150"<br>
><br>
> I added this rule to /etc/udev/rules.d/60-symlinks.rules<br>
><br>
> I expected to see /dev/video_PVR150 as a choice in myth backend setup.<br>
> However, it is not there, even after a reboot.<br>
><br>
> Can anyone say whether this is a MythTV .22 issue or a mistake in my rule or<br>
> something else? Thanks.<br>
><br>
<br>
</div></div>Here is what I have for my pvr500 to keep it from messing with my kworld 115<br>
<br>
# cat 60-ivtv.rules<br>
#DRIVER=="ivtv",KERNELS=="0000:02:08.0", SYMLINK+="pvr_150"<br>
<br>
ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="pvr_150"<br>
KERNEL=="video?",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder<br>
MPG", SYMLINK+="v4l/video0"<br>
KERNEL=="video?",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder<br>
MPG", SYMLINK+="v4l/video1"<br>
KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder<br>
PCM", SYMLINK+="v4l/video24"<br>
KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder<br>
PCM", SYMLINK+="v4l/video25"<br>
KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv0 encoder<br>
YUV", SYMLINK+="v4l/video32"<br>
KERNEL=="video??",SUBSYSTEM=="video4linux",ATTR{name}=="ivtv1 encoder<br>
YUV", SYMLINK+="v4l/video33"<br>
<font color="#888888"><br>
John<br>
</font><div><div></div><div class="h5"><br><br></div></div></blockquote><div>Thanks. Based on what I see in your rules, I think I'll try changing mine to this:<br><br>KERNEL=="video*", ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="video_PVR150"<br>
<br>It looks to me like you are saying your original (commented out) rule was too restrictive (too specific). Is that what you found? <br></div></div><br>