[ivtv-users] CX18 audio interference

faginbagin mythtv at hbuus.com
Thu Apr 30 07:02:48 CEST 2009


Hi Andy,

I finally had a chance to test the cx18-init-debug repo. Unfortunately
it doesn't solve the audio static problem. In your reply to Terry, you said:

> Last night, I moved over a few patches from my cx18-init-debug repo to
> 
> http://linuxtv.org/hg/~awalls/v4l-dvb
> 
> and asked for them to be pulled to the main repository.
> 
> These changes do 2 things:
> 
> 1. Verify the audio broadcast decoder firmware load (cx23418-v4l.dig),
> by reading back every byte that was uploaded to the CX23418.  An info
> message will be logged if things were good, and an error message will be
> logged if things were bad.  No automatic corrective actions will be
> taken on failure to verify the firmware load. (yet, at least).

I think I see that verification message:
[10391.229402] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)

> 2. Whenever the internal audio input mux is being set, the driver will
> ensure the mux routing control  bits change, even if that means
> switching the mux away to some other audio input and then back.  That
> way we can reliably tell we made the audio input mux control bits
> change.

I think you're referring here to the error messages in this patch:
http://linuxtv.org/hg/~awalls/cx18-init-debug/rev/93828c207b80

I see only one such message:
[10899.263227] cx18-0: cx18_writel failed to write 0x00000b05 to addr 0x02c72014

And I believe it's to be expected, because it occurred when I called:
v4l2-dbg -c host0 -s 0x2c72014 0xb05
and the value that's read back is 0x305, right?

The good news is that with that register set to 0xb05, sound is clear using the
cx-init-debug modules. I'm attaching dmesg output starting when I modprobe'd cx18.
Hope it helps.

FWIW, a while back, you asked Terry whether APU & CPU firmware were loaded twice.
What I see are two pairs of requests to load them. Only the first pair of requests
are followed with "loaded" messages. After the second pair of requests and some info
msgs I think are related to firmware loading, the DIG firmware is requested,
loaded and verified.

HTH,
Helen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg-init-debug.txt
Url: http://ivtvdriver.org/pipermail/ivtv-users/attachments/20090430/dd483794/attachment.txt 


More information about the ivtv-users mailing list