View Full Version : Dual tuner card /dev/videoX swapping issue


Rgb
06-17-08, 06:56 AM
In my current build, I am using both a Kworld 115 and a PVR150 on Mythbuntu 8.04.

THe cards setup fine, but when I reboot, the PVR150 disappears from the front end. The PVR150 was installed as a MPEG capture card autodetected in the back end as /dev/video0, but when I reboot, it comes up as /dev/video1!

Every reboot, the Kworld and PVR150 keep swapping their /dev/video0 and /dev/video 1 assignments.

I found that this is a common issue

http://www.nabble.com/pvr-150-occasionally-swaps--dev-video1-to--dev-video0-td16358277s15552.html


and the generic solution there is to:

Add an option line to your ivtv module in modprobe.conf
options ivtv ivtv_first_minor=1

DOes Mythbuntu 8.04 (Ubuntu/Xubuntu 8.04) use a modprobe.conf file? Or do I add te line to the /etc/modules file?

I see a /etc/modprobe.d directory, but can't find any modprobe.conf file in Mythbuntu 8.04.

Other than the one line, is there anything else before/after the line that is required?

jimsiff
06-17-08, 07:03 PM
Rgb,

All the files in /etc/modprobe.d specify modprobe options. They break out /etc/modprobe.conf into function related files. (aliases, options, blacklists, etc) Check out "man modprobe.conf" on your Myth box. Specifically, that ivtv line can be put in /etc/modprobe.d/options.

Rgb
06-18-08, 09:43 AM
Rgb,

All the files in /etc/modprobe.d specify modprobe options. They break out /etc/modprobe.conf into function related files. (aliases, options, blacklists, etc) Check out "man modprobe.conf" on your Myth box. Specifically, that ivtv line can be put in /etc/modprobe.d/options.

You da man!

I pasted

options ivtv ivtv_first_minor=1

into the text file

/etc/modprobe.d/options

in Mythbuntu 8.04, and the Kworld 115 and PVR150 card assignments (/dev/video0 and 1) now behave themselves, at least through several reboots and Front End launch/quit cycles I tried.