I am not sure why but I suspect that an additional load of ivtv
(modprobe ivtv being issued twice once after the saa7127 mod loads) at
boot time caused the saa7127 module to not be loaded - ??

Modprobing the saa7127 module again makes the live tv play in color
without freezing.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edward
Brookhouse
Sent: Tuesday, June 07, 2005 7:55 PM
To: [email protected]
Subject: [ivtv-devel] pvr350 live tv goes blank

Hi all,

I am setting up a PVR350 and when I start live tv I get a few seconds of
black and white tv with no audio and then black screen then back to
mythmenu. I'm using Core 3 and 0.3.3 k ivtv on a 2.6.11-1.27_FC3 kernel.

Mostly follwing the guide at wilsonnet to set this up using apt -

I'm using the 'recommened' firmware from the ivtv wiki - doing a
firmware reload seems to go ok -

I believe the problem is the options given to my 350 but I am unsure.

I searched through the archives for some of the errors I am seeing with
no success - some others had mentioned live tv freezing after a few
seconds but no resolutions.

Any thoughts appreciated,

Edward
[EMAIL PROTECTED]





PVR350 is set to:

[EMAIL PROTECTED] etc]# ivtvctl -a
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type    : 0
framerate   : 0
framespergop: 15
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl: VIDIOC_QUERYCAP
        Driver name   : ivtv
        Card type     : WinTV PVR 350
        Bus info      : 0
        Driver version: 771
        Capabilities  : 0x01070033
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

        Input   : 5
        Name    : Composite 4
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 6
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 7
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 8
        Name    : S-Video 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 9
        Name    : S-Video 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0
ioctl: VIDIOC_G_INPUT
Input = 0
ioctl: VIDIOC_ENUMOUTPUT
        Output  : 0
        Name    : S-Video + Composite
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 1
        Name    : Composite
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 2
        Name    : S-Video
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 3
        Name    : RGB
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 4
        Name    : YUV C
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 5
        Name    : YUV V
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
ioctl: VIDIOC_G_OUTPUT
Output = 0
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line In
ioctl: VIDIOC_G_AUDIO
Input = 1: Audio Line In
ioctl: VIDIOC_G_FREQUENCY
Frequency = 0
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525

        index       : 1
        ID          : 0x00000000000000FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625

        index       : 2
        ID          : 0x00000000007F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 58950
Mute = 0

Debug from mythfrontend is showing:


Remote encoder not responding.
2005-06-07 16:35:25.017 WriteStringList: Bad socket
2005-06-07 16:35:25.017 ReadStringList: Bad socket
Remote encoder not responding.
2005-06-07 16:35:25.017 59936 bytes free on soundcard
2005-06-07 16:35:25.017 WriteStringList: Bad socket
2005-06-07 16:35:25.017 ReadStringList: Bad socket
Remote encoder not responding.


Ivtv modules loading looks like:

# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
alias tveeprom tveeprom-ivtv
alias msp3400 msp3400-ivtv
alias char-major-195 nvidia



Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.3 (k) loading
ivtv: Linux version: 2.6.11-1.27_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
ivtv: Found an iTVC15 based chip
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 5 (level, low) -> IRQ 5
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x0745 vendor: 0x1039
tveeprom: no version for "struct_module" found: kernel tainted.
tveeprom: The eeprom says no radio is present, but the tuner type
tveeprom: indicates otherwise. I will assume that radio is present.
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 2985810
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[0],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad2598, 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 SiS96x SMBus adapter at 0xe600 (0x0)
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
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
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[0],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: May 19 2005 04:40:44
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 1024 16384 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 0 using 1024 16384 byte buffers  16777216
kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1
ivtv: Allocate DMA stream 1
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 80 52224 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 2 using 80 52224 byte buffers  4194304 kbytes
total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 3 using 455 4608 byte buffers  2097152 kbytes
total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Allocate stream 4
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create DMA stream 5 using 16 65536 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 5 using 16 65536 byte buffers  1048576 kbytes
total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create DMA stream 6 using 2048 2048 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 6 using 2048 2048 byte buffers  262144 kbytes
total
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create stream 7
ivtv: Allocate stream 7
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 8 using 24 86400 byte buffers  0 kbytes total
ivtv: Allocate DMA stream 8 using 24 86400 byte buffers  2097152 kbytes
total
ivtv: Create DMA stream 9 using 32 65536 byte buffers  0 kbytes total
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
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 = 4066, itv = 0xf8dccda0
ivtv: ivtv_dec_thread: pid = 4067, itv = 0xf8dccda0
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set NTSC Video Mode
saa7127: Selecting NTSC video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================  END INIT IVTV  ====================
lirc_dev: IR Remote Control driver registered, at major 61








-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel






-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to