From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 835E7C4332F for ; Mon, 19 Dec 2022 10:01:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231548AbiLSKBL (ORCPT ); Mon, 19 Dec 2022 05:01:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiLSKBG (ORCPT ); Mon, 19 Dec 2022 05:01:06 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57785DFA8 for ; Mon, 19 Dec 2022 02:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671444016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2L77LTJlh+TWM02KCjT0QXgg2/YWKeH8U+AND45/ryw=; b=MFQLiSdc1IcKzJaS7dcQVx87joIgL21v11sMcyK1kXTl6xsLKRmyU1RJRP3A4/jjR8xGv/ SAz7DsFFq0Qx376e7/KSmSnmTopVp9duvG3jqvpSc/VzvbKhbSdJp1jBegRcYe5IrIoTAy carhcYhbMtCUwNNQ34ripZgkkp1UesY= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-184-Rqdr8HDzMwSD83v_ZKjPjQ-1; Mon, 19 Dec 2022 05:00:14 -0500 X-MC-Unique: Rqdr8HDzMwSD83v_ZKjPjQ-1 Received: by mail-ed1-f72.google.com with SMTP id b16-20020a056402279000b0046fb99731e6so6111209ede.1 for ; Mon, 19 Dec 2022 02:00:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2L77LTJlh+TWM02KCjT0QXgg2/YWKeH8U+AND45/ryw=; b=cJNsDXBUI+6dimYZWkZt8XoXJn43NH7BiThiEfOpQO4CIUKTqP6BbLJh52Id6MiBfF i3FkdkJwLy2D7SqfSDPt68iQjf3Fj/wu/7F8/fQfC5fpoCyiUXCzBeimo29HAOYX/fTK 1x5o8NMbPCYGDhSCFsdiq9FPPFaAGw9dOcmINTW60VX1wKdSRNABeehADDNj+TThW2jj n9XSG15qse8PO22//ZSH6WgVFEY83Wl6G/puqnsFl8OIxhz9X6e7BhXXJ/U7NIWcoXDl emiUjPDS7OpEjmcUmt7bHXzvppcQz1xhzb+HwqLssD+dxeIaOFnH0bZHrzAzW0gH9Aqz 6qNw== X-Gm-Message-State: AFqh2kq2Vzc0rvE+pVhnhLP3bsHeFvXq4TSBnfSIicpVadGpJ8oitFpO w8jyws8AU9EU0b9MufEVOu0pEtKWd0127xImL2nrzYbMB9VKBMF91/PtaWA9uuoJVcaBHnEPuMD cltZCjPyRkTthK6d+pyaY2x+n X-Received: by 2002:aa7:cc89:0:b0:468:3d69:ac81 with SMTP id p9-20020aa7cc89000000b004683d69ac81mr15809199edt.29.1671444013034; Mon, 19 Dec 2022 02:00:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXtoTXdXcGAP5qPieS3+Mkh48xVqSW7mBaIUsc6jBbyxolMG0ylpPbaR5izWlBEeOOcmfbMl7Q== X-Received: by 2002:aa7:cc89:0:b0:468:3d69:ac81 with SMTP id p9-20020aa7cc89000000b004683d69ac81mr15809191edt.29.1671444012868; Mon, 19 Dec 2022 02:00:12 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id g7-20020aa7d1c7000000b0046aba24985esm4146635edp.91.2022.12.19.02.00.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 02:00:12 -0800 (PST) Message-ID: <572159b3-a1a4-8735-d435-ea574c07851f@redhat.com> Date: Mon, 19 Dec 2022 11:00:11 +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?= To: Thorsten Leemhuis , Jaroslav Kysela , Takashi Iwai Cc: sonic82003@gmail.com, plum , "regressions@lists.linux.dev" , alsa-devel@alsa-project.org, LKML References: Content-Language: en-US, nl From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/19/22 10:17, Thorsten Leemhuis wrote: > Hi, this is your Linux kernel regression tracker speaking. > > 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 : 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 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 Regards, Hans