Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Sound muted after boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Sat May 13, 2006 1:58 pm    Post subject: [SOLVED] Sound muted after boot Reply with quote

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? :cry:

Last edited by Hossie on Sun May 14, 2006 12:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Sat May 13, 2006 2:57 pm    Post subject: Reply with quote

Hey there,

alsactl is used to save your settings that will be restored when you reboot.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
GetCool
Guru
Guru


Joined: 23 Nov 2003
Posts: 324
Location: Madison, Wisconsin

PostPosted: Sat May 13, 2006 11:39 pm    Post subject: Reply with quote

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:
    Code:
    SAVE_ON_STOP="yes"


That should work for you. The ALSA Guide has more details.
Back to top
View user's profile Send private message
Hossie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 116

PostPosted: Sun May 14, 2006 12:17 pm    Post subject: Reply with quote

'rc-update add alsasound boot' solved the problem. ;)
Back to top
View user's profile Send private message
RealNitro
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 98

PostPosted: Sat Jul 22, 2006 9:38 am    Post subject: Reply with quote

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! :D
Back to top
View user's profile Send private message
Chabbrik
n00b
n00b


Joined: 08 Aug 2005
Posts: 23

PostPosted: Fri Aug 18, 2006 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
GetCool
Guru
Guru


Joined: 23 Nov 2003
Posts: 324
Location: Madison, Wisconsin

PostPosted: Sat Aug 19, 2006 6:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum