LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2011, 07:10 PM   #1
newonlinux
LQ Newbie
 
Registered: Dec 2010
Posts: 24

Rep: Reputation: 0
Question have to run alsamixer to unmute sound after reboot


sound on laptop running linux mint 9 isadora after restarting or if computer is idle. when the computer is idle for a while the sound will stop working even though it doesn't show muted. after restarting i have to run alsamixer and the master tab will be muted. i can unmute and it will work until the computer sits idle for a while. any suggestions.
 
Old 01-12-2011, 07:57 PM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
You might want to check this thread out:

https://bugs.launchpad.net/ubuntu/+s...ls/+bug/352732

The specific fix is in reply #77:

https://bugs.launchpad.net/ubuntu/+s...32/comments/77

Hope this helps.
 
Old 01-12-2011, 08:05 PM   #3
ejang
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
cheers, this worked for me too!
 
Old 01-12-2011, 08:51 PM   #4
wojox
LQ Newbie
 
Registered: Nov 2010
Location: San Antonio, TX
Distribution: Debian, #!, Fedora, Ubuntu, and Windows
Posts: 11

Rep: Reputation: 0
Try running

Code:
sudo alsactl store
After running alsamixer
 
Old 01-12-2011, 09:02 PM   #5
newonlinux
LQ Newbie
 
Registered: Dec 2010
Posts: 24

Original Poster
Rep: Reputation: 0
tried to execute and this is what i got:
bash: /etc/pulse/default.pa: Permission denied
any suggestions? I'm very new to linux so I'm not sure i did it correct. I went into terminal and entered /etc/pulse/default.pa at the $ prompt. was that right?
 
Old 01-13-2011, 04:55 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally Posted by newonlinux View Post
tried to execute and this is what i got:
bash: /etc/pulse/default.pa: Permission denied
any suggestions? I'm very new to linux so I'm not sure i did it correct. I went into terminal and entered /etc/pulse/default.pa at the $ prompt. was that right?
I'm not running Ubuntu right now, but I'll try to guide you in simple steps.

You're not supposed to run the file, you need to edit its content.

Launch a shell prompt and in it type: sudo gedit /etc/pulse/default.pa

Assuming the file exists, you should see the contents of the file in gedit (a file editor similar to notepad).

Locate the relevant line and put a hash (#) in front of it.

Save the file and exit.

Try restarting your computer and see if it resolves the issue.
 
Old 01-13-2011, 07:35 AM   #7
newonlinux
LQ Newbie
 
Registered: Dec 2010
Posts: 24

Original Poster
Rep: Reputation: 0
same thing. had to execute alsamixer to unmute master tab after restarting before sound would work. ran sudo gedit /etc/pulse/default.pa and sudo alsactl store(per wojox suggestion) a second time, restarted - same thing???
 
Old 01-13-2011, 10:27 AM   #8
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
When you say
Quote:
ran sudo gedit /etc/pulse/default.pa
I assume you mean "ran the command and edited the file". Just opening it up isn't enough

While this doesn't "solve" the problem in the proper sense, adding
Code:
amixer sset Master unmute
to your .bash_profile should fix the problem as well
 
Old 01-13-2011, 12:20 PM   #9
newonlinux
LQ Newbie
 
Registered: Dec 2010
Posts: 24

Original Poster
Rep: Reputation: 0
hooray!!!!! so far so good. I logged out/in and sound still worked...I shut down and when i logged back on, I still had sound!!! I am so happy. The final test will be for the computer to be idle for a while and the sound still work before I know this completely worked. So a BIG thanks to all!!!
 
Old 01-14-2011, 05:26 AM   #10
newonlinux
LQ Newbie
 
Registered: Dec 2010
Posts: 24

Original Poster
Rep: Reputation: 0
After the computer was idle throughout the night - had to restart to have sound. sound does work without having to unmute in alsamixer on restart. any suggestions? By the way, the laptop lid was closed, so the computer was suspended. Does that matter?

Last edited by newonlinux; 01-14-2011 at 05:51 AM.
 
Old 01-15-2011, 10:43 AM   #11
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well, the easiest "fix" I can think of is to create a launcher to run the command I gave, so unmuting the sound only takes a click... But like I said before, it's not really a solution - perhaps the problem will be fixed in an update, or perhaps you'll work out what it's upset about Maybe searching through /var/log to see if there are any relevant messages.

Anyway, to add a launcher:
Right-click on a panel (if you don't know, this is the GNOME equivalent of the Windows 'taskbar'. It's at the bottom/top/side of the screen )
Choose "Add to Panel"
Choose "Custom Application Launcher"
Click "Add"
Click on the icon of a spring and find a nice volume-related icon - "/usr/share/icons" has lots, I picked "/usr/share/icons/hicolor/scalable/multimedia-volume-control.svg", but this might not be on your system.
Enter Name: "Unmute volume"
Enter Command: "amixer sset Master unmute"
Optionally, enter a comment.

If you click on this launcher it should unmute your volume
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound After Reboot - ALSAMIXER Does not Run. Z3R0o Linux - Hardware 5 01-05-2007 08:37 PM
CD sound silent, cannot unmute noid Linux - Newbie 8 07-24-2005 05:57 AM
Though set UNMUTE using alsamixer, my soundcard still doesn't work,WHY? chuanweizuo Linux - Hardware 1 03-04-2005 08:27 AM
How to Unmute sound using OSS?? shazam75 Mandriva 3 10-15-2004 03:59 AM
Suse9.1/ALSA/Audigy/No Sound/I run alsaconf after reboot(s) to get sound FastFeet Linux - Hardware 23 07-12-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration