Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1909831imm; Thu, 21 Jun 2018 04:31:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI3sVuCeRuRVvCWUk6gvy/Xo1cF+BHQBw0mZAT4COX7o8glE2XlW+61Si3GMBNgl3TS4ucd X-Received: by 2002:a17:902:8306:: with SMTP id bd6-v6mr28340405plb.120.1529580693401; Thu, 21 Jun 2018 04:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529580693; cv=none; d=google.com; s=arc-20160816; b=wOzHzPQRHRieLNmQSHEg08637XCKEKFzta+u5GO0u2deX9qdvjR6vna/H1RkZjW6fU 1pqweLfHq3JaZ0J0tT/wIztpwo/5gQMZgB23mUkB9UcEqk/j2fhvDMwUbTkL5eW2HE/e TZuqN1I4YEh0ag8tmE9D9F4jS/e7kFzW+NqqyiXIjtXTbE0C+yYsIyU4WZKj6vepSGm9 FtBsk86olf0KcaVD0QvPox1PuE47QWulu+knB7krIdsSX4nDg91r28fQG6mMLSDlqn9K J3wk+WC+XmpI+2dV/a09EGIAhmEztuZ5HePI0bJIBCPFDKMR3RUKso9v8d/POYigpfv2 dejw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Nf6xFkDF6TmSAc7t3o4UNOl+30sbqhAIIKkh2yf4e2U=; b=lpfD32sw6TO6H3m+8NTwSOW6c07IOTTDC//UySuWJ174vc0G1/reP1lpdA90I8ehfH SKPyG9tkLDxSPPw5cdVetX6R8oZn3cJ0fXT069akJi3V12mYgXzDsUteIGRnhZks92KM Z0p9ve/k3mFoYbvEBSB7bDSKEq7rfbNNqfwC73l7czqbS81Pl4nxQfsrkprmv5C2CE+z 1/7qvPC79GfWJJg1aU7Gf+8tXiFE48f64tehOmQR/qFIaoID0J0PkVqzTBJ21n0EpDyL gSQP3gpCt5nQhtBrJSslykCX3B684Acz8qto8CWXHuMURkCQPsDag9lspRTXSHnMqEtq x+dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i5phekq1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si890920pgc.179.2018.06.21.04.31.10; Thu, 21 Jun 2018 04:31:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i5phekq1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933145AbeFULag (ORCPT + 99 others); Thu, 21 Jun 2018 07:30:36 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35255 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932947AbeFULae (ORCPT ); Thu, 21 Jun 2018 07:30:34 -0400 Received: by mail-wr0-f195.google.com with SMTP id l8-v6so2821110wrr.2; Thu, 21 Jun 2018 04:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Nf6xFkDF6TmSAc7t3o4UNOl+30sbqhAIIKkh2yf4e2U=; b=i5phekq1r9D0nNu2BoCTxHLCjg8/RWEavI2XpG2BHqcFHIulKFYTTDSIrDbswrsAFJ asZUiqKIRshJKMKCQKqkizVhLDAUpKE/yYV1wcVM48jT4x+/Cm0YsMuKXWDhz1JMTQzA GBrUZC4EVq3Nev05WBbPwaY1p9wTuTJP2E/uYPfNRAYJzT/L7O9VewpxDonS6RbrfHZI xHGFwsQA6sQWBGQODeuFoAVtSrrx1WHs9E4gcrCB8K31l8tapvgRd+p/IN7hk9vyoe85 wcK1xkWNlFKZc0gtCDrgxzj9PlkhP/9dNnd6nQ6HB+Os26LXuaUr7KG1/o52Hs4ab1Gq JvOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Nf6xFkDF6TmSAc7t3o4UNOl+30sbqhAIIKkh2yf4e2U=; b=QEzNn7ZlCCGJdHO+60zHYkBKyl8+4M7zCp1IO8AxPiYVi6Be0af06nW4V3zep2aGDf lp22a5EY94Jr9g4+89Wznu0GMy2nCt/4s5jkPSIlNJQGU8liK5dI0ugOin5faUyyzuDS 7Cf23cESHsW6jGUsPvhOdjLGQ6HANMIDsqpWG7fQwGiPDttVT3Zu9o4glXV7YS5hT4Hi uAs0wY3qW/Lu0p9b+HiTu/wfHZbfvT7EJZy9ZvkRjR+Tp0xfymOxgkYt1pGF8RxS+E+D aaMEtJKp1zB7pPXJrpxRyLnie2K2Pglw5T2oAh/IfgKWIVYRKCTVIvNALYwcvTy956EU cEbw== X-Gm-Message-State: APt69E2ZI1S0RxVRYz2zFHM6uhJcgsWpXYv6DIZLei9Xb/h6MySZKTjW whM7BdhO4iiIkOndFW7MweU= X-Received: by 2002:adf:f391:: with SMTP id m17-v6mr20600546wro.279.1529580633524; Thu, 21 Jun 2018 04:30:33 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id n14-v6sm4979236wrm.23.2018.06.21.04.30.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jun 2018 04:30:32 -0700 (PDT) Date: Thu, 21 Jun 2018 13:30:31 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Takashi Iwai Cc: Henrique de Moraes Holschuh , ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: ThinkPad T480s & LED_MUTE, LED_MICMUTE Message-ID: <20180621113031.gv53yv3g46uaetwm@pali> References: <20180615190959.pqipwnm6a3tf3lxc@pali> <20180616154309.ualrx2py6ndr5xgz@pali> <20180618102806.vwm4rhvxhn6hi43z@pali> <20180618112121.cl76a3oozsbbbqnb@pali> <20180618112618.hcwiacfzzu4swwd2@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 18 June 2018 17:35:18 Takashi Iwai wrote: > On Mon, 18 Jun 2018 13:26:18 +0200, > Pali Rohár wrote: > > > > On Monday 18 June 2018 13:21:21 Pali Rohár wrote: > > > Now I see that in Debian backports is some 4.16.12 kernel version. I can > > > try this one (and later compile one from Linus tree). > > > > Tested, this version is working fine and leds works as expected. And now > > also snd_hda_codec_realtek is loaded. > > Good to hear :) > > Below are test patches to allow user choosing the mic mute LED > behavior on Thinkpad, too. Note: totally untested! > > Let me know if these work for you. I applied them to Debian's kernel (with slightly modification) and they are working fine. Via "alsamixer -c 0" I can change "Mic Mute-LED Mode" to "Follow Capture" and then led is ON only when microphone is ON. Recording from microphone is working in both configurations. If testing with Debian's kernel is enough, you can add my: Tested-by: Pali Rohár Anyway, (this question is also for Henrique), what can we do with MUTE led to work? Support for controlling it was there, but was revered in commit 3530febb5c7636f6b26d15637f68296804d26491. -- Pali Rohár pali.rohar@gmail.com