From: Jonathan Woithe Subject: Re: HDA regression on Fujitsu S7020 laptop (ALC260 codec) Date: Tue, 19 Feb 2013 08:43:24 +1030 Message-ID: <20130218221324.GA2088@marvin.atrad.com.au> References: <20130210114707.GA26574@marvin.atrad.com.au> <20130216112505.GE4164@marvin.atrad.com.au> <20130217125316.GA25824@marvin.atrad.com.au> <20130218125003.GC14697@marvin.atrad.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from server.atrad.com.au (server.atrad.com.au [150.101.241.2]) by alsa0.perex.cz (Postfix) with ESMTP id 586A926513B for ; Mon, 18 Feb 2013 23:13:29 +0100 (CET) Content-Disposition: inline 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: Raymond Yau Cc: Takashi Iwai , alsa-devel@alsa-project.org, jwoithe@just42.net, peter.golden@btinternet.com List-Id: alsa-devel@alsa-project.org On Mon, Feb 18, 2013 at 08:58:28PM +0800, Raymond Yau wrote: > > > > > > To confirm the behaviour: the "Headphone Jack Mode" control appears in > > > > 3.8.0-rc5+ but a corresponding control for the mic/line-in jack does not. > > > > > > Ah, I see. This doesn't appear as default. You need to pass a hint > > > string in the firmware patch file. See a brief description in > > > Documentation/sound/alsa/HD-Audio.txt. > > > > Right. I'll take a look at this documentation. I must say that it strikes > > me as a little odd that input jacks don't have a mode control by default. I > > would have expected that such controls would be desired by enough people to > > justify having them appear by default without each user having to mess > > around with firmware patch files and the like. > > > > I assume the magic knob is add_in_jack_modes. > > > > Is there any reason why alc260_fixup_fsc_s7020() couldn't set > > spec->gen.add_in_jack_modes to 1 in the HDA_FIXUP_ACT_PRE_PROBE phase much > > like it already sets add_out_jack_modes? > > Is it possible to add spec->gen.add_in_jack_modes automatically when > automic is disabled and there is no line in jack That would work for me - it sounds like a good idea. Regards jonathan