Hans Verkuil wrote:
> On Sunday 27 November 2005 19:23, Sigurd Nes wrote:
> 
>>Hans Verkuil wrote:
>>
>>>Have you tested r2950 and r2961? Please provide the results for
>>>these specific revisions. My guess is that 2950 works and 2961
>>>doesn't, but I need the test results for these revisions.
>>>
>>>If my guess is wrong, then please report that. If I am correct,
>>>then I'd like you to do the following test with r2961:
>>>
>>>Before loading ivtv, first load the tuner with 'modprobe tuner
>>>tuner_debug=1', and then load ivtv. Select a known channel and
>>>again run ivtvctl --log-status. Please post the kernel log starting
>>>with the debug tuner messages from the channel change. It all looks
>>>like something is wrong with the tuner settings.
>>>
>>>Oh, and don't use MythTV. Use ivtv-tune to select the channel and
>>>just run 'cat /dev/videoX >test.mpg' to capture video. Look at it
>>>with xine or mplayer. Nothing wrong with MythTV but I prefer to
>>>keep the chain of events as short as possible.
>>>
>>>     Hans
>>
>>I did this to r3007 (I will check r2961 when the kids are put to bed)
>>
>>/sbin/modprobe tuner tuner_debug=1
>>/sbin/modprobe ivtv ivtv_std=2 ivtv_debug=1
>>
>>'ivtvctl -d /dev/video2 --log-status' gives:
>> ivtv2: =================  START STATUS CARD #2  =================
>> cx25840 2-0044: Video signal:              not present
>> cx25840 2-0044: Detected format:           NTSC-M
>> cx25840 2-0044: Detected audio mode:       mono
>> cx25840 2-0044: Detected audio standard:   no detected audio
>>standard cx25840 2-0044: Audio muted:               yes
>> cx25840 2-0044: Audio microcontroller:     running
>> cx25840 2-0044: Configured audio standard: automatic detection
>> cx25840 2-0044: Configured audio system:   automatic standard and
>>mode detection
>> cx25840 2-0044: Specified standard:        PAL-BDGHI
>> cx25840 2-0044: Specified input:           Tuner
>> cx25840 2-0044: Specified audio input:     Tuner
>> cx25840 2-0044: Specified audioclock freq: 48 kHz
>> cx25840 2-0044: Preferred audio mode:      stereo
>> cx25840 2-0044: Selected 65 MHz format:    autodetect
>> cx25840 2-0044: Selected 45 MHz format:    chroma
>> wm8775 2-001b: Input: default
>> tda9887 2-0043: Data bytes: b=d4 c=70 e=09
>> ivtv2: ==================  END STATUS CARD #2  ==================
>>
>>Static - no sound
>>
>>'ivtv-tune -t europe-west -d /dev/video2 -c E8'
>>and
>>'ivtvctl -d /dev/video2 --log-status' gives:
>>
>> ivtv2: =================  START STATUS CARD #2  =================
>> cx25840 2-0044: Video signal:              present
>> cx25840 2-0044: Detected format:           PAL-BDGHI
>> cx25840 2-0044: Detected audio mode:       stereo
>> cx25840 2-0044: Detected audio standard:   NICAM-BG
>> cx25840 2-0044: Audio muted:               no
>> cx25840 2-0044: Audio microcontroller:     running
>> cx25840 2-0044: Configured audio standard: automatic detection
>> cx25840 2-0044: Configured audio system:   automatic standard and
>>mode detection
>> cx25840 2-0044: Specified standard:        PAL-BDGHI
>> cx25840 2-0044: Specified input:           Tuner
>> cx25840 2-0044: Specified audio input:     Tuner
>> cx25840 2-0044: Specified audioclock freq: 48 kHz
>> cx25840 2-0044: Preferred audio mode:      stereo
>> cx25840 2-0044: Selected 65 MHz format:    autodetect
>> cx25840 2-0044: Selected 45 MHz format:    chroma
>> wm8775 2-001b: Input: default
>> tda9887 2-0043: Data bytes: b=d4 c=70 e=09
>> ivtv2: ==================  END STATUS CARD #2  ==================
>>
>>Video and sound is perfect with 'cat /dev/video2 >test.mpg' and
>>mplayer - but mythtv chokes after 2 sec, claiming there is a problem
> 
> 
> I'm confused. Do you mean it now works? Based on the log status I'd say 
> it is working. There should be tuner debug messages in the log too, 
> please post those too.
> 
>       Hans
> 

Although it is working with cat /dev/videoX >test.mpg after forcing the
channel - it is not working in mythtv (for more than 2 sec - the video
is fine for those two sec)

Could it be that mythtv tries to interact with something moved or renamed ?

This is from the backend log for mythtv:
2005-11-27 19:10:39.239 TVRec(2): Changing from None to WatchingLiveTV
2005-11-27 19:10:39.245 Global TVFormat Setting 'PAL'
2005-11-27 19:10:39.248 Channel(/dev/video1): SetFormat(Default)
fmt(PAL) input(-1)
2005-11-27 19:10:39.251 Channel(/dev/video1) Error:
SetInputAndFormat(-1, PAL)
                        while setting input (v4l v2)
                        eno: ôßA¶€øA¶pM (22)
2005-11-27 19:10:39.255 ChannelBase: Could not find input: Tuner 0 on
card when setting channel E8
2005-11-27 19:10:39.259 TVRec(2) Error: Failed to set channel to E8.
2005-11-27 19:10:43.553 WriteStringList: Error, joined null string.

tuner:

No other mention of tuner than inside the START INIT IVTV:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.1 (development revision 3007) loading
ivtv:  Linux version: 2.6.13.3 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)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 7596580
tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom =
0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = MSP4418 (type = 19)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp3400 0-0040: chip=MSP4418G-B3 +nicam +simple +simpler +radio mode=simpler
ivtv0: i2c attach to card #0 ok [client=MSP4418G-B3, addr=40]
msp3400 0-0040: msp34xxg daemon started
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
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-mpeg.bin firmware (155648 bytes)
tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv
i2c driver #0
ivtv0: Initialized WinTV PVR 350, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23559, rev = D391, serial# = 7743994
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom =
0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #1
TEA5767 detected.
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=60]
tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
type set to 62 (Philips TEA5767HN FM Radio)
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv1: This is the first unit of a PVR500
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
ivtv1: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
ivtv1: Create encoder radio stream
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv
i2c driver #1
ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
ivtv:  ======================  NEXT CARD  ======================
ivtv2: Autodetected WinTV PVR 150 card (cx23416 based)
ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23559, rev = D391, serial# = 7743994
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom =
0x74, v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv2: i2c attach to card #2 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #2
ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=61]
tda9887 2-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=tda9887, addr=43]
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #2)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv2: i2c attach to card #2 ok [client=cx25840, addr=44]
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #2)
ivtv2: i2c attach to card #2 ok [client=wm8775, addr=1b]
ivtv2: This is the second unit of a PVR500
ivtv2: Correcting tveeprom data: no radio present on second unit
ivtv2: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv2: Encoder revision: 0x02050032
ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv2: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv2: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv
i2c driver #2
ivtv2: Initialized WinTV PVR 500 (unit #2), card #2
ivtv:  ====================  END INIT IVTV  ====================


Sigurd

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

Reply via email to