LinHES Forums
http://forums.linhes.org/

HowTo ivtv driver on /dev/video0 and bttv on /dev/video1?
http://forums.linhes.org/viewtopic.php?f=2&t=1131
Page 1 of 1

Author:  beamland [ Sun Apr 04, 2004 7:56 am ]
Post subject:  HowTo ivtv driver on /dev/video0 and bttv on /dev/video1?

I googled around and searched ivtv and mythtv lists / forums on this topic but couldn't seem to find what I'm searching for.

I have 2 tuner cards in my nforce2 based system with Athlon XP 2600+. I'm using KnoppMyth R4V2. The 2 tuner cards I'm using:

WinTV Express (BT878)
WinTV PVR 350

Both cards are detected during setup and I managed to have the PVR 350 being detected first, means that in modules.conf I have it like this:

[...]
include /etc/mythtv/modules/ivtv
include /etc/mythtv/modules/ivtv0
include /etc/mythtv/modules/bttv1
[...]
post-install bttv insmod tuner
post-remove bttv rmmod tuner
[...]

Looking into those included files it seems that ivtv driver should be loaded first and thus beeing attached to /dev/video and /dev/video0.

But when doing a lsmod the ivtv driver wasn't loaded. The bttv driver is there and thus it's bttv that was attached to /dev/video and /dev/video0.

Doing a modprobe ivtv loads the driver but then of course I have it attached on /dev/video1.

How can I make sure that the drivers are really loaded and loaded in the correct order to make sure I have ivtv on /dev/video0 and bttv on /dev/video1?

Thanks everyone for hints.

Author:  beamland [ Sun Apr 04, 2004 8:05 am ]
Post subject: 

Huh... tried out this and it worked!!!

Edited /etc/modutils/actions and added the following 2 lines:

pre-install bttv modprobe ivtv
pre-remove bttv rmmod ivtv

Then did a update-modules and a depmod -a and rebooted... that's it. This helped me to have both cards in mythtv-setup recognized so I was able to configure the MPEG/2 card (PVR 350) to use /dev/video0 and the standard V4L card to use /dev/video1.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/