From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - utils 0000571]: Doesn't store mixer settings
Date: Mon, 18 Oct 2004 17:42:51 +0200 (CEST) [thread overview]
Message-ID: <20041018154251.8FD6D11032@server.perex-int.cz> (raw)
The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000571
======================================================================
Reported By: pmatil
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Bug ID: 571
Category: alsactl
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: not a bug
======================================================================
Date Submitted: 10-07-2004 18:27 CEST
Last Modified: 10-18-2004 17:42 CEST
======================================================================
Summary: Doesn't store mixer settings
Description:
No errors are produced by the initscripts, however it seems that it doesn't
save mixer settings. After boot, asound.state is 'zeroed' eg. all sliders
are down, but unmuted. Running manually alsactl store, asound.state gets
all the right values, but after next boot / reboot, asound.state is
'zeroed' again. Asound.state lies in /var/lib/alsa/asound.state
======================================================================
----------------------------------------------------------------------
tiwai - 10-12-2004 14:44 CEST
----------------------------------------------------------------------
Is alsactl patched? It's usually in /etc/asound.state.
asound.state is saved when alsasound init service is stopped, too.
This means that the status of sound differs at this stage from
what you have now. Possibly, the window system (e.g. KDE) modifies
and restores the sound status by itself.
----------------------------------------------------------------------
pmatil - 10-13-2004 12:30 CEST
----------------------------------------------------------------------
It's possible. System is Debian so maybe it's patched. It doesn't matter
whether I start X (KDE) or not, sound levels aren't saved by the init
script. I don't know where alsa thinks it saved the volume levels, because
I don't know much of init scripting and it gives no error. So maybe this
is mainly a Debian problem...
----------------------------------------------------------------------
tiwai - 10-13-2004 12:53 CEST
----------------------------------------------------------------------
Check the init script you use. The alsasound script provided from the
original alsa-driver package uses /etc/asound.state, and call with -f
option.
----------------------------------------------------------------------
pmatil - 10-14-2004 13:25 CEST
----------------------------------------------------------------------
OK, update: I noticed that after updating alsa-packages from apt, the
init.script actually does save the volumes, and restore them
(/var/lib/alsa/asound.state), but after starting KDE, volumes are zeroed
(amixer). Asound.state at this point contains the saved settings. So: KDE
resets the volumes at its startup but doesn't modify asound.state. Sorry I
haven't noticed this earlier... Now I have to find out how to prevent it
from resetting the volumes or find a way to run 'alsactl restore' after
KDE startup...
----------------------------------------------------------------------
tiwai - 10-14-2004 15:14 CEST
----------------------------------------------------------------------
Ok, then it's likely a problem of KDE thing. I guess it's kmix.
What happens if you exclude kmix from start up apps?
----------------------------------------------------------------------
pmatil - 10-14-2004 16:26 CEST
----------------------------------------------------------------------
Kmix doesn't start automatically... So it's something else.
----------------------------------------------------------------------
pmatil - 10-15-2004 13:51 CEST
----------------------------------------------------------------------
Mkay, after compiling with cs46xx_new_dsp, everything works. Volumes are
saved and restored and KDE doesn't overwrite them. I don't know was it
because of cs46xx_new_dsp or the fact that I unchecked the box "save
volumes" in kmix.
----------------------------------------------------------------------
tiwai - 10-18-2004 17:42 CEST
----------------------------------------------------------------------
Ok, now I close this bug.
Bug History
Date Modified Username Field Change
======================================================================
10-07-04 18:27 pmatil New Bug
10-12-04 14:44 tiwai Bugnote Added: 0002096
10-13-04 12:30 pmatil Bugnote Added: 0002120
10-13-04 12:53 tiwai Bugnote Added: 0002121
10-14-04 13:25 pmatil Bugnote Added: 0002144
10-14-04 15:14 tiwai Bugnote Added: 0002149
10-14-04 16:26 pmatil Bugnote Added: 0002154
10-15-04 13:51 pmatil Bugnote Added: 0002166
10-18-04 17:42 tiwai Assigned To => tiwai
10-18-04 17:42 tiwai Resolution open => not a bug
10-18-04 17:42 tiwai Status new => resolved
10-18-04 17:42 tiwai Bugnote Added: 0002195
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
next reply other threads:[~2004-10-18 15:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 15:42 bugtrack [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-18 17:10 [ALSA - utils 0000571]: Doesn't store mixer settings bugtrack
2004-10-15 11:51 bugtrack
2004-10-14 14:26 bugtrack
2004-10-14 13:14 bugtrack
2004-10-14 11:25 bugtrack
2004-10-13 10:53 bugtrack
2004-10-13 10:30 bugtrack
2004-10-12 12:44 bugtrack
2004-10-07 16:27 bugtrack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041018154251.8FD6D11032@server.perex-int.cz \
--to=bugtrack@alsa-project.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox