Running Ubuntu 12.04.4 On a Toshiba Satellite - Sound Problem

Posted on 2014-02-28
Medium Priority
Last Modified: 2014-03-04
I am running Ubuntu 12.04.4 LTS on a Toshiba Satellite S55D-A5366. It came with Windows 8.1 and it was a disaster, with intermittent rebooting, driver issues, until I installed Ubuntu. Which seems to work very well, in general.

What I am experiencing  is, that the sound switches off as if I muted it, sometimes, by itself and it is not coming back when it is un-mute with top panel control.

The speaker icon on the top panel occasionally flips to muted by itself, but even if I un-mute it the sound doesn't come back.

Then, even though I have the sound un-muted starting out before reboot, in the login screen it comes up with the sound muted.

Mute / Un-mute seems to work opposite with the login screen and on the desktop many times, but not always.  I am using Mate Desktop 1.6.0, but if I go over to the original Unity desktop it seems to work the same.

What I found on the Internet regarding this, as a solution:


If I do this outlined here, it runs identical in the terminal, with the sound card in the example (they must have been messing with the same model computer):

attila@attila-Satellite-S55D-A:~$ amixer
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
attila@attila-Satellite-S55D-A:~$ sudo amixer -c 0 set IEC958 playback 100% unmute
[sudo] password for attila:
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

BUT! For me, the sound doesn't come back!

I am using HDA ATI HDMI (Alsa Mixer) for sound. See attached screen shot of
all the possibilities in the mixer that come up.

I don't know what to do next, so that sound doesn't work at random. Any ideas?

Thank you for your help.
Question by:AttilaB
  • 6
  • 5
  • 2
LVL 35

Expert Comment

by:Duncan Roe
ID: 39896943
Have you tried runn9ing alsamixer from the command line? (it's an ncurses program).
Then you could run alsactl store when you have your speakers unmuted. Perhaps whatever is messing with your sound would respect that.
LVL 62

Expert Comment

ID: 39897868
Well you need to specify the model of your soundcard (and wipe mixer settings in single mode for each try)
Why? I see you adjust SPDIF while spec of machine says you dont have one...

Author Comment

ID: 39900436
Thank you for your help. Well, I have trouble understanding what specifically I need to do, on a more step-by-step level.

Either if you could get a little more specific, or  I need to find some resource on how to do this.

Incidentally, if I run:

attila@attila-Satellite-S55D-A:~$ cat /proc/asound/card0/codec* | grep Codec
Codec: ATI R6xx HDMI

So, this is not an Intel sound card in the laptop.
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 62

Expert Comment

ID: 39900657
It still conforms to intels' HDA spec.
What is the codec of card1?

There should be one handling output sockets and other handling HDMI output to TV (one we see)

Author Comment

ID: 39900863
Interestingly, now I got more info when running

cat /proc/asound/card0/codec*


cat /proc/asound/card1/codec*

on the command line.  See attached text file

LVL 62

Expert Comment

ID: 39901234
so card1 is output sockets.... it means that you need to adjust all mixer controllers to use the other (non-idc, non hdmi) card
card0 is if you hook up tv-set (say for mythtv or xbmc)

Author Comment

ID: 39901351
I just don't know how I can stabilize the sound. For the last two days it was working fine,
and it is working right now. I just don't know when I will boot the machine and the sound will be broken no matter what until an undetermined future reboot... when it works 'magically'  again...
LVL 35

Expert Comment

by:Duncan Roe
ID: 39901563
Did you try alsamixer? It seems to me that your problem is that sometimes your system starts up with the "right" sound card as default and sometimes not. If you run alsamixer, configure the card you want, save the config with alsactl then your system should always use it in future.
(alsactl lets you select which card to work on - type h in the window to see a full list of what you can do (dismiss the help window with <ESC>))

Author Comment

ID: 39902251
I just ran AlsoMixer, and it provided the info attached in the pdf file.

I don't know how I would save the configuration though for future use, though.

I don' quite know what the problem is, this is what it does:

attila@attila-Satellite-S55D-A:~$ alsactl store 0
alsactl: save_state:1608: Cannot open /var/lib/alsa/asound.state for writing: Permission denied

Isn't it the way I was supposed to save it?

This is what help says:

Usage: alsactl <options> command

Available global options:
  -h,--help        this help
  -d,--debug       debug mode
  -v,--version     print version of this program

Available state options:
  -f,--file #      configuration file (default /var/lib/alsa/asound.state)
  -F,--force       try to restore the matching controls as much as possible
                   (default mode)
  -g,--ignore      ignore 'No soundcards found' error
  -P,--pedantic    do not restore mismatching controls (old default)
                   don't initialize even if restore fails
  -r,--runstate #  save restore and init state to this file (only errors)
                   default settings is 'no file set'
  -R,--remove      remove runstate file at first, otherwise append errors

Available init options:
  -E,--env #=#         set environment variable for init phase (NAME=VALUE)
  -i,--initfile #  main configuation file for init phase (default /usr/share/alsa/init/00main)

Available commands:
  store   <card #> save current driver setup for one or each soundcards
                   to configuration file
  restore <card #> load current driver setup for one or each soundcards
                   from configuration file
  init        <card #> initialize driver to a default state

I am not sure how to use alsactl.

Author Comment

ID: 39903138
Now my sound card is all quiet again this morning, for no known reason. All I did was reboot, since yesterday.
I am selecting it with AlsaMixer as 0 and it does not make a difference.
I just cannot turn it on.
LVL 62

Expert Comment

ID: 39903162
Guess one:
You really need to specify HDA card model
Guess two:
You need to delete gnome mixer saved data (it once loaded what alsamixer had saved, now it reads from its own files, messing up channels, like muting right hdmi channel using saved value of what once was microphone etc (i posted ubuntu sound page, it is all there)

Author Comment

ID: 39903278
Where is this page "i posted ubuntu sound page, it is all there"?

Can you give me a URL to what you are describing?

If I Google it an awful lot of stuff comes up, that has nothing to do with it.
LVL 62

Accepted Solution

gheist earned 1500 total points
ID: 39903596

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question