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 19D93EEB560 for ; Fri, 8 Sep 2023 18:50:56 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B46FE84C; Fri, 8 Sep 2023 20:50:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B46FE84C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694199053; bh=TMr/3p/TqnqPe3Lscp+MbI4YgggDqY1wqO1wFlCuiQY=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=grLrajXpSXQim1VodhX75UMmLiWjjyht9Hg6rudaOo2DkLBbL/TBtlOtztmK7LnN4 6fABaaoVVwZyzuAd4a7nM5aQnh65hIK7TEEx1iXWPU61yNcamS6AW9bahTHKPbUUny wwgPHd3PdwKSd82/h8dhlsq5uqK14n7tkv9sptXY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 271E6F8047D; Fri, 8 Sep 2023 20:49:35 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D1376F8047D; Fri, 8 Sep 2023 20:49:34 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 25E56F80494; Fri, 8 Sep 2023 20:49:31 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 7DEADF80431 for ; Fri, 8 Sep 2023 20:49:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7DEADF80431 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org In-Reply-To: <1694198964325707197-webhooks-bot@alsa-project.org> References: <1694198964325707197-webhooks-bot@alsa-project.org> Subject: Left audio channel very loud when external sound card was unplugged, volume not reflected properly in alsamixer Message-Id: <20230908184931.25E56F80494@alsa1.perex.cz> Date: Fri, 8 Sep 2023 20:49:31 +0200 (CEST) Message-ID-Hash: BE35EARXR46HUSARXVHILWH5SYWVLLQK X-Message-ID-Hash: BE35EARXR46HUSARXVHILWH5SYWVLLQK X-MailFrom: github@alsa-project.org 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.8 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: alsa-project/alsa-utils issue #235 was opened from WildRikku: I'm reporting this here because alsamixer is at least part of the issue. I'd be thankful for help finding the whole issue and I can report elsewhere if necessary. After plugging in my external sound card, the left channel is WAY louder than the right channel but `alsamixer` does not reflect this. I then correct it by setting the left channel to zero in `alsamixer` and back to what it should be. Note that it showed the value it should have before already, it just wasn't true! The volume is then correct until I unplug my sound card the next time and plug it in again. The issue also happens when I turn off the power supply of the USB dock the external sound card is plugged into. My device is a Steam Deck so I cannot use the external sound card without a dock. #### Steps for reproducing this issue: 1. Unplug external sound card from the dock or send Steam Deck to stand-by and unplug the power supply 2. Plug sound card in or plug power supply in and turn on Steam Deck 3. left channel is now very loud but `alsamixer` shows equal value for left and right channel Maybe related: When using `alsactl restore` I get ``` alsactl: set_control:1475: Cannot write control '2:0:0:Left Speaker Port Blocked Status:0' : Operation not permitted alsactl: set_control:1475: Cannot write control '2:0:0:Left Speaker Open / Short Status:0' : Operation not permitted alsactl: set_control:1475: Cannot write control '2:0:0:Right Speaker Port Blocked Status:0' : Operation not permitted alsactl: set_control:1475: Cannot write control '2:0:0:Right Speaker Open / Short Status:0' : Operation not permitted ``` alsa-info output: https://alsa-project.org/db/?f=69b87861217a0e554cb4786c64d4a0c461177fdd Issue URL : https://github.com/alsa-project/alsa-utils/issues/235 Repository URL: https://github.com/alsa-project/alsa-utils