Find the answer to your Linux question:
Results 1 to 8 of 8
When i installed debian (unstable), my sound card (Creative Labs SB Audigy) was detected straight away and it works perfectly, only that the alsa mixer settings are never saved. By ...
  1. #1
    Just Joined! benerivo's Avatar
    Join Date
    Nov 2006
    Posts
    18

    Sound is muted after every boot

    When i installed debian (unstable), my sound card (Creative Labs SB Audigy) was detected straight away and it works perfectly, only that the alsa mixer settings are never saved. By default, the main volume channel is set to 0 (mute), so i have to manually change it every time i boot the computer. I have looked at these solutions but neither work...

    Append these lines to your /etc/rc.d/rc.local or /etc/init.d/alsasound
    /usr/bin/amixer set Master 50 unmute >/dev/null 2>&1
    /usr/bin/amixer set PCM 50 unmute >/dev/null 2>&1
    /dev/null /usr/bin/amixer set CD 50 unmute >/dev/null 2>&1

    Sound muted after each reboot, how to keep it unmuted? - Ubuntu Forums
    Sound is always "0" and muted after booting - Ubuntu Forums

    I should mention that these solutions suggest altering files that are not present on my setup (ie. /etc/init.d/alsasound) so i had to create them. I'm guessing my solution might be that i need to save/modify my alsa sound settings elsewhere.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Have you tried this
    Code:
    su -
    alsactl store
    ?
    Adjust sound settings ( alsamixer ) before executing those commands.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! benerivo's Avatar
    Join Date
    Nov 2006
    Posts
    18
    Code:
    alsactl store
    returns
    Code:
    -su: alsactl: command not found

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Okk ! Execute this
    Code:
    su -
    nano /etc/rc.local
    Add these lines in the file
    Code:
    /usr/bin/amixer set Master 50 unmute >/dev/null 2>&1 
    /usr/bin/amixer set PCM 50 unmute >/dev/null 2>&1 
    /dev/null /usr/bin/amixer set CD 50 unmute >/dev/null 2>&1 

    Press Ctrl+X, Y and hit Enter key to save file. Reboot machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! benerivo's Avatar
    Join Date
    Nov 2006
    Posts
    18
    Thanks, but it didn't work. Also, I don't have a file called /usr/bin/amixer which could be the problem. Would installing a package from the repositories fix all of this?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I have that file in my Debian box.
    Comment out those lines in /etc/rc.local file and execute this
    Code:
    su -
    apt-get update
    apt-get install alsa-utils alsa-base
    I just check that alsactl is not available in my system too but I dont have any sound mute problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined! benerivo's Avatar
    Join Date
    Nov 2006
    Posts
    18
    Hey Presto! It's fixed. I thought this may be have been the problem when i saw your other solution mentioned 'amixer'. Thanks for the help.

    I think the problem comes from my installation, which is just gnome-core (on top of a command line install).

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I had similar problem a few months back. It wasn't sound mute problem though. gnome-core doesn't include necessary Alsa packages. Glad to help you !!
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •