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 7F9BAEC047D for ; Tue, 3 Mar 2026 09:41:24 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0EBC460234; Tue, 3 Mar 2026 10:41:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0EBC460234 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1772530881; bh=86YnKJkvgls7S7NRvOIKlMNfbeiejYiof+gCr0J4oCQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=CYyr4MMc2nfkwWmrBmqtHLZ2k5uCcEEMQqZn8BVHZL3aVo4W9mlr6hgQRZSWA1fNR 22R0VFj8hhCaPHzXnbU4M1XS4g6ed2GJL0TalXYw1IEto/ma2ciLY0O9mPC6STGPjI RD0WoBsoc8v/GS3rzyHu0h1RMdtcDRIk93Zi8qcE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 90E78F805EC; Tue, 3 Mar 2026 10:40:52 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 842A5F805F3; Tue, 3 Mar 2026 10:40:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 72AADF80496; Tue, 3 Mar 2026 10:38:28 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9FE9CF800F3 for ; Tue, 3 Mar 2026 10:38:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9FE9CF800F3 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BmqJTbjC; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=lB/j4g6E; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BmqJTbjC; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=lB/j4g6E Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3C1815BCFE; Tue, 3 Mar 2026 09:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1772530703; h=from:from:reply-to: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=l4BuEUpCMWOOLFe/pAIjAxPQhDm2qNUbB66oqFTXXYc=; b=BmqJTbjC1nbbjHvU4iN98YL1d72iXzSgDvgBV3Mr49CHfVCrqaTx7XeIRINjwIWZClt5RG uTJhe+K6suEUNSSSWezKKovBDjSdkunvNDU79l2NppmmGKc1aaIbYxU2+YvVaXXGjmFekk HhlZr50bxOUCM54k4kRWxMlAQ3dp7Qs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1772530703; h=from:from:reply-to: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=l4BuEUpCMWOOLFe/pAIjAxPQhDm2qNUbB66oqFTXXYc=; b=lB/j4g6E9N7fdc2dHIll1ifClK2xloSpDLGRyg8Fp+bjG2gBi7EILl0XbPW0wmlmA//Ue1 5unJGXgsCs/dkxCg== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=BmqJTbjC; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b="lB/j4g6E" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1772530703; h=from:from:reply-to: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=l4BuEUpCMWOOLFe/pAIjAxPQhDm2qNUbB66oqFTXXYc=; b=BmqJTbjC1nbbjHvU4iN98YL1d72iXzSgDvgBV3Mr49CHfVCrqaTx7XeIRINjwIWZClt5RG uTJhe+K6suEUNSSSWezKKovBDjSdkunvNDU79l2NppmmGKc1aaIbYxU2+YvVaXXGjmFekk HhlZr50bxOUCM54k4kRWxMlAQ3dp7Qs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1772530703; h=from:from:reply-to: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=l4BuEUpCMWOOLFe/pAIjAxPQhDm2qNUbB66oqFTXXYc=; b=lB/j4g6E9N7fdc2dHIll1ifClK2xloSpDLGRyg8Fp+bjG2gBi7EILl0XbPW0wmlmA//Ue1 5unJGXgsCs/dkxCg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 133EF3EA69; Tue, 3 Mar 2026 09:38:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id +apRAw+spmmoVAAAD6G6ig (envelope-from ); Tue, 03 Mar 2026 09:38:23 +0000 Date: Tue, 03 Mar 2026 10:38:22 +0100 Message-ID: <87ikbdjlrl.wl-tiwai@suse.de> From: Takashi Iwai To: Ngon Cc: alsa-devel@alsa-project.org Subject: Re: [REPORT] ALSA: hda/realtek: Fix silent/extremely quiet audio on HP Pavilion x360 (ALC295) with uninitialized SSID 103c:0000 In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.51 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; MIME_TRACE(0.00)[0:+]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_RATELIMITED(0.00)[rspamd.com]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[suse.de:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.de:dkim,suse.de:mid] X-Rspamd-Action: no action X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: 3C1815BCFE Message-ID-Hash: AOUDW7U55UPF42F4WFO2U2NMDQGH3JSE X-Message-ID-Hash: AOUDW7U55UPF42F4WFO2U2NMDQGH3JSE X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, 01 Mar 2026 06:57:31 +0100, Ngon wrote: > > > Hi Takashi and ALSA developers, > >   I would like to report a hardware quirk and a verified fix for the > HP Pavilion x360 Convertible 14-cd0xxx (Codec: >   Realtek ALC295). > >   Problem: >   The BIOS on this model reports a generic/uninitialized Subsystem ID: > 103c:0000. Because of this, the kernel fails to >   apply the necessary HP-specific quirks. The audio output is either > completely silent or extremely quiet, even when all >   mixers are at 100%. This issue is particularly severe on machines > where the original screen has been removed/modified, >   which seems to trigger a "protection mode" in the hardware > amplifier. > >   Hardware Details: >    - Model: HP Pavilion x360 Convertible 14-cd0xxx >    - Codec: Realtek ALC295 >    - Reported Subsystem ID: 103c:0000 This SSID with 0 is a problem. 0 is used for a wild card matching, hence it won't match properly. I suppose the above is PCI SSID, and the codec SSID is a valid number? You can see it in the proc output. >   The Fix: >   I found that manually forcing the amplifier gain and processing > coefficients using hda-verb restores the audio to >   normal volume levels. The following verbs are required: > >    1. hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x07 followed by > SET_PROC_COEF 0x7770 (Forces Amplifier Gain) >    2. hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x0d followed by > SET_PROC_COEF 0x3000 (Sets Processing State) > >   Proposed Solution: >   Could these verbs be integrated as a default quirk for ALC295 when > the Subsystem ID 103c:0000 is detected on HP >   hardware? If a codec SSID has valid numbers, you can put a quick entry with HDA_CODEC_QUIRK() instead of SND_PCI_QUIRK(). > Or perhaps added to the ALC269_FIXUP_HP_GPIO_LED chain? Depends on the hardware implementation :) If the GPIO LED control works with that quirk, you should chain it, indeed. >   I have verified this fix on Pop!_OS 22.04 (Kernel 6.17) and it > consistently solves the issue. In anyway, could you give alsa-info.sh output? Run the script with --no-upload option, and attach the output. Also, please rather post to linux-sound@vger.kernel.org instead of alsa-devel ML. It's a better place for tracking the kernel issue (and the patches). thanks, Takashi