View previous topic :: View next topic |
Author |
Message |
Hossie Tux's lil' helper
Joined: 08 Dec 2005 Posts: 116
|
Posted: Sat May 13, 2006 1:58 pm Post subject: [SOLVED] Sound muted after boot |
|
|
Hi, everytime I boot into Gentoo, my sound is muted, I have to unmute it with the gnome applet. Im using AC97 onboard on my Asus A8N-SLI Premium with Alsa and Gnome. What can I do against that?
Last edited by Hossie on Sun May 14, 2006 12:17 pm; edited 1 time in total |
|
Back to top |
|
|
scoon l33t
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Sat May 13, 2006 2:57 pm Post subject: |
|
|
Hey there,
alsactl is used to save your settings that will be restored when you reboot.
-scoon _________________ Hope this helps........ |
|
Back to top |
|
|
GetCool Guru
Joined: 23 Nov 2003 Posts: 324 Location: Madison, Wisconsin
|
Posted: Sat May 13, 2006 11:39 pm Post subject: |
|
|
scoon wrote: | alsactl is used to save your settings that will be restored when you reboot. |
You shouldn't need to rely on alsactl, as the alsasound init script handles the saving/restoring of settings automatically. Verify that you have:
- Your sound card driver compiled into your kernel (not as a module). Example:
Code: | PCI devices --->
<*> Emu10k1 (SB Live!, Audigy, E-mu APS) |
Note that you can compile the driver as a module, but it has always worked better for me when I build them in.
The alsasound initscript in the boot runlevel:
Code: | # rc-update add alsasound boot |
The following variable set in /etc/conf.d/alsasound:
That should work for you. The ALSA Guide has more details. |
|
Back to top |
|
|
Hossie Tux's lil' helper
Joined: 08 Dec 2005 Posts: 116
|
Posted: Sun May 14, 2006 12:17 pm Post subject: |
|
|
'rc-update add alsasound boot' solved the problem. |
|
Back to top |
|
|
RealNitro Tux's lil' helper
Joined: 01 Jul 2004 Posts: 98
|
Posted: Sat Jul 22, 2006 9:38 am Post subject: |
|
|
I've been having this problem for months now. I tried just about everything. Today I decided to give it another try, and I solved it! I don't know why, but my alsasound init-script has a 'RESTORE_ON_START' that was not mentioned in my conf.d/alsasound file. I added
Code: | RESTORE_ON_START="yes" | to my conf.d/alsasound script, and my sound was restored at boot time! |
|
Back to top |
|
|
Chabbrik n00b
Joined: 08 Aug 2005 Posts: 23
|
Posted: Fri Aug 18, 2006 10:00 pm Post subject: |
|
|
Hello there,
I have similar problem there. After I worked with alsamixer (needed to tweak a few things to make Skype working) my sound setting are no longer saved and restored after reboot.
This is my etc/conf.d/alsasound script:
Quote: |
# ENABLE_OSS_EMUL:
# Do you want to enable in-kernel oss emulation?
# no - Do not load oss emul drivers
# yes - Load oss emul drivers if they're found
ENABLE_OSS_EMUL="yes"
# RESTORE_ON_START:
# Do you want to restore your mixer settings? If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state
RESTORE_ON_START="yes"
# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state
SAVE_ON_STOP="yes"
|
I have also alsasound added to the boot at rc-update
Any other ideas what might be wrong? |
|
Back to top |
|
|
GetCool Guru
Joined: 23 Nov 2003 Posts: 324 Location: Madison, Wisconsin
|
Posted: Sat Aug 19, 2006 6:42 pm Post subject: |
|
|
Chabbrik wrote: | I have similar problem there. After I worked with alsamixer (needed to tweak a few things to make Skype working) my sound setting are no longer saved and restored after reboot. |
Have you checked your logs? See if there are any entries in your logs related to ALSA; it might give you some idea of what's going on (such as incorrect permissions on a file, etc.).
I don't have any other ideas right now, as your settings look fine. Really, if you have SAVE_ON_STOP="yes" and RESTORE_ON_START="yes", and alsasound added to the boot runlevel, then the ALSA settings should be saved to and restored from /etc/alsasoud.state. As far as I know, alsasound runs as root, so asound.state should be written to regardless of the permissions... |
|
Back to top |
|
|
|