Article View: linux.debian.bugs.dist
Article #5925Bug#1155039: 1155039@bugs.debian.org
From: Thomas Guyot
Date: Tue, 24 Nov 2026 13:30
Date: Tue, 24 Nov 2026 13:30
47 lines
4693 bytes
4693 bytes
Hi, Two additions to this report (disclaimer: analysis and report generated by amp code). 1. The patch that reverts the label is alsactl_home.patch, not udev_test_alsactl.patch. Applying debian/patches/series one by one to alsa-utils_1.2.14.orig.tar.bz2 (which has the upstream fix, LABEL="alsa_restore_std"), the label becomes "alsa_restore_go" right after alsactl_home.patch: its hunk on alsactl/90-alsa-restore.rules.in removes LABEL="alsa_restore_std" and adds LABEL="alsa_restore_go" along with the -E HOME=... arguments. udev_test_alsactl.patch only carries the old label as context. Both patches need refreshing. 2. It doesn't take two HDA cards: any card that is hotplugged later restores the HDA analog card instead of itself, and resets its volume every time. Here: card 0 is a USB webcam (Logitech C930e), card 1 NVidia HDMI, card 2 the onboard HDA codec, so /run/udev/alsa-hda-analog-card holds ALSA_CARD_HDA_ANALOG=2. The webcam is on a monitor's USB hub, which re-enumerates on every resume. Each time the webcam comes back, udev runs "alsactl restore 2" instead of "restore 0", and the onboard card's Master goes back to the level saved in /var/lib/alsa/asound.state (41/64, -23 dB here). With PipeWire on top, WirePlumber sees the hardware change and saves it as the user's volume in ~/.local/state/wireplumber/default-routes, so the volume the user set is lost for good. Reproduced: sink set to 100%, webcam replugged, sink at 40%, and WirePlumber logs "storing route(analog-output-headphones) props of device(alsa_card.pci-0000_0e_00.4)" right after the webcam's card is added. "udevadm test --action=add /sys/class/sound/controlC0" shows both GOTO="alsa_restore_std" lines dropped and the webcam event going through the IMPORT of /run/udev/alsa-hda-analog-card. Versions: Debian 13, alsa-utils 1.2.14-1, pipewire 1.4.2-1, wireplumber 0.5.8-2, kernel 6.12. Workaround: a copy of the rule in /etc/udev/rules.d/ with the second label renamed to alsa_restore_std. Thanks -- Thomas
Technical Details
Message-ID:
<O2YKS-dSJR-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<O2H7j-dIIZ-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Thomas Guyot <tguyot@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155039: 1155039@bugs.debian.org
Date: Tue, 24 Nov 2026 14:30:02 +0100
Message-ID: <O2YKS-dSJR-15@gated-at.bofh.it>
References: <O2H7j-dIIZ-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 24 13:27:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.548
Reply-To: Thomas Guyot <tguyot@gmail.com>, 1155039@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-alsa-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1155039
X-Debian-Pr-Package: alsa-utils
X-Debian-Pr-Keywords: patch trixie
X-Debian-Pr-Source: alsa-utils
X-Gm-Message-State: APuU4Z8F9xIXjdrBNtrBXkY+xbg0KKZvX+DdJMCMvy5LP6tHNELAooE7
cqMHuTpeC39A54UBVnk0EAbAtGJ3ANYMgER4ZmZRHjc1nAAv7ZdCMHHesC0u8w==
X-Gm-Gg: AZFdTZeD6/Vj9RjLHYiUwIFpAMmVxfz7e8HOENvAEgcDYp7qCTXnV58SD5hKF/1VQjl
pwXsvRhwFMQ54VMSzv3FdZfnxksqS6EHzWOeMAnFuc7BumuAeYVE0YWorEfRBj1CGh5PBNyUs5n
nqILzV2K4AVJko/8gnGtMIrSVhfgZPbn9wh8XRDJK2HcNhdfOAfCa8JSA+xvGD0oEGHBq4AzQmu
g11Z6QhwuJ6LJYshRP8qVpxjWG0k+bJ/MzMnbTJHLdUYaJkzgO6ESpIA/qlqNCHwrHxOI5IgRph
rYanFOunzQ/viGqTFJcuorX93F23PtWaAFcBxzpFyEjqj9pk6efubte5yFL0b9HiABClRaoLYR5
O3bADT1vHLiUepEmYm5DW6uWOQWKX8xWjQpt8tj0vJfYK5sLNaLORyJyxzw2KN4m9agVQVfaURm
2ZVYcZaOROofimUTGq+DcFV3YLbOApHMX5/LqtET7+6L5uDcWYeE3Dp26rhf/YoaVxV/z+LV0XF
m1oFG2aKIWvqUv6NLKGcVVhc6EvAVtZHBVavhcs6f0InisS0I3/XnN58pYWbnmuaNp/SJgzGMgN
GYtYNbSTe5pBScgdZ+D/MMT/Lp/n4IiPhoXRcRm9YODbdzzqlNzeCIg4SPgVgnXvB77FmyQ=
X-Received: by 2002:a05:622a:5a0c:b0:54d:812b:ac2 with SMTP id d75a77b69052e-55d76aa5123mr267266351cf.28.1795526759219;
Tue, 24 Nov 2026 05:25:59 -0800 (PST)
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004668
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 08:25:57 -0500
X-Original-Message-ID: <da53e52c-68a7-48ff-90ef-61e29185291e@gmail.com>
X-Original-References: <179545871872.7.2756644578984816810.1797520782@passmail.com>