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 989E8C001DB for ; Sun, 13 Aug 2023 09:04:44 +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 9568E828; Sun, 13 Aug 2023 11:03:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9568E828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1691917481; bh=U81i57m015UzoD+TdPgAJg0ZBeIzHy4rgAfpheajBO0=; 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=L6Uvy79Rwf57/2nGDpp8hl8jnZBnmGY15mj3BUZSkAGolskS/9CQ9VIiBzMzg7qV0 BDlRGoRaT/REidtl1xieF1+ZqGG5OWCosRxjM3ntKDkkyRRUk2VIJdaD6EjUxfujUM c8R9EBmSJbBwHTKfWU/hH2lL3e3al9ZHj4OuJAHY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6741FF801EB; Sun, 13 Aug 2023 11:03:23 +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 E1278F80016; Sun, 13 Aug 2023 11:03:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 59465F8025F; Sun, 13 Aug 2023 11:03:18 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id AEE71F80016 for ; Sun, 13 Aug 2023 11:03:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AEE71F80016 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: <1691917389619487524-webhooks-bot@alsa-project.org> References: <1691917389619487524-webhooks-bot@alsa-project.org> Subject: "alsactl restore" does not load the driver state Message-Id: <20230813090318.59465F8025F@alsa1.perex.cz> Date: Sun, 13 Aug 2023 11:03:18 +0200 (CEST) Message-ID-Hash: I3BF2LZAMLAOBD6L2CUKAFQK3LBYSCDR X-Message-ID-Hash: I3BF2LZAMLAOBD6L2CUKAFQK3LBYSCDR 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 #229 was opened from YuGiOhJCJ: Hello, When I type "alsactl restore", it does not load the driver state. Steps to reproduce: 1. Open a first terminal dedicated to alsa-mixer 2. Open a second terminal where you will type the following commands 3. In the first terminal, press F4, set the audio volume for capture to 40 4. In the second terminal, type "sudo alsactl store" in order to save the driver state to /var/lib/alsa/asound.state 5. In the first terminal, set the audio volume for capture to 35 6. In the second terminal, type "sudo alsactl restore" in order to load the driver state to /var/lib/alsa/asound.state Expected results: I should see in the first terminal that the audio volume for capture is restored to 40. Current results: I see in the first terminal that the audio volume for capture is not restored to 40. It is still set to 35! How to fix that please? Thank you. Best regards. About my system: Packages: - alsa-lib-1.2.9 - alsa-plugins-1.2.7.1 - alsa-utils-1.2.9 Operating system: Slackware 14.2 (64-bit) Architecture: x86_64 Kernel: Linux 5.18.10 ![image](https://github.com/alsa-project/alsa-utils/assets/2247896/d4cc947f-b8db-493f-bf03-f18af9c821b3) Issue URL : https://github.com/alsa-project/alsa-utils/issues/229 Repository URL: https://github.com/alsa-project/alsa-utils