At Tue, 22 Jul 2014 11:42:58 +0100, Daniel Drake wrote:
On Tue, Jul 22, 2014 at 11:37 AM, Takashi Iwai tiwai@suse.de wrote:
What if connecting a headphone jack instead of a headset?
Does the device have another mic (internal mic or whatever)? The mis-detection of mic jack won't be a big problem if there is a single mic input, but if there are two, the driver may switch automatically per jack status, thus it becomes a real problem.
Thanks for checking through this.
The only audio capabilities of this mini-PC are the headset jack (via ALC283 codec), and audio output over HDMI (which appears as another codec under HDA architecture). There is no internal mic nor internal speakers.
When nothing is connected: Pin 0x19 (Not connected): present = No Pin 0x21 (Black HP Out): present = No
When a headset is connected: Pin 0x19 (Not connected): present = Yes Pin 0x21 (Black HP Out): present = Yes
When speakers/simple headphones are connected (no mic): Pin 0x19 (Not connected): present = No Pin 0x21 (Black HP Out): present = Yes
In the above output I excluded the other pins which are all "Not connected" and always seem to have "present = No".
OK, the jack-detection on the mic pin is really functional. I applied your patch now (with the rearrangement of the fixup position in the order). Thanks.
Takashi