Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2368075rwj; Mon, 19 Dec 2022 03:43:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf7JnWM3FskWKBxDPuvJr2EuvZCz0cK2O5MMTKDaE3Sx1r3ubjS8BUo3aSfqasTh6AAOEXYK X-Received: by 2002:a05:6a00:1388:b0:577:1c59:a96c with SMTP id t8-20020a056a00138800b005771c59a96cmr54369665pfg.2.1671450239052; Mon, 19 Dec 2022 03:43:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671450239; cv=none; d=google.com; s=arc-20160816; b=m1dI95cqB9Xq8xKx71qMgTC4JgQLsSr6yiZv1eF8TjiPRQ3HTPVZ1iKy45Y50ZYIdl hMUyBOZTx83oy2K/UKgIzUrzMuM2S4i6NB03o7Oev+5qQoWgpb1o/6wbuLYIHrLlR3q+ Rb/xHfDr94QQpkrOL3YwQpaoQJEzJJgRl/s8pzqHMzTKBJCTPtYqfPgx+jD6rZugsq/r 4IIqFy94owLLJCixGXpeT4av1bBOBzW4+Q2+pXpPHdeAVW/hEsKAfRNUjeWLd2rUp9/O 2zbKuTLFz9gOHbBC6uBmDbD5TkOmWVbQs6/ULkCF4ImdJYTg1Km9PVbBm0FvtsWECkua 5jyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=4eMYd+DTycKJm8FYKkyUTo1T0G0VNUOZ2OOYDBWI48s=; b=dRl9b+CMhASEzVhwv1a4Uyw6k+13+GZgk5GMLqm8Rad7C/Evzoey8MFzdaqs3/EPLO /are6O21MgGduERPsFR9UuwW6LwnL10vnKGKnTjg9o1aJGcKAfO24/iybFmE69bWZtn3 4X9inmwfRoGVCeHlD91OKf34aEFbiFxDG1kImAuZtLrnosnh2GtCoEPcD6V4TVICqy+f T6rmu4kTybj2qH6/8ngE/rmBV8JLJYL9y00hC9PulVrsMdPRwKItS1UBBJQXPZ8DJZUn UNGetCpVDXFa0gDMSLBZ37jcsOtei9oNBA/QY9CX+ZEawlsYGH+XUL4X2mYKa1vVDxep WcmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c11-20020a056a00248b00b005752121f13dsi10824209pfv.113.2022.12.19.03.43.50; Mon, 19 Dec 2022 03:43:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbiLSK1N (ORCPT + 70 others); Mon, 19 Dec 2022 05:27:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231753AbiLSK1I (ORCPT ); Mon, 19 Dec 2022 05:27:08 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 317642D8 for ; Mon, 19 Dec 2022 02:27:07 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1p7DMM-0007WS-Fn; Mon, 19 Dec 2022 11:27:02 +0100 Message-ID: <9f0e95d1-5057-93f0-ad9e-985eaeed0226@leemhuis.info> Date: Mon, 19 Dec 2022 11:27:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: =?UTF-8?Q?Re=3a_=5bregression=5d_Bug=c2=a0216818_-_The_microphone_m?= =?UTF-8?Q?ute_led_not_working_after_linux_6?= Content-Language: en-US, de-DE To: Hans de Goede , Jaroslav Kysela , Takashi Iwai Cc: sonic82003@gmail.com, plum , "regressions@lists.linux.dev" , alsa-devel@alsa-project.org, LKML References: <572159b3-a1a4-8735-d435-ea574c07851f@redhat.com> From: Thorsten Leemhuis In-Reply-To: <572159b3-a1a4-8735-d435-ea574c07851f@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1671445627;bd594f62; X-HE-SMSGID: 1p7DMM-0007WS-Fn X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19.12.22 11:00, Hans de Goede wrote: > On 12/19/22 10:17, Thorsten Leemhuis wrote: >> I noticed a regression report in bugzilla.kernel.org. As many (most?) >> kernel developer don't keep an eye on it, I decided to forward it by >> mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216818 : >> >>> sonic82003@gmail.com 2022-12-18 08:52:32 UTC >>> >>> The mic mute led of my ThinkPad X1 Carbon Gen 9 doesn't work anymore after updating linux to version 6. >>> I can still turn it on by running >>> >>> echo 1 > /sys/class/leds/platform::micmute/brightness >>> >>> With linux-lts it still works fine. >> >> See the ticket for more details. >> >> Note, I found a similar report that (despite my attempts to prevent >> things like this from happening) fell through the cracks here: >> https://bugzilla.kernel.org/show_bug.cgi?id=216355 >> >>> plum 2022-08-13 02:11:01 UTC >>> >>> I upgrade to kernel 5.19.1 but found my thinkpad x1 carbon 2021's mute led stop working. >>> >>> Function is okay but LED won't light up. >>> >>> Back to kernel 5.18 and it's normal and working again. >>> >>> Fedora 36 64 bit >>> Gnome-shell 42 >> >> From a quick research it looks to me like this is an issue for the >> sounds maintainers, as the LED itself apparently works. If that is >> something for the platform people instead please speak up. > > Thanks for bringing this up, we recently hit this in Fedora too > and we have a fix/workaround there. Let me copy and paste what > I just added to bko216355 : Many thx for sharing these details, really helpful. > This is caused by a behavior change of the kernel code controlling the LED to only turn on the LED when all inputs, including e.g. the jack mic input are turned off in the alsa-mixer settings. > > But most userspace code only turns the mic which it is actually using on/off when you hit the mic-mute hotkey. > > Also see: https://bugzilla.redhat.com/show_bug.cgi?id=2134824 Ahh, lot's of helpful information and even a bisect there. :-D #regzbot introduced: 9b014266ef8ad0159 > Which is the same bug. > > There is a set of fixes available in the form of an alsa-ucm update which tells the kernel to ignore the state of the jack mic input restoring the old behavior: > > https://git.alsa-project.org/?p=alsa-ucm-conf.git;a=commitdiff;h=79a8ec44d3dcf097f4a4492c506cbcf338324175 > https://git.alsa-project.org/?p=alsa-ucm-conf.git;a=commitdiff;h=9ce9ddb4a84fb467602b716575ea1d8f2bab0c39 Hmmm, that's nice, but well, by Linux' "no regressions rule" the issue is caused by kernel change and thus must be fixed in the kernel, e.g. without forcing users to update anything in userspace. Jaroslav, are there any plans to do that? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.