From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Surround speaker connection on Acer 8951G Date: Thu, 29 Aug 2019 11:30:45 +0200 Message-ID: References: <20190404192430.GA24729@xn--80adja5bqm.su> <20190719111231.GA26592@xn--80adja5bqm.su> <20190720165435.GA5855@xn--80adja5bqm.su> <20190819195714.GA2737@xn--80adja5bqm.su> <20190822203031.GA22363@xn--80adja5bqm.su> 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 mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6E013F89788 for ; Thu, 29 Aug 2019 11:30:46 +0200 (CEST) In-Reply-To: <20190822203031.GA22363@xn--80adja5bqm.su> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Sergey 'Jin' Bostandzhyan Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Thu, 22 Aug 2019 22:30:31 +0200, Sergey 'Jin' Bostandzhyan wrote: > > Next thing I am looking at is the problem with automute when HP are plugged in, > I hope you can point me in the right direction here. > > As described in one of my earlier posts, rear speakers share the pin with > the headphones jack and they get correctly muted when headphones are plugged in. > > However, all other speakers (front, center) remain unmuted. That's an ugly situation, and currently no clean way to deal with such a shared pin for outputs, unfortunately. The auto-parser can handle the case with input/output switching (e.g. sharing mic and surround), but not about the two outputs. One possible way with the current code (and your latest patch) would be to create a UCM profile. The driver should still provide the jack detection on the pin 0x1b as "Surround Jack", and this can be used as the headphone jack detection. In anyway, could you give alsa-info.sh outputs with and without your patch? thanks, Takashi