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 68DEEC4167B for ; Fri, 8 Dec 2023 18:50:04 +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 74EB6A4A; Fri, 8 Dec 2023 19:49:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 74EB6A4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1702061402; bh=2ycuctPb3zDHj86AHnxc+254d4p/+rB0kqUnFoJjhtQ=; 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=WYyv6NnnC0p9rfsy+NpuyFF70S5E01azsqmzb/eanv4qCMw5WUSGHvnj0L7Kibvz6 umpRqoWmZmqFK8Zp6uwRLl0+keYMcO4mmdRIn+MGxCSm4DLA9QJfyQoqaCfwGHEuVz BT8zgeqkGzWkJnBqKX3h3UNMCR1CRYKv3bjZ3HiE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B615FF8056F; Fri, 8 Dec 2023 19:49:32 +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 DC47DF8055B; Fri, 8 Dec 2023 19:49:31 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E153F8024E; Fri, 8 Dec 2023 19:49:27 +0100 (CET) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 43554F800E4 for ; Fri, 8 Dec 2023 19:49:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 43554F800E4 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: <1702061357632791042-webhooks-bot@alsa-project.org> References: <1702061357632791042-webhooks-bot@alsa-project.org> Subject: possible timing issue with alsa-restore.service Message-Id: <20231208184927.9E153F8024E@alsa1.perex.cz> Date: Fri, 8 Dec 2023 19:49:27 +0100 (CET) Message-ID-Hash: UQ4OOWQZP45QHTKGKEXDI2YMUHFCXRJR X-Message-ID-Hash: UQ4OOWQZP45QHTKGKEXDI2YMUHFCXRJR 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.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: alsa-project/alsa-utils issue #249 was opened from fajabird: not sure how to title this issue but the following happens in my case: System is a Dell XPS one (all in one PC) and I'm running latest manjaro gnome. I noticed that I had no sound although GNOME control center would show a audio device and it was not muted and volume was all the way up. So I tried alsamixer and found the device "Headphones" muted and volume at 0. Changing this did the trick and I had sound. I issued an "alsactl store" and checked that "alsa-restore.service" was not deactivated to make this persistant. Still after reboot I had no sound. But if I would issue "alsactl restore" manually it would fix the sound issue again. So I suspected that there is an timing issue. Via "systemctl edit --full alsa-restore.service" I added a 30 seconds delay before it would call "alsactl restore" and that fixed the issue permanently. But unfortunately I have no idea how to troubleshoot this properly to find the real root cause of this timing issue. Issue URL : https://github.com/alsa-project/alsa-utils/issues/249 Repository URL: https://github.com/alsa-project/alsa-utils