From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - Add mic fixup for Gigabyte BXBT-2807 Date: Tue, 22 Jul 2014 12:48:39 +0200 Message-ID: References: <1406023109-30864-1-git-send-email-drake@endlessm.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B168E2654EE for ; Tue, 22 Jul 2014 12:48:39 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Daniel Drake Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 22 Jul 2014 11:42:58 +0100, Daniel Drake wrote: > > On Tue, Jul 22, 2014 at 11:37 AM, Takashi Iwai 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