On Friday 10 November 2006 09:40, [EMAIL PROTECTED] wrote:
> Sorry for not replying fast.
>
> Setting the tda9887 module option for "pal=d" does not work, and
> dmesg barks, that module option "pal" is not supported. Seems there
> is no module options support for most modules in 0.4 series of ivtv
> driver anymore.

I think it is a bug in the ivtv-0.4 tda9887. I've made some fixes to 
that module in ivtv-0.4. See if that helps.

>
> I have tried all possible combinations of register settings to find
> that magic one which makes audio work. Seems, that register 0x808 has
> little (if no) effect. A register 0x809 is the one to try. The
> command
>
> /usr/bin/ivtvctl -d /dev/video1 -g reg=0x809,val=10000000
>
> does the trick (however, the setting gets effective only after a
> channel change occurs). Now every of 60 channels has instant sound,
> including even those ones which have never had before. The best part,
> this setting does not ruins sound on channels which have worked fine
> previously. So now I am a really happy ivtv user :) Thank you Hans!
>
> The setting of "reg=0x809,val=10000000" seems to affect "preferred
> audio mode" setting. According to cx25840 data sheet, this value sets
> it to "very high deviation FM 540 kHz". Value of 01000000 is not
> enough for audio detection on my tuner (or cable?), while the default
> of 0x0 always results in poor audio detection for me.

That's really interesting. I always wondered who would need that 
high-deviation stuff :-)

You mention that it did work in an older ivtv version. Do you know what 
the last working ivtv version was? I'd like to compare that one with 
the current cx25840 module.

Thanks!

        Hans


>
> > Date: Fri, 27 Oct 2006 10:54:21 +0200
> > From: Hans Verkuil <[EMAIL PROTECTED]>
> > Subject: Re: [ivtv-users] No sound for some channels on PVR150:
> >     problem pinpointed, but solution is needed
> > To: User discussion about IVTV <[email protected]>
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain;  charset="iso-8859-1"
> >
> > On Wednesday 25 October 2006 09:20, [EMAIL PROTECTED] 
wrote:
> > > A problem of the missing sound on certain (but not all) channels
> > > has
>
> bugged me since upgrading to 0.4.2 from series 0.3 driver. I have
> tried all versions of 0.4 series driver with no luck. Currently I am
> using version 0.4.7
>
> > > The problem ussually shows up as initially missing soung after
>
> switching to a channel, and sound kicks-in only after some time,
> usually after random 1-30 minutes.
>
> > > After many tries and unsuccessfull queries to this list, I have
> > > found
>
> what causes a problem. This problem appears on some channels (about
> 15% of total number). The ones broadcasting in Nicam Stereo or Nicam
> Bilingual are more prone to this problem. However, some channels with
> audio standard A2-DK1(DK2, DK3, etc.) have this problem to a bit
> lesser extennt, too.
>
> > > After trying different value combinations of register switch
> > > "ivtvctl
>
> -d /dev/video1 -g reg=0x808,val=0xXX", where XX - hex digit, as
> described in bug
>
> > > http://ivtvdriver.org/trac/ticket/58
> >
> > What value do you use for 'XX'?
> >
> > Can you try passing the TV standard to the tda9887 module with this
>
> module option: pal=d
>
> > See if that helps. At least, it is my understanding that your TV
>
> standard is PAL-DK?
>
> > Regards,
> >
> >     Hans
> >
> > > I was able to force sound to appear. However, this is only a
> > > temporal
>
> solution - after changing channels and switching back, sound is
> missing again.
>
> > > Seems to me, audio autodetection fails or lags.
> > >
> > > Has anyone solved this problem?
> > >
> > >
> > >
> > > ivtv:  ==================== START INIT IVTV ====================
> > > ivtv:
>
>  version 0.4.7 (tagged release) loading
>
> > > ivtv:  Linux version: 2.6.8-3-686 preempt 686 gcc-3.3
> > > 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 150 card (cx23416 based)
>
> > > ACPI: PCI interrupt 0000:02:0c.0[A] -> GSI 5 (level, low) -> IRQ
> > > 5
>
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
>
> > > tveeprom: ivtv version
> > > tveeprom: Hauppauge: model = 26039, rev = C1A5, serial# = 8034660
>
> tveeprom: tuner = TCL MPE05-2 (idx = 105, type = 38)
>
> > > tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K)
> > > (eeprom =
>
> 0x74, v4l2 = 0x00400e17)
>
> > > tveeprom: audio processor = CX25842 (type = 24)
> > > tveeprom: decoder processor = CX25842 (type = 1d)
> > > 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]
> cx25840: Ignoring new-style parameters in presence of obsolete ones
> cx25840 3-0044: ivtv driver
>
> > > cx25840 3-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
> > > cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> > > ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
> > > wm8775 3-001b: ivtv driver
> > > wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
> > > ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
> > > tda9887: Ignoring new-style parameters in presence of obsolete
> > > ones
>
> tda9887 3-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)
> > > input: USB HID v1.10 Keyboard [Logitech USB Receiver] on ivtv0:
>
> Encoder revision: 0x02050032
>
> > > 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) input,hiddev96: USB HID v1.10 Mouse [Logitech
> USB Receiver] on usb-0000:00:1f.2-2.2
>
> > > ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
>
> (2048KB total)
>
> > > tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by
> > > ivtv
>
> i2c driver #0
>
> > > ivtv0: Initialized WinTV PVR 150, card #0
> > > ivtv:  ====================  END INIT IVTV  ====================
> > >
> > >
> > >
> > >
> > > # ivtvctl -d /dev/video1 --log-status
> > > ioctl VIDIOC_LOG_STATUS ok
> > >    ivtv0: =================  START STATUS CARD #0 
> > > =================
>
> cx25840 3-0044: Video signal:              present
>
> > >    cx25840 3-0044: Detected format:           PAL-BDGHI
> > >    cx25840 3-0044: Detected audio mode:       dual
> > >    cx25840 3-0044: Detected audio standard:   NICAM-DK
> > >    cx25840 3-0044: Audio muted:               no
> > >    cx25840 3-0044: Audio microcontroller:     running
> > >    cx25840 3-0044: Configured audio standard: automatic detection
>
> cx25840 3-0044: Configured audio system:   automatic standard and
>
> > > mode detection
> > >    cx25840 3-0044: Specified standard:        PAL-BDGHI
> > >    cx25840 3-0044: Specified input:           Tuner
> > >    cx25840 3-0044: Specified audio input:     Tuner
> > >    cx25840 3-0044: Specified audioclock freq: 48 kHz
> > >    cx25840 3-0044: Preferred audio mode:      stereo
> > >    cx25840 3-0044: Selected 65 MHz format:    autodetect
> > >    cx25840 3-0044: Selected 45 MHz format:    chroma
> > >    wm8775 3-001b: Input: default
> > >    tda9887 3-0043: Data bytes: b=14 c=70 e=09
> > >    ivtv0: ==================  END STATUS CARD #0 
> > > ==================

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

Reply via email to