Red Hat Bugzilla – Bug 28504
Sound-state not restored at cards with dmabuf module-options
Last modified: 2014-03-16 22:19:09 EDT
actual initscripts are calling aumix to restore sound-settings of last
session if and only if the sound-modules has persistent DMA-buffers:
---- /etc/rc.d/rc.sysinit --------
: if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
: ... action $"Loading mixer settings: " /bin/aumix-minimal -f
My ES1370 has not such a dmabuf option (at least `modinfo -p' says
this) and so the card keeps uninitialized. When starting gnome, the
sound-modules gets loaded when esd accesses /dev/dsp.
But then the last settings, usually loaded by the script above, are lost
and the card gets its own default settings.
There is existing a `post-install' command in /etc/modules.conf so the
sound-state restoring stuff can perhaps be taken from
initscripts. E.g. sndconfig could add an entry
: post-install sound /bin/aumix-minimal -f /etc/.aumixrc
Will be fixed in sndconfig-0.63-1 or so, and kudzu-0.96.8 or so.
Sorry, my suggestion contained an error which made the 'postinstall' rule
aumix needs the '-L' option to load the settings, so to correct line should be
: post-install sound /bin/aumix-minimal -f /etc/.aumixrc -L
Duh, you're right. Will be fixed in 0.64.4, among others.