> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Hans Verkuil
> Sent: Sunday, September 18, 2005 8:44 AM
> To: [email protected]
> Subject: [ivtv-devel] [SOUND]: Fixed?!
> 
> OK, I think I've fixed the problem of missing sound on the 
> PVR150/500. Please update to the latest svn and try again. 
> Besides some bug fixes the main cause seems to be the 
> initialization of the Delay Lock Loops. If I understand the 
> datasheet correctly these DLLs are responsible for the 
> timings in the Luma ADC and the Audio Decoder.
> 
> The initialization sequence should ensure that no false lock 
> is detected but the old sequence in the driver differs 
> substantially from what Hauppauge does, which in turn is much 
> closer to the recommended procedure from the datasheet. I 
> suspect that sometimes, possibly depending on all kinds of 
> environmental factors (e.g. interference), a false lock is 
> detected and the audio decoder effectively no longer works. I 
> also suspect that the old sequence was unable to properly 
> force a new attempt to lock, so if was wrong from the start, 
> it stayed wrong. It also explains why some people could make 
> it work by first running the Hauppauge driver and then soft 
> boot to linux: 
> the Hauppauge driver forces the correct DLL which remained 
> correct in linux.
> 
> But the proof of the pudding is in the eating: so please test!
> 
> I'm keeping my fingers crossed,
> 
>       Hans
> 

Uncross those fingers and get typing again ;)

This basically breaks my 150 completely.  Upon startup I have only
static now.  I've tried to manually tune the channel with no luck.
I've also tried different input sources, I can get S-Video to work
but anything else fails and there is no audio on the S-Video input
I'm getting my input either via the Tuner or S-Video from a DirecTV
satellite.
I've tried various settings of -p N and -q N to get the settings to work
no, go.

Not sure what info to give you, so to start I've got the ivtvctl -a below

ioctl IVTV_IOC_G_CODEC ok
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 ok
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl VIDIOC_QUERYCAP ok
        Driver name   : ivtv
        Card type     : WinTV PVR 150
        Bus info      : 0000:00:07.0
        Driver version: 777
        Capabilities  : 0x01030011
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

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

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

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

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

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

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

        Input   : 7
        Name    : Tuner 1
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0
ioctl VIDIOC_G_INPUT ok
Video input = 6
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line 1

        Input   : 2
        Name    : Audio Line 2

        Input   : 3
        Name    : Audio Line 3

        Input   : 4
       Name    : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 980
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 ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 0



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to