#9371 NORM 1.5-F11: Measure doesn't launch, mic_gain problem
Zarro Boogs per Child
bugtracker at laptop.org
Mon Jul 6 06:06:41 EDT 2009
#9371: Measure doesn't launch, mic_gain problem
---------------------------------+------------------------------------------
Reporter: dsd | Owner: dsd
Type: defect | Status: new
Priority: normal | Milestone: 1.5-F11
Component: sugar | Version: not specified
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------+------------------------------------------
Comment(by dsd):
OK, I think I understand now. On the XO-1 we used the CS5535 V_REFOUT
switch to disable the microphone when doing sensor input, and then to
actually send the input to the capture channel we added that "DC Mode
Enable" switch to take place of the CS5535 HPF.
And now on the XO-1.5, we just have to add a software-level DC Mode Enable
switch which plays into the capture port selection logic as follows:
* If DC Mode Enable is set, use port F for capture input
* Otherwise, if there is an external microphone plugged in (according to
HDA registers), use port B for capture input
* Otherwise, use port C for capture input
...and that's it?
Which pin mode should I set on port F? My options are:
* PIN_VREF50 (1)
* PIN_VREF80 (2)
* PIN_IN (3)
* PIN_OUT (4)
* PIN_HP (5)
We also have to select the right microphone input from a choice of 8,
although this could be determined with a quick experiment or perhaps even
a likely guess that Mic_F is the one we want:
{{{
case CXT5066_CAPSRC_F_MIC:
snd_hda_codec_write_cache(codec, 0x17, 0,
AC_VERB_SET_CONNECT_SEL, 3);
snd_hda_codec_write_cache(codec, 0x14, 0,
AC_VERB_SET_CONNECT_SEL, 0);
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/9371#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list