[mythtv-users] PVR-350: problems with TV-OUT (saa7129) (fwd)

Myth Tv mythtv at hormann.tzo.cc
Fri Aug 19 01:58:22 UTC 2005


I know this is really an ivtv issue but I didn't get any bites on my
original message.  Any chance someone here has some suggestions?

Thanks,
greg.

---------- Forwarded message ----------

I pulled the card out.  It has the newer saa7129 chip.  Could that be it?
Is there any special setup steps I need to do?

The other weird thing I notice is that /dev/video16 doesn't exist on
reboot.  I assume that even though the 350 is /dev/video1, that the output
is still /dev/video16 right?

Could really use some suggestions on what to try next.

Greg.

---------- Forwarded message ----------
Date: Tue, 16 Aug 2005 23:13:24 -0400 (EDT)
From: Myth Tv <mythtv at hormann.tzo.cc>
Reply-To: ghormann at alumni.indiana.edu
To: ivtv-devel at lists.sourceforge.net
Subject: PVR-350: problems with TV-OUT


I've been fighting with getting my PVR-350's TV-OUT to work with the
ivtv_fb driver for about a week now.  No matter what I try, I can't get
the video to display.  Capturing video works fine.  I'm plan to use the
box for mythtv, so I'd like to get X working with the TV-OUT (composite).
>From what I've read, that means I'll need 3.x and ivtv_fb.

The video out always looks alternating white and black lines. See picture
at
http://www.kconline.com/ghormann/new/images/ivtv_small.jpg


Unloading the sa7127 module turns the screen black.  Attempting to load
the module with test_image=1 yeilds an error.  I'm uncertain where to go
from here.  Any suggestions would be greatly apprecated. (I'll be the
first to admit I don't understand what all the different drivers do. I've
had trouble finding documentation on the topic too.)

Thanks,
Greg.

-----------------------------------------------------

2.6.12-gentoo-r6
i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux
512 Megs
1 PVR-350 (/dev/video1)
1 PVR-250 (/dev/video0)
ivtv 0.3.7 (d)



#rmmod saa7127
Screen converts from b/w lines to all black.

# /sbin/modprobe saa7127 test_image=1
FATAL: Error inserting saa7127
(/lib/modules/2.6.12-gentoo-r6/ivtv/saa7127.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

# dmesg | tail
saa7127: Unknown parameter `test_image'
saa7127: Ignoring new-style parameters in presence of obsolete ones




#/sbin/modprobe saa7127
Screen with b/w lines appears again


# /usr/bin/ivtvfbctl /dev/fb0 -noglobalalpha -localalpha
Framebuffer state:
  Framebuffer state:       ON
  Global alpha:            disabled
  Local alpha:             ENABLED
  Flicker reduction:       ENABLED
  Global alpha value:      208
Active buffer:
  Offset:                  0x00000000
  Maximum offset:          0x00151800
  Horizontal stride:       720 32-bit words
  Vertical lines:          480 lines
  Coordinates (x, y):      0, 0

Framebuffer state:
  Framebuffer state:       ON
  Global alpha:            disabled
  Local alpha:             ENABLED
  Flicker reduction:       ENABLED
  Global alpha value:      208
Active buffer:
  Offset:                  0x00000000
  Maximum offset:          0x00151800
  Horizontal stride:       720 32-bit words
  Vertical lines:          480 lines
  Coordinates (x, y):      0, 0

Screen still b/w lines

#  dd if=/dev/video0 of=/dev/video16 bs=64k
Screen unchanged (still b/w lines)


# /usr/bin/ivtvfbctl /dev/fb0 -alpha -on -globalalpha -nolocalalpha
Screen goes black

#dd if=/dev/video1 of=/dev/video16 bs=64k
Screen stays black


# lsmod
Module                  Size  Used by
snd_pcm_oss            47392  0
snd_mixer_oss          17024  1 snd_pcm_oss
snd_seq_oss            32128  0
snd_seq_midi_event      6400  1 snd_seq_oss
snd_seq                49424  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6988  2 snd_seq_oss,snd_seq
snd_intel8x0           28864  0
snd_ac97_codec         78392  1 snd_intel8x0
snd_pcm                82120  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              21124  2 snd_seq,snd_pcm
snd                    46692  9
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          7620  2 snd_intel8x0,snd_pcm
ivtv_fb                37244  0
saa7127                13100  0
msp3400                27704  0
saa7115                11796  0
tuner                  20580  0
ivtv                 1347780  2 ivtv_fb
bttv                  147728  0
video_buf              17540  1 bttv
firmware_class          7872  1 bttv
v4l2_common             4736  1 bttv
btcx_risc               3912  1 bttv
tveeprom               12468  1 bttv
videodev                7232  2 ivtv,bttv
lirc_i2c                6916  0
lirc_dev               11404  1 lirc_i2c


# grep ivtv /etc/modprobe.conf
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb

# cat /etc/modules.autoload.d/kernel-2.6
#lirc_serial
lirc_dev
lirc_i2c
tveeprom
ivtv
#ivtv_fb


# dmesg [trimed]
lirc_dev: IR Remote Control driver registered, at major 61
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.7 (d) loading
ivtv: Linux version: 2.6.12-gentoo-r6 preempt 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 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 12
ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNK3] -> GSI 12 (level, low)
-> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8015637
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x008d1598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[50],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Aug 14 2005 20:42:50
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware can be buggy, use version 0x02040011!!!!
ivtv: Configuring WinTV PVR 250 card with 5 streams
ivtv: Registered v4l2 device for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 64
ivtv: Create encoder radio stream
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4187, itv = 0xde9b4620
ivtv: ivtv_enc_vbi_thread: pid = 4188, itv = 0xde9b4620
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: Initialized WinTV PVR 250, card #0
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNK3] -> GSI 12 (level, low)
-> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7876226
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[50],ok]
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach [client=Hauppauge IR,ok]
lirc_dev: lirc_register_plugin:sample_rate: 10
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[50],ok]
saa7115: status: (1E) 0x00, (1F) 0xc0
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Aug 14 2005 20:42:50
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad2598, Revision 0x00000001
ivtv: Radio detected
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: starting probe on adapter ivtv i2c driver #0 (0x10005)
saa7127: starting probe on adapter ivtv i2c driver #1 (0x10005)
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[50],ok]
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware can be buggy, use version 0x02040011!!!!
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device for encoder MPEG minor 1
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 33
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 225
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 25
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Registered v4l2 device for encoder radio minor 65
ivtv: Create encoder radio stream
ivtv: Registered v4l2 device for decoder MPEG minor 17
ivtv: Create DMA decoder MPEG stream: 0 x 65536 buffers (0KB total)
ivtv: Registered v4l2 device for decoder VBI minor 229
ivtv: Create DMA decoder VBI stream: 0 x 2048 buffers (0KB total)
ivtv: Registered v4l2 device for decoder VOUT minor 233
ivtv: Create decoder VOUT stream
ivtv: Registered v4l2 device for decoder YUV minor 49
ivtv: Create DMA decoder YUV stream: 0 x 43200 buffers (0KB total)
ivtv: Create DMA decoder OSD stream: 0 x 65536 buffers (0KB total)
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #1
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4222, itv = 0xde9d796c
ivtv: ivtv_enc_vbi_thread: pid = 4223, itv = 0xde9d796c
ivtv: ivtv_dec_thread: pid = 4224, itv = 0xde9d796c
ivtv: ivtv_dec_vbi_thread: pid = 4225, itv = 0xde9d796c
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set NTSC Video Mode
saa7127: Selecting NTSC video Standard
saa7115: decoder disable output
saa7115: decoder enable output
ivtv: Initialized WinTV PVR 350, card #1
ivtv: ====================  END INIT IVTV  ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 1)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has
1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 480]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xd9510000, mapped to 0xe0990000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb0: iTVC15 TV out frame buffer device
ivtv: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)



More information about the mythtv-users mailing list