| View previous topic :: View next topic |
| Author |
Message |
God Of Atheism n00b

Joined: 23 Jan 2012 Posts: 18
|
Posted: Wed Feb 01, 2012 7:42 pm Post subject: [SOLVED] sound levels reset at boot (alsa) |
|
|
Hi,
I've seen many similar threads both here and in other forums, as well as purported solutions on wikis and blogs, but so far, nothing helped me to solve this.
When I run | Code: | | sudo alsactl store 0 | , settings seem to be stored. /var/lib/alsa/asound.state is updated. On reboot, the timestamp on that file remains as it was before the reboot. However, if I run alsamixer, xfce4-mixer, or quodlibet, the actual values are shown to be reset. Even if the timestamp on /var/lib/alsa/asound.state remains. I have no asound.state in /etc, as some solutions pointed to as being problematic.
My /etc/conf.d/alsasound can be seen here.
Does anyone have any ideas how to solve this?
Last edited by God Of Atheism on Fri Feb 03, 2012 5:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
ferreirafm Guru

Joined: 28 Jul 2005 Posts: 345 Location: São Paulo, Brazil
|
Posted: Wed Feb 01, 2012 7:58 pm Post subject: |
|
|
Hi God Of Atheism,
It sounds your WM mixer isn't enable to restore sound settings. In Kmixer you can enable "restore volume and sound settings" in the "set Kmix" option under "settings" menu. Try to find this option in your preferable mixer.
Hope it helps. |
|
| Back to top |
|
 |
God Of Atheism n00b

Joined: 23 Jan 2012 Posts: 18
|
Posted: Fri Feb 03, 2012 7:13 am Post subject: |
|
|
Hi ferreirafm,
Thanks, but I found no such option in xfce4-mixer.
I do encounter another phenomenon, apart from the volume being reset at boot, which is that PCM control has disappeared. This happened earlier as well, but then I could add it back in xfce4-mixer, now I can't. Actually, it was absent when I first ran alsamixer, it was xfce4-mixer via which I added it. How do I add that control back? |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Fri Feb 03, 2012 7:55 am Post subject: |
|
|
I recommend you forget about asound.state, and use a script.
This stops ALSA from getting confused, if the state file doesn't quite match the controls as ALSA sees them - which can happen, e.g. between ALSA versions. |
|
| Back to top |
|
 |
God Of Atheism n00b

Joined: 23 Jan 2012 Posts: 18
|
Posted: Fri Feb 03, 2012 5:04 pm Post subject: |
|
|
Hi PaulBredbury,
I made a script and put it in /etc/alsa.d/, but also did rc-update to add (or re-add, I don't think I did that step while setting up alsa) to the boot runlevel. One of those solved it, I'll check sometime which of those by moving the script. In any case I can mark this as solved.
Still, do I need the PCM control (which disappeared)? |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Fri Feb 03, 2012 5:16 pm Post subject: |
|
|
| God Of Atheism wrote: | | do I need the PCM control (which disappeared)? |
Probably not. Has its removal meant that you can't adjust the volume properly?
Do you have a "Master" control? Maybe that takes it place. |
|
| Back to top |
|
 |
God Of Atheism n00b

Joined: 23 Jan 2012 Posts: 18
|
Posted: Sat Feb 04, 2012 5:15 pm Post subject: |
|
|
Hi PaulBredbury,
Thanks. I have the master control. For now the PCM control has reappeared by the way. |
|
| Back to top |
|
 |
|