Skip to contentSkip to conversation

: alsactl stores incorrect values; overwrites non-writable file; does not set emu10k1 mixer

ALSA - utils 0001900 [email protected] 1 participant 1 message Mar 9, 2006

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1900>
======================================================================
Reported By: covex
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1900
Category:                   alsactl
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             03-09-2006 17:38 CET
Last Modified:              03-09-2006 17:38 CET

======================================================================
Summary: alsactl stores incorrect values; overwrites
non-writable file; does not set emu10k1 mixer Description:
I have one main problem with alsa and emu10k1 based SB Live! card.

It's some time ago I notice that very often (not always) after reboot my sound card has setup strange values in mixer (e.g wave volume is righ 75 and left 0, see attached asound.state). First I thought it's some application setting these nonsenses but it's not true - those values are set SOMETIMES on module removal at reboot.

What I noticed during digging around:
1) Always on user logout I have message in log: ainit: Operation not permitted
It is not specified what operation.
2) see this situation:

# modprobe -r snd-emu10k1
# modprobe --ignore-install snd-emu10k1 && alsactl restore 0
/usr/sbin/alsactl: load_state:1250: Cannot find soundcard '0'...
The only thing that works is:
# modprobe --ignore-install snd-emu10k1; sleep 1; alsactl restore 0
As the first one is very common situation in all modprobe.conf setups I
see this as fairly bad problem.

3) I set permitions of /etc/asound.state to r--r--r-- to protect it from being overwriten but issuing alsactl store overwrites this file!

None of these explain why, on module removal the asound is filled with incorrect values (asound.state is attached).
BTW: there are three states in that file - for CK804 (it is nForce4 chipset with internal AC97 disabled), for Unknown (guh?!) and Live (finaly correct).

======================================================================

Issue History
Date Modified Username Field Change
======================================================================
03-09-06 17:38 covex New Issue
03-09-06 17:38 covex File Added: asound.state.wrong
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642