On Sat, 2010-04-17 at 09:01 -0400, Mark Lord wrote: > On 17/04/10 08:09 AM, Mark Lord wrote: > .. > > Mmm.. something is not right -- the audio is failing constantly with that change. > > Perhaps if I could dump out the registers, we might see what is wrong. > .. > > When the microcontroller is reset, does it put all settings back to defaults? The microcontroller reset via register 0x803 causes the 8051 hardware to go to reset state and jump back to execute at address 0x0000 of the loaded v4l-cx23418-dig.fw firmware image. > I wonder if this causes it to select a different audio input, as part of the reset? The microcontroller doesn't control much in the way of routing except what outputs of the SIF decoding (L+R, L-R, SAP, dbx, NICAM) to route to the dematrix and the baseband audio processing path. > If so, then we'll need to reselect the tuner-audio afterward. > Anything else? I think the extra soft reset I added might be doing something bad. Based on what I can tell: 1. Register 0x803 start/stop of the microcontroller is for sure a microcontroller hardware reset and likely nothing else 2. Register 0x9cc bit 1 is almost certainly only a software flag to the microcontroller program. It doesn't appear to affect hardware. 3. Soft reset via register 0x810 must affect hardware units and registers and not the micrcontroller itself. So perhaps you could try removing the extra soft rest I added in my changes to cx18-av-core.c I also added a mute of baseband processing path 1 to the firmware load and init in cx18-av-firmware.c. The microcontroller should be unmuting things when it detects a broadcast standard, so I didn't think it was a problem. Maybe it is. Regards, Andy -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html