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

Steven Schaefer sschaefer1 at woh.rr.com
Sun Oct 10 03:13:22 UTC 2004


I moved the cards around so that the Hauppauge card is in a PCI slot that 
is closer to the AGP port than the PixelView card. The ivtv.o module no 
longer has trouble find the correct card. I suspect that source of the 
problem might be ivtv-0.1.9 code is assuming the first "Class 0400" card it 
finds must be the Hauppauge card.  In my case the PixelView card reports 
itself as "Class 0400" also.

At 10:27 PM 10/9/2004, you wrote:
>At 11:48 AM 10/9/2004, you wrote:
>>looks like it's dieing when it wants to load the firmware... do you have it?
>>Johnny
>
>Yes, the firmware is there. I've confirmed it with the md5sum and then 
>recompiled the drivers.
>As long as the PixelView PlayTV Pro card is not in the system at the time 
>of the ivtv.o module loading, everything works fine.
>When the PixelView PlayTV Pro card IS in the system, ivtv.o gets confused 
>and locks up the system, requiring a reboot.
>
>> > 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.
>> >
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users at mythtv.org
>> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> >
>>
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list