At Sat, 30 Apr 2011 10:44:13 +0800, Raymond Yau wrote:
[1 <text/plain; ISO-8859-1 (7bit)>] 2011/4/30 Takashi Iwai tiwai@suse.de
Hi, this is a series of patches I'm going to apply as 2.6.40 material. Basically this adds the missing features to BIOS auto-parser mode, the support of multi-channel setup (2/4/6-channels) and the auto-mute of line-out jacks as well as speakers.
Many changes have been done but mostly in systematic manner. I've checked through hda-emu and a few machines with Realtek codecs, but of course can't cover all changes I made.
If you see any issues with the updated tree, please let me know.
How about those 4 jacks 8 channels notebook (e.g. ms-1656) ?
Currently, the detection of LO/MIC extension depends on the location of the jacks. It assumes that these jacks are located at the same place as the corresponding line-out jack(s).
I wrote in that way to avoid mis-detection. It'd be easy to change it to look through other locations.
Takashi
using hda-emu and codec info from
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5244
0x1b is internal speaker 0x14 is the green jack 0x17 is the grey jack 0x18 is the pink jack 0x1a is the blue jack
autoconfig: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:line speaker_outs=1 (0x1b/0x0/0x0/0x0/0x0) hp_outs=1 (0x14/0x0/0x0/0x0/0x0) mono: mono_out=0x0 dig-out=0x1e/0x0 inputs: Mic=0x18 Internal Mic=0x19 Line=0x1a