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 B8AB1C433F5 for ; Wed, 19 Jan 2022 09:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352926AbiASJMq (ORCPT ); Wed, 19 Jan 2022 04:12:46 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:54736 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352899AbiASJMo (ORCPT ); Wed, 19 Jan 2022 04:12:44 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id BCEB81F384; Wed, 19 Jan 2022 09:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1642583563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vH8JJCBqQX/r+cXLJWue2nQbClIaooGKm6drd2hHgHQ=; b=mvDsnSUy62bkFv+nJbEaV+oWfLYPEh2C8nNj0OST9zAbO7Jtg4uHYeIq7AAQhqVjseR4Ye /3Mc9Sys+cQNL9qTWnqXd8CL50/IWaT/WKfiM3qGXMwp4jKOliUgSOHSWR87RXHHW4kmmS d4uRfpsVMf+f7kRhiB1mcE8TmpY46uA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1642583563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vH8JJCBqQX/r+cXLJWue2nQbClIaooGKm6drd2hHgHQ=; b=I2ZBpcB25T/tBsxPHjvnifs+8m/s307lPqmsM+XK6iGyrmdltXtYaqLi4VQSTjfNHYBFKD X/2hXnzCQrRHX5Dw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 7F4C9A3B81; Wed, 19 Jan 2022 09:12:43 +0000 (UTC) Date: Wed, 19 Jan 2022 10:12:43 +0100 Message-ID: From: Takashi Iwai To: Alexander Sergeyev Cc: Jeremy Szu , tiwai@suse.com, "moderated list:SOUND" , Kailang Yang , open list , Huacai Chen , Jian-Hong Pan , Hui Wang , PeiSen Hou Subject: Re: [PATCH 1/4] ALSA: hda/realtek: fix mute/micmute LEDs for HP 855 G8 In-Reply-To: <20220115152215.kprws5nja2i43qax@localhost.localdomain> References: <20220112101249.ya73jvpmqmeh4ggg@localhost.localdomain> <20220112104827.4aymoth7ua65nwge@localhost.localdomain> <20220112201824.qmphnz2hx4frda6e@localhost.localdomain> <20220113183141.kla37mbqmo4x6wxp@localhost.localdomain> <20220114183720.n46wealclg6spxkp@localhost.localdomain> <20220115152215.kprws5nja2i43qax@localhost.localdomain> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 15 Jan 2022 16:22:15 +0100, Alexander Sergeyev wrote: > > On Sat, Jan 15, 2022 at 08:55:28AM +0100, Takashi Iwai wrote: > > > This patch solved the BUG problem. But after unbind/bind micmute LED > > > stopped working. Speakers and mute LED are fine though. > > Does the corresponding sysfs entry exist in /sys/class/leds/*? > > Yes. > > > And can you control LED over there? > > After "out of range cmd" messages the sysfs entry remains present, but writing > ones to the brightness file stops to produce any effect. > > Actually, the timing issues are present here as well. Sometimes unbind & bind > works fine. But fails on the second round. Here "fails" means the kernel Oops / crash? If yes, the back trace would be helpful. thanks, Takashi 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8B4CBC433F5 for ; Wed, 19 Jan 2022 09:13:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AB5341791; Wed, 19 Jan 2022 10:12:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AB5341791 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1642583618; bh=vA8wUOM07DE76RbCA29aB59ktfy2DFJgixwcsnXgU1M=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=C3HnfqZNxWO2Ehc/gM33l7iZsMlo3HnL98YMKmBO9VAjb2TsqrIlstWaq/naimpaI dNdinNv3zAOMwRumqsTbAJvzyJ+lmdgs/3gSR2jAiyUj6iU4VgZ15TdnlW+hIYxuay mLp/3vR81etofh9o4cgbhJoSB5GOGv4QKoYG1/Cs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4B783F800F8; Wed, 19 Jan 2022 10:12:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 45D40F801F7; Wed, 19 Jan 2022 10:12:47 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3BD20F800F8 for ; Wed, 19 Jan 2022 10:12:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3BD20F800F8 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="mvDsnSUy"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="I2ZBpcB2" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id BCEB81F384; Wed, 19 Jan 2022 09:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1642583563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vH8JJCBqQX/r+cXLJWue2nQbClIaooGKm6drd2hHgHQ=; b=mvDsnSUy62bkFv+nJbEaV+oWfLYPEh2C8nNj0OST9zAbO7Jtg4uHYeIq7AAQhqVjseR4Ye /3Mc9Sys+cQNL9qTWnqXd8CL50/IWaT/WKfiM3qGXMwp4jKOliUgSOHSWR87RXHHW4kmmS d4uRfpsVMf+f7kRhiB1mcE8TmpY46uA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1642583563; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vH8JJCBqQX/r+cXLJWue2nQbClIaooGKm6drd2hHgHQ=; b=I2ZBpcB25T/tBsxPHjvnifs+8m/s307lPqmsM+XK6iGyrmdltXtYaqLi4VQSTjfNHYBFKD X/2hXnzCQrRHX5Dw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 7F4C9A3B81; Wed, 19 Jan 2022 09:12:43 +0000 (UTC) Date: Wed, 19 Jan 2022 10:12:43 +0100 Message-ID: From: Takashi Iwai To: Alexander Sergeyev Subject: Re: [PATCH 1/4] ALSA: hda/realtek: fix mute/micmute LEDs for HP 855 G8 In-Reply-To: <20220115152215.kprws5nja2i43qax@localhost.localdomain> References: <20220112101249.ya73jvpmqmeh4ggg@localhost.localdomain> <20220112104827.4aymoth7ua65nwge@localhost.localdomain> <20220112201824.qmphnz2hx4frda6e@localhost.localdomain> <20220113183141.kla37mbqmo4x6wxp@localhost.localdomain> <20220114183720.n46wealclg6spxkp@localhost.localdomain> <20220115152215.kprws5nja2i43qax@localhost.localdomain> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "moderated list:SOUND" , Kailang Yang , Jeremy Szu , Huacai Chen , open list , tiwai@suse.com, Hui Wang , PeiSen Hou , Jian-Hong Pan X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Sat, 15 Jan 2022 16:22:15 +0100, Alexander Sergeyev wrote: > > On Sat, Jan 15, 2022 at 08:55:28AM +0100, Takashi Iwai wrote: > > > This patch solved the BUG problem. But after unbind/bind micmute LED > > > stopped working. Speakers and mute LED are fine though. > > Does the corresponding sysfs entry exist in /sys/class/leds/*? > > Yes. > > > And can you control LED over there? > > After "out of range cmd" messages the sysfs entry remains present, but writing > ones to the brightness file stops to produce any effect. > > Actually, the timing issues are present here as well. Sometimes unbind & bind > works fine. But fails on the second round. Here "fails" means the kernel Oops / crash? If yes, the back trace would be helpful. thanks, Takashi