You are not logged in.

#1 2009-04-13 13:57:14

degmic71
Member
Registered: 2009-02-03
Posts: 122

[SOLVED]alsactl store not saving alsa levels

For some reason , even though I have alsa in my daemons, and do "alsactl store" the sound levels still are not saved.

Any ideas?

THANK YOU

Last edited by degmic71 (2009-04-14 23:51:21)

Offline

#2 2009-04-13 14:16:06

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: [SOLVED]alsactl store not saving alsa levels

Did you add your user to the audio group?  Did you run 'alsactl store' as root?

Offline

#3 2009-04-13 15:56:25

degmic71
Member
Registered: 2009-02-03
Posts: 122

Re: [SOLVED]alsactl store not saving alsa levels

as root yes

Offline

#4 2009-04-13 18:34:50

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: [SOLVED]alsactl store not saving alsa levels

Maybe this won't help at all, but have you done a

sudo alsaconf

?

Offline

#5 2009-04-13 18:40:43

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: [SOLVED]alsactl store not saving alsa levels

Assuming you're running kde........
If you have the options ticked , apply settings on start up and allow tray applications in your desktop configuration along with kmix in your panel, then alsactl store is being over ridden.

Offline

#6 2009-04-14 00:05:42

degmic71
Member
Registered: 2009-02-03
Posts: 122

Re: [SOLVED]alsactl store not saving alsa levels

I am running gnome (sorry KDE = blah for me)  Any tips?

Offline

#7 2009-04-14 01:48:26

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: [SOLVED]alsactl store not saving alsa levels

N/P's.
Everyones tastes are different and it's all linux under the hood. big_smile
Can't help with Gnome.
Been way to long since I've ran it but I'm sure there are other Gnome users here who may have a clue.
Luck to you.

Offline

#8 2009-04-14 12:53:42

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]alsactl store not saving alsa levels

In /etc/conf.d/alsa, is there SAVE_VOLUME set to "yes"?

The volume settings should be stored in /etc/asound.state. Does this file exist? Does it look sound?
Mine currently looks like this:

state.SB {
    control.1 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Front Playback Volume'
        value.0 31
        value.1 31
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Front Playback Switch'
        value.0 true
        value.1 true
    }
    control.3 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Surround Playback Volume'
        value.0 31
        value.1 31
    }
    control.4 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Surround Playback Switch'
        value.0 true
        value.1 true
    }
    control.5 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Center Playback Volume'
        value 31
    }
    control.6 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'LFE Playback Volume'
        value 31
    }
    control.7 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Center Playback Switch'
        value true
    }
    control.8 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'LFE Playback Switch'
        value true
    }
    control.9 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Side Playback Volume'
        value.0 31
        value.1 31
    }
    control.10 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Side Playback Switch'
        value.0 true
        value.1 true
    }
    control.11 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Headphone Playback Switch'
        value.0 true
        value.1 true
    }
    control.12 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Mic Playback Volume'
        value.0 0
        value.1 0
    }
    control.13 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Mic Playback Switch'
        value.0 false
        value.1 false
    }
    control.14 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Front Mic Playback Volume'
        value.0 27
        value.1 27
    }
    control.15 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Front Mic Playback Switch'
        value.0 false
        value.1 false
    }
    control.16 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -3450
        comment.dbmax 1200
        iface MIXER
        name 'Line Playback Volume'
        value.0 0
        value.1 0
    }
    control.17 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Line Playback Switch'
        value.0 false
        value.1 false
    }
    control.18 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3000
        iface MIXER
        name 'Mic Boost'
        value.0 0
        value.1 0
    }
    control.19 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        comment.dbmin 0
        comment.dbmax 3000
        iface MIXER
        name 'Front Mic Boost'
        value.0 3
        value.1 3
    }
    control.20 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 true
        value.1 true
    }
    control.21 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        index 1
        value.0 true
        value.1 true
    }
    control.22 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -1200
        comment.dbmax 3450
        iface MIXER
        name 'Capture Volume'
        value.0 1
        value.1 1
    }
    control.23 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        comment.dbmin -1200
        comment.dbmax 3450
        iface MIXER
        name 'Capture Volume'
        index 1
        value.0 0
        value.1 0
    }
    control.24 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 Mic
        comment.item.1 'Front Mic'
        comment.item.2 Line
        iface MIXER
        name 'Input Source'
        value Mic
    }
    control.25 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 Mic
        comment.item.1 'Front Mic'
        comment.item.2 Line
        iface MIXER
        name 'Input Source'
        index 1
        value Mic
    }
    control.26 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Con Mask'
        value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.27 {
        comment.access read
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Pro Mask'
        value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.28 {
        comment.access 'read write'
        comment.type IEC958
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Default'
        value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    }
    control.29 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Playback Switch'
        value true
    }
    control.30 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'IEC958 Default PCM Playback Switch'
        value true
    }
    control.31 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        comment.dbmin -4650
        comment.dbmax 0
        iface MIXER
        name 'Master Playback Volume'
        value 31
    }
    control.32 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Master Playback Switch'
        value true
    }
    control.33 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 255'
        comment.tlv '0000000100000008ffffec1400000014'
        comment.dbmin -5100
        comment.dbmax 0
        iface MIXER
        name 'PCM Playback Volume'
        value.0 255
        value.1 255
    }
    control.34 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 120'
        comment.tlv '0000000100000008fffff44800000032'
        comment.dbmin -3000
        comment.dbmax 3000
        iface MIXER
        name 'Digital Capture Volume'
        value.0 0
        value.1 0
    }
}

Last edited by bernarcher (2009-04-14 13:00:24)


To know or not to know ...
... the questions remain forever.

Offline

#9 2009-04-14 19:02:32

muaythaimaster74
Member
Registered: 2008-07-01
Posts: 10
Website

Re: [SOLVED]alsactl store not saving alsa levels

add the following to /etc/rc.local

alsactl restore

Offline

#10 2009-04-14 20:30:24

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]alsactl store not saving alsa levels

muaythaimaster74 wrote:

add the following to /etc/rc.local

alsactl restore

Is this really necessary? It should be done at boot time by the /etc/rc.d/alsa daemon by default.

Last edited by bernarcher (2009-04-14 20:30:52)


To know or not to know ...
... the questions remain forever.

Offline

#11 2009-04-14 21:14:55

muaythaimaster74
Member
Registered: 2008-07-01
Posts: 10
Website

Re: [SOLVED]alsactl store not saving alsa levels

That is how I fixed my alsa issues.  In fact, I removed alsa from the daemons list in rc.conf entirely.  When it was left in, I was receiving a boot time error that alsa could not find my sound card, and yet sound worked normally, so long as I unmuted the card, and then had to reset all volume settings each and every boot.

This is a KISS solution IMHO

Offline

#12 2009-04-14 23:50:55

degmic71
Member
Registered: 2009-02-03
Posts: 122

Re: [SOLVED]alsactl store not saving alsa levels

Somehow it got fixed by going into alsamixer and setting them, then running alsactl store.

IDK what I did, but I think its fine now @.@

Offline

#13 2015-03-07 22:39:29

AnalogKid
Member
Registered: 2015-03-05
Posts: 45

Re: [SOLVED]alsactl store not saving alsa levels

SkonesMickLoud wrote:

Did you add your user to the audio group?  Did you run 'alsactl store' as root?

In case anyone else is searching for the answer to this problem and found this page, as I did.

Adding my user account to the "audio" group was the solution.

Edit: Problem is still happening.

Last edited by AnalogKid (2015-03-07 23:36:32)

Offline

Board footer

Powered by FluxBB