On Tue, Jan 04, 2005 at 11:51:21AM +0100, Ulf wrote:
> I don't know anything about audio in NTSC. But it seems to me from your
> description that the NTSC tuner on your card has a line-out connection with
> demodulated audio. This seems to be routed on the NTSC 150 card to the
> wm8775 chip.

I had some feedback with Hauppauge development, so here it comes hot
from the press:

o PAL and NTSC are not handled differently wrt audio

o Switching audio input involves the following steps:

  1. Put into soft reset (reg x810)
  2. For Non-Tuner input...
     A. Disable Audio Firmware (reg x803)
     B. Setup Wolfson.
     C. Set Audio Path (reg x8D0 value 0x01011012).
  2. For Tuner Input...
     A. Enable Audio Firmware (reg x803)
     B. Set Audio Path (reg x8D0 value 0x1F063870).
  3. Take out of soft reset (reg x810).

Hope this helps :)

> On my PAL cards, the broadcast audio demodulation of tuner audio is made by
> the cx-chip, hence in tuner mode the wm8775 input is disabled and the cx
> internal audio source is used.    
> 
> This is consistent with your description that you have no audio when tuner
> is selected and that the composite and s-video inputs has the tuner and
> composite audio mixed. The wm8775 chip has 4 stereo line-in inputs which can
> be mixed. My wm8775 driver mixes all signals simply because I was to lazy to
> find out which of the inputs that is actually used.
> 
> I've created a new patch where you can specify a input enable value to the
> wm8775 module like this:
> insmod wm8775 mixer_input=1
> 
> The four different inputs are selected as with 1,2,4 and 8. I've also added
> an input -p 5 that uses the wm8775 for audio and tunner. If you could try
> thw wm8775 module with different values for mixer_input when can isolate
> which setting is which input. This is not a final soloution just a way to
> get more information.
> 
> New patch can be found here:
> http://eklund.to/cx25840-wm8775-2005-01-04_11.42.31-patch-for-ivtv-0.3.2a.gz
> 
> > cx25840: *** I2C Write to no cx25840 device 0x43.
> > cx25840: I2C sequence write failed, length 4, ret -121
> You can ignore this error, I2C device 0x43 is not present on the NTSC cards
> it seems....
> 
> /Ulf.    
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hammack
> Sent: 04 January 2005 03:22
> To: [email protected]
> Subject: Re: [ivtv-devel] PVR150/500 audio and video patch.
> 
> Ulf,
> 
>   Donation made!
> 
>   Preliminary results on my PVR-150 Model 1045 (NTSC):
> 
>   - no problems compiling or loading modules (did modprobe vs. insmod on
> ivtv.ko):
>  
> Module                  Size  Used by
> sha1                    8192  0 
> md5                     3648  0 
> ivtv                  812036  0 
> wm8775                  8856  0 
> tuner                  19492  0 
> cx25840               138848  0 
> 
>   - using composite input, I hear tuner audio
>   - using S-video input, I hear tuner audio
>   - using tuner input, I hear no audio.
> 
>   - NTSC tuner input seems to be working (I had to use 'ivtvctl -u 0x3000'
> vs. 'ivtvctl -u 0' to select NTSC), but I cannot change channels using chann
> utility, although it reports success.
> 
>   - The only interesting lines (last two) from dmesg:
> 
> cx25840: *** I2C Write to no cx25840 device 0x43.
> cx25840: I2C sequence write failed, length 4, ret -121
> 
>    I'll continue to troubleshoot until my wife complains.  ;-)
> 
>                           Thanks,
>                             Jim 
> 
> 
> 
> 
> Jim Hammack
> [EMAIL PROTECTED]
> 
> 
> 
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> 
> 
> 
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel

-- 
Axel.Thimm at ATrpms.net

Attachment: pgpaVApkEO5bi.pgp
Description: PGP signature

Reply via email to