[mythtv-users] How to force ivtv.o to initialize the correct card?

Steven Schaefer sschaefer1 at woh.rr.com
Sat Oct 9 15:13:15 UTC 2004


How can I load ivtv.o and force it to initialize my Hauppauge WinTV PVR-350 
card?

I have an existing PixelView PlayTV Pro (BTTV based, PCI tuner) card, which 
I use with the program "motion". Last night I got the chance to open up the 
computer and pulled out the BTTV based card. After starting up, the ivtv.o 
module successfully found and loaded the Hauppauge PVR-350.

(some hopefully useful 'lspci' output)
	Hauppauge computer works Inc. WinTV PVR-350
	01:0c.0 Class 0400: 4444:0803 (rev 01)
		Subsystem: 0070:4000
		Flags: bus master, medium devsel, latency 0, IRQ 6
		Memory at f0000000 (32-bit, prefetchable) [size=64M]
		Capabilities: [44] Power Management version 2

	Brooktree Corporation Bt878 Video Capture
	01:0a.0 Class 0400: 109e:036e (rev 11)
		Flags: bus master, medium devsel, latency 32, IRQ 3
		Memory at f46fe000 (32-bit, prefetchable) [size=4K]
		Capabilities: [44] Vital Product Data
		Capabilities: [4c] Power Management version 2

	Brooktree Corporation Bt878 Audio Capture
	01:0a.1 Class 0480: 109e:0878 (rev 11)
		Flags: bus master, medium devsel, latency 32, IRQ 3
		Memory at f46ff000 (32-bit, prefetchable) [size=4K]
		Capabilities: [44] Vital Product Data
		Capabilities: [4c] Power Management version 2

If I have the bttv modules loaded I get the following errors when 
attempting to load ivtv.o,

/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: init_module: No such 
device
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: Hint: insmod errors 
can be caused by incorrect module parameters, including invalid IO or IRQ 
parameters.
       You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: insmod 
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o failed
/lib/modules/2.4.26/kernel/drivers/media/video/ivtv.o: insmod ivtv failed

/var/log/syslog reports:
Oct  5 10:50:32 www kernel: ivtv: version 0.1.9 (release) loading
Oct  5 10:50:32 www kernel: ivtv: SGarray_size = 340, DSGarray_size = 16
Oct  5 10:50:32 www kernel: ivtv: Found an iTVC15 based chip
Oct  5 10:50:33 www kernel: ivtv: failed loading encoder firmware
Oct  5 10:50:33 www kernel: ivtv: Error loading firmware!
Oct  5 10:50:33 www kernel: ivtv: Error initializing.
Oct  5 10:50:33 www kernel: ivtv: Error -12 on init
Oct  5 10:50:33 www kernel: ivtv: Error detecting PCI card

or if I unload all bttv drivers before trying to load the ivtv related 
modules, when I attempt to load ivtv.o the system locks up and I have to 
reboot.

I'm running Slackware 10 on an Intel Pentium III  1 GHz, 512 MB.
My kernel is 2.4.26 with V4L2 patch (20_v4l2-2.4.26.diff.gz) applied.



More information about the mythtv-users mailing list