udev alsa restore restore rules are broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-utils (Ubuntu) |
Fix Released
|
Undecided
|
Luke Yelavich |
Bug Description
To reproduce:
1. Run the following command: udevadm test --action=add /class/
Expected output:
run: '/usr/sbin/alsactl restore 0'
Actual output:
run: '/usr/sbin/alsactl restore '
Note the missing '0' - this causes alsactl to restore the levels on all cards instead of the one that was just plugged in. The rules file looks like this:
TEST!="
This has not changed since raring (where this stuff works correctly). Under saucy the $attr{number} macro expands to empty string.
udevadm info --query=all --path=
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: alsa-utils 1.0.27.1-1ubuntu1 [modified: lib/udev/
Uname: Linux 3.11.0-
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sun Jan 12 13:06:47 2014
InstallationDate: Installed on 2013-08-27 (137 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130827)
MarkForUpload: True
SourcePackage: alsa-utils
UpgradeStatus: No upgrade log present (probably fresh install)
Also affects trusty