On Saturday 07 January 2006 23:04, Walter Haidinger wrote:
> On Sat, 7 Jan 2006, Hans Verkuil wrote:
> > 1) upgrade to the very latest svn (I made some commits a few
> > minutes ago that might come in handy).
>
> Checked out svn rev 3106.
> Please note that ivtv and ivtvctl both still report revision 3102!

Really? Please run 'make clean' 'make' and 'make install' again. Just to 
be sure. 

>
> > 2) which modules are you using? The saa7115, tuner, tveeprom, etc.
>
> # tv_modules start
> depmod...
> insmod /lib/modules/2.6.15/kernel/drivers/media/video/saa7127.ko
> insmod /lib/modules/2.6.15/kernel/drivers/media/video/saa7115.ko
> insmod /lib/modules/2.6.15/kernel/drivers/media/video/tda9887.ko
> insmod /lib/modules/2.6.15/kernel/drivers/media/video/msp3400.ko
> debug=0 once=0 insmod
> /lib/modules/2.6.15/kernel/drivers/media/video/tveeprom.ko insmod
> /lib/modules/2.6.15/kernel/drivers/media/video/tuner.ko insmod
> /lib/modules/2.6.15/ivtv/ivtv.ko ivtv_std=2 tuner=5
> insmod /lib/modules/2.6.15/kernel/drivers/media/video/bttv.ko
>
> The latter bttv is for xawtv to watch TV, nothing ivtv specific
> of course. I only use the PVR350 to record.
>
> Btw:
>
> /etc/modprobe.conf:
> alias char-major-81-0   bttv
> alias char-major-81-1   ivtv
> alias char-major-81-2   pwc
> options ivtv ivtv_std=2 options=5
> options msp3400 debug=0 once=0

Remove the two option lines. They are neither needed nor wanted.

>
> > modules from the 2.6.15 kernel or the modules from ivtv-0.4 svn?
>
> As of 2.6.15 only the ivtv module is used from SVN, all others from
> vanilla kernel. Before (< 2.6.15), I used only tveeprom and tuner
> from the kernel, otherwise I could not run ivtv and bttv
> concurrently.

OK, that's why -I failed. Not really important, --log-status is much 
more useful.

>
> > 3) please post the full IVTV INIT sequence from the kernel log.
>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.4.2 (development revision 3102) loading
> ivtv:  Linux version: 2.6.15 K7 gcc-4.0
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
> ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [APC2] -> GSI 17 (level,
> high) -> IRQ 217 saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c
> driver #0)
> ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
> saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
> msp3400 0-0040: chip=MSP4418G-A2 +nicam +simple +simpler +radio
> mode=simpler msp3400 0-0040: msp34xxg daemon started
> ivtv0: i2c attach to card #0 ok [client=MSP4418G-A2, addr=40]
> ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> tveeprom 0-0050: Hauppauge model 48134, rev J321, serial# 2771457
> tveeprom 0-0050: tuner model is Philips FM1216 (idx 21, type 5)
> tveeprom 0-0050: TV standards PAL(B/G) (eeprom 0x04)
> tveeprom 0-0050: audio processor is MSP4418 (idx 25)
> tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
> tveeprom 0-0050: has radio, has IR remote
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02050032
> ivtv0: Decoder revision: 0x02020023
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> total) ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers
> (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 80 x 26208
> buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream:
> 455 x 4608 buffers (2048KB total) ivtv0: Create encoder radio stream
> ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB
> total) ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers
> (1024KB total) ivtv0: Create decoder VOUT stream
> ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB
> total) ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
> tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
> ivtv0: Initialized WinTV PVR 350, card #0
> ivtv:  ====================  END INIT IVTV  ====================
>
> > 4) tune to what should be a correct channel and run ivtvctl
> > --log-status
>
> # ivtvctl -p 4
>
> ivtv0: =================  START STATUS CARD #0  =================
> saa7115 0-0021: Audio frequency: 48 kHz
> saa7115 0-0021: Video signal:    broadcast/DVD
> saa7115 0-0021: Frequency:       50Hz
> saa7115 0-0021: Detected format: PAL
> saa7127 0-0044: Standard: 50 Hz
> saa7127 0-0044: Input:    normal
> saa7127 0-0044: Output:   S-Video + Composite
> saa7127 0-0044: WSS:      disabled
> saa7127 0-0044: VPS:      disabled
> saa7127 0-0044: CC:       disabled
> ivtv0: ==================  END STATUS CARD #0  ==================
>
> # ptune.pl -f pal-europe -c E8
> Ch.E8: 196250 3140
>
> The channel is correct. I can watch it right now using bttv (xawtv).
>
> # ivtvctl --log-status
>
> ivtv0: =================  START STATUS CARD #0  =================
> saa7115 0-0021: Audio frequency: 48 kHz
> saa7115 0-0021: Video signal:    broadcast/DVD
> saa7115 0-0021: Frequency:       50Hz
> saa7115 0-0021: Detected format: PAL
> saa7127 0-0044: Standard: 50 Hz
> saa7127 0-0044: Input:    normal
> saa7127 0-0044: Output:   S-Video + Composite
> saa7127 0-0044: WSS:      disabled
> saa7127 0-0044: VPS:      disabled
> saa7127 0-0044: CC:       disabled
> ivtv0: ==================  END STATUS CARD #0  ==================
>
> Testing...
>
> # cat /dev/pvr > foo.mog &
> # mplayer foo.mpg
>
> GOOD NEWS: Capturing works!
>
> Also visual confirmation using TV-out:
>
> # cat /dev/video0 > /dev/video16
>
> The color and/or brightness _seems_ to dimmer now, doesn't look
> right. But, at least I can tune again!
>
> Wow! What did you change from rev 3102 to 3106?
> I did not have a look at the svn changelogs yet.

Nothing :-)

If you put back the module options, does the problem reoccur?

        Hans

> I've repeated the sequence unload modules, load modules, tune to
> channel, capture to file and capture to tv-out a couple of times.
> No problems, works!
>
> Now only thing left is the color/brightness issue! :-)
>
> Thanks a lot!
> Regards, Walter
>
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to