[Pkg-alsa-devel] Bug#608388: alsa-utils: restore fails after rename from "PC Speaker" to "Beep"
Kurt Roeckx
kurt at roeckx.be
Thu Dec 30 13:48:32 UTC 2010
Package: alsa-utils
Version: 1.0.23-3
Severity: important
Hi,
I think Linux 2.6.33 renamed "PC Speaker" to "Beep". alsactl
doesn't seem to be liking this much.
During boot between kernels with different names I see:
Setting up ALSA...warning: 'alsactl restore' failed with error message 'Unknown hardware: "ICH" "SigmaTel STAC9700,83,84" "AC97a:83847600" "0x1043" "0x1493"
Hardware is initialized using a guess method
alsactl: set_control:1255: failed to obtain info for control #5 (No such file or directory)
alsactl: set_control:1255: failed to obtain info for control #6 (No such file or directory)'...done.
I think that SigmaTel thing is a modem and not related at all.
On a 2.6.32 kernel I get:
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'PC Speaker Playback Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 15'
comment.dbmin -4500
comment.dbmax 0
iface MIXER
name 'PC Speaker Playback Volume'
value 8
}
Booting into a newer kernel, I get:
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Beep Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 15'
comment.dbmin -4500
comment.dbmax 0
iface MIXER
name 'Beep Playback Volume'
value 0
}
So it's renamed, volume turned to 0 and muted.
So I've changed it manually so that is says:
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Beep Playback Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 15'
comment.dbmin -4500
comment.dbmax 0
iface MIXER
name 'Beep Playback Volume'
value 15
}
(On, volume at 15)
Rebooting into a .32 kernel gets me the volume of 8 again.
So it seems that for .32 it sets up reasonable defaults, while for newer it just turns it off.
But I'm expecting my settings to be saved, even after a rename.
The manpage says:
-F, --force
Used with restore command. Try to restore the matching control elements as much as possible. This option is
set as default now.
This doesn't seem to be doing what I expect it to do.
Kurt
More information about the Pkg-alsa-devel
mailing list