[mythtv-users] Solved: One PVR-250/pcHDTV combination

Michael T. Dean mtdean at thirdcontact.com
Mon Jun 12 00:55:00 UTC 2006


On 06/11/2006 03:12 PM, Robert Tsai wrote:
> On Sun, Jun 11, 2006 at 01:08:29PM -0500, Mercury Morris wrote:
>   
>> Upgrading to MythTV 0.19, kernel 2.6.16.20, and ivtv 0.6.2, I ran
>> into a problem.
>>
>> With no consistency, the PVR-250 card would be either /dev/video0 or
>> /dev/video1. The pcHDTV card would sometimes get /dev/video0 first,
>> so that MythTV would mark /dev/video0 offline/unavailable.
>>
>> Here's what I did to (more or less) assure that /dev/video0 would be
>> the PVR-250.
> I think what you want is something like the following in your
> /etc/modprobe.d/aliases:
>
> 	alias char-major-81 videodev
> 	options ivtv ivtv_first_minor=2
>
> This will force the ivtv devices to start with /dev/video2

Or ensure consistent device naming/allocation with a proper udev 
configuration.  You could even have udev create links for /dev/ivtv and 
/dev/pchdtv that refer to the appropriate /dev/video? devices.  Then, by 
telling Myth to use /dev/ivtv and /dev/pchdtv, you know Myth always uses 
the right device.

http://reactivated.net/writing_udev_rules.html

Mike


More information about the mythtv-users mailing list