[mythtv-users] Can't add PVR-500 to box with existing PVR-350

Joe Votour joevph at yahoo.com
Sat Oct 8 16:59:23 UTC 2005


The only way that I have gotten a PVR-350 and a
PVR-500 to work together is to ditch the ATrpms 0.2.x
series of the ivtv driver and go build the latest
0.3.9 driver from source.  That works perfectly, and
then you can get rid of half the crap that the ATrpms
version requires you to have in your modprobe.conf.

With 0.3.9 (built from source), here is my
modprobe.conf:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
install ivtv /sbin/modprobe --ignore-install
ivtv;/sbin/modprobe ivtv-fb

The 0.3.9 driver autodetects everything, has lots of
bug fixes, and most importantly, works with Xv.

-- Joe

--- "Staub, Carl" <StaubC at sharpsec.com> wrote:

> Ok, so it takes a LOT for me to resort to asking for
> help, but I've been
> reading the mailing archives and can't seem to
> figure this one out.  My 350
> works but the 500 seems to not generate any output. 
> Here's what I've tried:
> 
> /etc/modprobe.conf was working fine like this
> (before the addition of the
> 500):
> # ivtv modules setup
> alias char-major-81 videodev
> alias msp3400 msp3400-ivtv
> alias char-major-81-0 ivtv
> alias tveeprom tveeprom-ivtv
> install ivtv /sbin/modprobe --ignore-install ivtv;
> /sbin/modprobe ivtv-fb
> install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe
> --ignore-install
> lirc_i2c
> 
> After reading the mailing archives, I've modified it
> to this:
> # ivtv modules setup
> alias char-major-61 lirc_i2c
> alias char-major-81 videodev
> alias char-major-81-0 ivtv
> alias char-major-81-1 ivtv
> alias char-major-81-2 ivtv
> options cx25840 i2c_enable=1 no_black_magic=1
> options saa7127 i2c_enable=1,-1,-1
> alias tveeprom tveeprom-ivtv
> alias tuner tuner-ivtv
> alias msp3400 msp3400-ivtv
> install ivtv /sbin/modprobe --ignore-install ivtv;
> /sbin/modprobe ivtv-fb
> install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe
> --ignore-install
> lirc_i2c
> 
> and still, when I do this:
> 
> [root at FedoraMyth staubc]# cat /dev/video1
> >/tmp/test_capture.mpg
> 
> And let it run for a while and then hit CTRL-C, I
> get this:
> 
> [root at FedoraMyth staubc]# ll /tmp/test_capture.mpg
> -rw-rw-r--  1 mythtv mythtv 0 Oct  8 00:12
> /tmp/test_capture.mpg (Notice the
> zero length file here)
> 
> So looking at the messages, I see two things that
> stand out:
> 
> ivtv: Encoder revision: 0x02040024
> ivtv warning: Encoder Firmware can be buggy, use
> version 0x02040011!!!!
> 
> And a bunch of these:
> ivtv warning: i2c client addr: 0x44 not found for
> command 0x40046403!
> 
> So, I followed the upgrade procedures for the
> firmware, but I can't seem to
> get it to change the revision number.  I even did a:
> 
> [root at FedoraMyth staubc]# ivtvctl -d /dev/video1 -H
> ioctl IVTV_IOC_RELOAD_FW ok
> 
> and that added these to the messages:
> ivtv warning: FW Reload: Set DEC IRQ Mask!
> Resetting Firmware!!!
> ivtv: loading /lib/modules/ivtv-fw-enc.bin
> ivtv warning: Sleeping for 100 ms
> ivtv warning: Sleeping for 100 ms
> ivtv warning: Success Reloading FW!
> 
> And I verified that I have the correct firmware in
> /lib/modules by doing
> this:
> 
> [root at FedoraMyth staubc]# md5sum
> /lib/modules/ivtv-fw-*
> 305dba74bbe5905447add8883f3ecb68 
> /lib/modules/ivtv-fw-dec.bin
> ab75947ef1b086e26f9b08e628baa02e 
> /lib/modules/ivtv-fw-enc.bin
> 
> So here I am, stuck.  I followed Jarod Wilson's
> instructions for setting up
> my myth box from scratch on FC3, and it's been
> working great since last
> April, I just want to get this other capture card in
> so I can record more
> than one thing at a time.
> 
> Can anyone please help?  
> 
> For those who are interested in the *long* stuff,
> here's the entire IVTV
> section of dmesg.
> 
> ivtv: ==================== START INIT IVTV
> ====================
> ivtv: version 0.3.8 (tagged release) loading
> ivtv: Linux version: 2.6.12-1.1376_FC3 686 REGPARM
> 4KSTACKS gcc-3.4
> 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 350 card (iTVC15 based)
> ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 3
> PCI: setting IRQ 3 as level-triggered
> ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKA]
> -> GSI 3 (level, low) ->
> IRQ 3
> tveeprom: Hauppauge: model = 48132, rev = K268,
> serial# = 2927130
> tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type
> = 47)
> tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 =
> 0x00001000)
> tveeprom: audio processor = MSP4448 (type = 1b)
> tveeprom: decoder processor = SAA7115 (type = 13)
> ivtv: i2c attach to card #0 ok [client=tveeprom[50],
> addr=50]
> msp34xx: ivtv version
> msp34xx: init: chip=MSP3448W-A2, has NICAM support,
> simple (D) mode, simpler
> (G) no-thread mode
> msp34xx: $Id$ compiled on: Sep 12 2005 19:39:16
> ivtv: i2c attach to card #0 ok [client=MSP3448W-A2,
> addr=40]
> ivtv: i2c attach to card #0 ok [client=saa7115[50],
> addr=21]
> ivtv: i2c attach to card #0 ok [client=(tuner
> unset), addr=61]
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c
> driver #0)
> ivtv: i2c attach to card #0 ok [client=saa7127,
> addr=44]
> ivtv: loading /lib/modules/ivtv-fw-enc.bin
> ivtv: loading /lib/modules/ivtv-fw-dec.bin
> ivtv: Encoder revision: 0x02040024
> ivtv warning: Encoder Firmware can be buggy, use
> version 0x02040011!!!!
> ivtv: Decoder revision: 0x02020023
> ivtv: Allocate DMA encoder MPEG stream: 128 x 32768
> buffers (4096KB total)
> ivtv: Allocate DMA encoder YUV stream: 194 x 10800
> buffers (2048KB total)
> ivtv: Allocate DMA encoder VBI stream: 120 x 17472
> buffers (2048KB total)
> ivtv: Allocate DMA encoder PCM audio stream: 455 x
> 4608 buffers (2048KB
> total)
> ivtv: Create encoder radio stream
> ivtv: Allocate DMA decoder MPEG stream: 16 x 65536
> buffers (1024KB total)
> ivtv: Allocate DMA decoder VBI stream: 512 x 2048
> buffers (1024KB total)
> ivtv: Create decoder VOUT stream
> ivtv: Allocate DMA decoder YUV stream: 24 x 43200
> buffers (1024KB total)
> tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
> spurious 8259A interrupt: IRQ7.
> ivtv: Initialized WinTV PVR 350, card #0
> ivtv: ======================  NEXT CARD 
> ======================
> ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
> ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3
> ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNKD]
> -> GSI 3 (level, low) ->
> IRQ 3
> tveeprom: Hauppauge: model = 23552, rev = D492,
> serial# = 8142899
> tveeprom: tuner = Philips FQ1236A MK4 (idx = 92,
> type = 57)
> tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 =
> 0x00001000)
> tveeprom: audio processor = CX25843 (type = 25)
> tveeprom: decoder processor = CX25843 (type = 1e)
> ivtv: i2c attach to card #1 ok [client=tveeprom[50],
> addr=50]
> ivtv: i2c attach to card #1 ok [client=(tuner
> unset), addr=60]
> tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #1)
> ivtv: This is the first unit of a PVR500
> ivtv warning: i2c client addr: 0x44 not found for
> command 0x800464cb!
> ivtv: loading /lib/modules/ivtv-fw-enc.bin
> ivtv: Encoder revision: 0x02040024
> ivtv warning: Encoder Firmware can be buggy, use
> version 0x02040011!!!!
> ivtv: Allocate DMA encoder MPEG stream: 128 x 32768
> buffers (4096KB total)
> 
=== message truncated ===>
_______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the mythtv-users mailing list