Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1423967pxb; Sat, 15 Jan 2022 11:43:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyy12gf8/pqGXaF0aVdXLxUwozONTv8z3jsrQSM3m+vfjMF1E8JJ1DBwCxYIbSeYNFLuObd X-Received: by 2002:a17:903:11c3:b0:14a:58c4:f34c with SMTP id q3-20020a17090311c300b0014a58c4f34cmr14993483plh.151.1642275811290; Sat, 15 Jan 2022 11:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642275811; cv=none; d=google.com; s=arc-20160816; b=VkUBT4Q0mn/aH2YakhjO3Nc6OBP2bNrQD7CeRUAvNvZFuw73JXtrJUHsRw3FBPm1Qn osSsTvN1Sh2fJHJmCWGB1o2I/ejVrpv8V4VxgcwKn0GToIkehmWNCmc5MEfvaSPqfFsJ tHV7Mc4xBRwH2PN5ntVvpfTsGyR4pPnJ1bpX7Jw57mxkj8n1ZuC8uCUMwTrFh5zstJpM DFqqMDeh/hDyBYBLF+A3jHVpzqsmO3xRkb+VmpfjxzZtyM50BZgQHPs9NLKas8XeCXcI 5pSCi17aHHDiPsO/gdheRLvk6UfA9SoXnThnmlUllJZgXmQemAW+DoLt20oQHLkVXn9Q RgFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=vbSkh4UntaygzRJkDFV/8mX3nAqS8NhGLcZl6dVcAzY=; b=O06YYrKqUIpn+gxqFKKKKqzidFG0STWT7yqWXzRBD1ZTLLUg0OPInR4KkcsfZKLTJ5 k5Dxc15XzCoLTNpyWxM92H+8QZzYMOYYYBFk5vNWPeoLhGHZ8x+sHHJvumimA/vAHDhp x2Q52+bw5UM7WpHoJylV1QvfF5DfT3sugf3jyCjKthaSIwT8eUzZ108jDKmP6rW0nRhG apfpMNFZwDmfNgg5yQ/bm/KLVv8c8lrlAq+UmcLYvQlUipPSK+Bh/X1X5UCuN03whEDZ FDoBLTnte5xjXvdqBtC1v6fGPC/014dcjFk45x2CL0kNdfZ9lxR/jQWNt75Bra/XR2ak ning== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ROou3wcQ; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i28si9512031pgm.350.2022.01.15.11.43.19; Sat, 15 Jan 2022 11:43:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ROou3wcQ; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230076AbiAOHza (ORCPT + 99 others); Sat, 15 Jan 2022 02:55:30 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:58726 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiAOHz3 (ORCPT ); Sat, 15 Jan 2022 02:55:29 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 60E7D1F3A7; Sat, 15 Jan 2022 07:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1642233328; 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=vbSkh4UntaygzRJkDFV/8mX3nAqS8NhGLcZl6dVcAzY=; b=ROou3wcQitCIjHYh3ohJaecX2Bqbm5A6jZ1hLdxIexi6naaSlkrqzMJLb8bGC8BpuPyzt6 z5aKi60VMasjoyUimEXE7uj+Bo7c7vkZFaYuRYTB9NrMwRIJaFyrlg+r73WubRYgU3J60r zXQ4QFiIc9UUgzlhru0H3pxG79iWpHg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1642233328; 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=vbSkh4UntaygzRJkDFV/8mX3nAqS8NhGLcZl6dVcAzY=; b=AOzgvSaHSSj22/Z67r4IWoPtIQ/63wDzYwufUq6G0XneSSqKuCPoc6vpQj8VofncYD/gYb U8Mv8aSglT972ZBg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 1221BA3B81; Sat, 15 Jan 2022 07:55:28 +0000 (UTC) Date: Sat, 15 Jan 2022 08:55:28 +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: <20220114183720.n46wealclg6spxkp@localhost.localdomain> References: <20210519170357.58410-1-jeremy.szu@canonical.com> <20220111195229.a77wrpjclqwrx4bx@localhost.localdomain> <20220112101249.ya73jvpmqmeh4ggg@localhost.localdomain> <20220112104827.4aymoth7ua65nwge@localhost.localdomain> <20220112201824.qmphnz2hx4frda6e@localhost.localdomain> <20220113183141.kla37mbqmo4x6wxp@localhost.localdomain> <20220114183720.n46wealclg6spxkp@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 Fri, 14 Jan 2022 19:37:20 +0100, Alexander Sergeyev wrote: > > On Fri, Jan 14, 2022 at 05:37:42PM +0100, Takashi Iwai wrote: > > > I assume that the referred repository is the one at [1]. I've tried > > > 081c73701ef0 "ALSA: hda: intel-dsp-config: reorder the config > > > table". It crashed with nearly identical logs. > > > > OK, then it's still something to do with the led cdev > > unregisteration. > > > > Could you try the patch below? > > 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/*? And can you control LED over there? > Dmesg: > snd_hda_intel 0000:05:00.6: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0015 address=0x1fffff800 flags=0x0020] Hmm, that looks bad. Something must be accessing out of bound. > snd_hda_codec_realtek hdaudioC1D0: out of range cmd 0:20:400:90170118 > snd_hda_codec_realtek hdaudioC1D0: out of range cmd 0:20:400:411111f0 > snd_hda_codec_realtek hdaudioC1D0: out of range cmd 0:20:400:270300 This seems to be a bogus COEF. But I have no idea from where this comes. The values look completely wrong. I guess you'd need to put some debug prints to trace down how those are triggered... Takashi