[mythtv-users] WinTV (bttv) and PVR150 (ivtv) apparent conflict

Steven mythmail at richardstraat.homedns.org
Wed Jun 1 10:59:56 UTC 2005


Ryan Steffes wrote:

>I posted this question in more detail on the ivtv list, but the mythtv
>list gets far more traffic so I hope no one minds if I toss it out
>here.  I'm running myth on a 2.6.8-10mdk kernel.  I've got a WinTVFM
>card and just bought a brand new PVR150 MCE.  From what I can tell,
>bttv and ivtv don't exactly play nicely with one another.
>
>My bttv card only works properly if I rename the msp3400 module that
>came with ivtv.  I can get the ivtv to seem to load properly with no
>error messages that jump out at me, but it doesn't DO anything.  I'm
>thinking this may be due to not having it's own modules.
>
>Has anyone gotten this combination to work, and what did you have to
>do?  I can upgrade to 2.6.11 if needed.
>
>modprobe.conf
>-------------------------------:
>alias autofs autofs4
>alias char-major-116-* snd
>alias sound-slot-0 snd-via82xx
>options tuner 2,47
>alias char-major-81-* bttv
>options bttv radio=1 bttv_verbose=1 tuner=2 card=2 gbuffers=8
>alias char-major-61-* lirc_serial
>alias char-major-14-* soundcore
>alias sound-slot-0 snd-via82xx
>alias sound-service-0-0 snd-mixer-oss
>alias sound-service-0-1 snd-seq-oss
>alias sound-service-0-3 snd-pcm-oss
>alias sound-service-0-8 snd-seq-oss
>alias sound-service-0-12 snd-pcm-oss
>alias eth0 via-rhine
>install bttv { modprobe -k tuner; modprobe -k msp3400; } ;
>/sbin/modprobe --first-time --ignore-install bttv
>install snd-via82xx /sbin/modprobe --first-time --ignore-install
>snd-via82xx && { /sbin/modprobe snd-pcm-oss; /bin/true; }
>install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe
>ehci-hcd; /bin/true
>remove snd-via82xx { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe
>-r --first-time --ignore-remove snd-via82xx
>
>alias char-major-81 videodev
>alias char-major-81-1 ivtv
>options ivtv tuner=47 debug=1
>options saa7127 i2c_enable=-1
>options cx25840 i2c_enable=1 no_black_magic=1
>
>-----------------
>
>Dmesg of the modprobe followed by an attempt to record a channel
>(ivtvctl -d /dev/video1 -p6 && ivtvctl -d /dev/video1 -u 0x0300 &&
>ptune.pl --input /dev/video1 --channel 3 && cat /dev/video1 >
>test.mpg):
>
>ivtv: ==================== START INIT IVTV ====================
>ivtv: version 0.3.5 (h) loading
>ivtv: Linux version: 2.6.8.1-10mdk K7 gcc-3.3
>ivtv: In case of problems please include the debug info
>ivtv: between the START INIT IVTV and END INIT IVTV lines when
>ivtv: mailing the ivtv-devel mailinglist.
>ivtv: Autodetected WinTV PVR 150 card
>ivtv: Found an iTVC16 based chip
>ivtv: Unreasonably low latency timer, setting to 64 (was 32)
>ivtv: VIA PCI device: 0x3205 vendor: 0x1106
>tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
>ivtv: i2c attach [client=(tuner unset),ok]
>msp3400: error while reading chip version
>tveeprom: Ignoring new-style parameters in presence of obsolete ones
>tveeprom: Hauppauge: model = 60171, rev = C1V , serial# = 1071772
>tveeprom: tuner = Philips FM1236 (idx = 23, type = 2)
>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
>tveeprom: audio_processor = MSP3430 (type = 7)
>tveeprom: Hauppauge: model = 26552, rev = B268, serial# = 7827197
>tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
>tveeprom: audio_processor = MSP3410D (type = 5)
>ivtv: i2c attach [client=tveeprom[50],ok]
>ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
>0x00892598, Revision 0x00000001
>ivtv: Radio detected
>cx25840: Unknown parameter `i2c_enable'
>cx25840: Ignoring new-style parameters in presence of obsolete ones
>cx25840: starting probe for adapter bt848 #0 [sw] (0x10005)
>cx25840: starting probe for adapter SMBus Via Pro adapter at 0400 (0x0)
>cx25840: starting probe for adapter ISA main adapter (0x0)
>cx25840: starting probe for adapter ivtv i2c driver #0 (0x10005)
>cx25840: detecting cx25840 client on address 0x88
>
>cx25840: writing init values
>cx25840: Unable to open FW file '/lib/modules/HcwMakoA.ROM'.
>cx25840: Failed to load any FW image file
>cx25840: Status: cx258433 (DEVICE_ID)
>ivtv: i2c attach [client=cx25840[50],ok]
>wm8775: Ignoring new-style parameters in presence of obsolete ones
>ivtv: i2c attach [client=wm8775[50],ok]
>ivtv: Encoder revision: 0x02040011
>ivtv: Configuring WinTV PVR 150 card with 5 streams
>ivtv: Registered v4l2 device, streamtype 0 minor 1
>ivtv: Create DMA stream 0 using 128 16384 byte buffers  0 kbytes total
>ivtv: Registered v4l2 device, streamtype 1 minor 32
>ivtv: Create DMA stream 1 using 97 21600 byte buffers  0 kbytes total
>ivtv: Registered v4l2 device, streamtype 2 minor 225
>ivtv: Create DMA stream 2 using 60 34656 byte buffers  0 kbytes total
>ivtv: Registered v4l2 device, streamtype 3 minor 24
>ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
>ivtv: Registered v4l2 device, streamtype 4 minor 65
>ivtv: Create stream 4
>ivtv: Setting Tuner 47
>tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
>ivtv: ivtv_enc_thread: pid = 3672, itv = 0xda1efc60
>ivtv: ivtv_enc_vbi_thread: pid = 3673, itv = 0xda1efc60
>cx25840: decoder set norm NTSC
>cx25840: decoder set input (6)
>cx25840: Tuner Input
>cx25840: set audio input (0)
>ivtv: Switching standard to NTSC.
>cx25840: decoder set norm NTSC
>ivtv: Initialized WinTV PVR 150, card #0
>ivtv: ====================  END INIT IVTV  ====================
>cx25840: decoder set size 640x480 (from 720x480) -> scale
>131072x65536, filter 0
>cx25840: decoder disable output
>cx25840: decoder enable output
>ivtv: Allocate DMA stream 0 using 128 16384 byte buffers  2097152 kbytes total
>ivtv: Setup VBI API header 0x0000bd0d pkts 1 buffs 4 ln 24 sz 1444
>ivtv: Setup VBI start 0x0018ea04 frames 4 fpi 1 lines 0x00000140
>cx25840: decoder disable output
>cx25840: decoder enable output
>ivtv: ENC: Sleep timeout interrupted.
>ivtv: Allocate DMA stream 0 using 128 16384 byte buffers  2097152 kbytes total
>ivtv: Setup VBI API header 0x0000bd0d pkts 1 buffs 4 ln 24 sz 1444
>ivtv: Setup VBI start 0x0018ea04 frames 4 fpi 1 lines 0x00000140
>cx25840: decoder disable output
>cx25840: decoder enable output
>ivtv: ENC: Sleep timeout interrupted.
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>  
>
What do those *'s mean in your modprobe conf? They should be numbers.
You should have :

alias char-major-81-0 bttv
alias char-major-81-1 ivtv

so that the bttv card connects to /dev/video0 en the ivtv one (pvr150) to /dev/video1

Also, you are missing a firmware file for the pvr150. 
cx25840: Unable to open FW file '/lib/modules/HcwMakoA.ROM'
See the ivtv wiki or mailing list on where to get that file.


Steven



More information about the mythtv-users mailing list