Comment 21 for bug 701271

Revision history for this message
Alex Howarth (alex-howarth) wrote :

This patch fixes the problem switching between built in and jack speaker/mic on my Lenovo G560.

What it doesn't solve is the internal microphone's inability to pick anything up.

I have the 'crack of the day' alsa installed by following this:

https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules

alex@foo:~$ uname -a
Linux foo 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011 x86_64 GNU/Linux

alex@foo:~$ grep asus /var/log/messages
Apr 5 21:06:15 foo kernel: [ 16.867976] ALSA hda_codec.c:3727: hda_codec: model 'asus' is selected for config 17aa:38af (Lenovo G560)

In order for the internal microphone to be *any* use at all I need to run hda analyzer and bump up the gain?.

The diff from hda analyzer is:

Diff for codec 0/1 (0x14f15069):
---
+++
@@ -87,17 +87,17 @@
     rates [0x160]: 44100 48000 96000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power: setting=D0, actual=D0
   Connection: 4
      0x17* 0x18 0x23 0x24
 Node 0x17 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x04 0x04]
   Power: setting=D0, actual=D0
   Connection: 4
      0x1a* 0x1b 0x1d 0x1e
 Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
   Amp-Out vals: [0x00 0x00]
   Power: setting=D0, actual=D0
   Connection:

Without this the internal microphone is completely useless - it looks from this thread like I'm not alone with this problem either. Any chance it could be patched?