No sound after suspending to RAM
There is no sound after suspending to RAM even though the channels were unmuted.
Here is some info about my environment. aplay -l output: Code:
**** List of PLAYBACK Hardware Devices **** Code:
snd_hda_codec_realtek 55667 1 |
After tried to go into sleep mode with a headphone connected, I found that the 'Speaker' section in alsamixer is marked 'MM' which I think is mute because the 'Headphone' channel is '00' and the headphone producing sound.
This is the output of amixer scontents -c1: Code:
Simple mixer control 'Speaker',0 Code:
boby@localhost ~]$ amixer sset Speaker unmute **Update After removing the headphone, the 'Speaker' channel turned from 'MM' to '00', but no sound. And after I insert the headphone again, 'Speaker' turned 'MM' and the headphone producing sound. |
hi
firstly the headphone inserted muting the speakers is what I would expect of a decent sound card and decent software 1) can you show also aplay -L outuput as I suspect you have pulseaudio running ---PA is famous for muting after a while |
secondly your command needs a change or two
Code:
amixer -c1 sset Speaker,1 unmute -----with your final settings you may find you need more than one command to get there also I suspect you can't just use simple controls but the elongated ones ############## I wonder about you mixing up card 0 (index 0) and 1 so you might be better off showing both the input command and its output so we can be sure pls I may be wrong but me thinks you have not used the card index number correctly |
Okay, this is the aplay -L output:
Code:
null But, it is strange that the speaker now produce the sound even after the system being suspended. It wasn't like this before. Before, the speaker didn't produce any sound even though alasmixer showed that it was unmuted. ** Update I suspended it again without a headphone connected and now the speaker doesn't make any sound. The alsamixer -c1 is identical to the one which I took the snapshot of it. Running amixer -c1 sset Speaker unmute doesn't help. Still no sound. But, there is sound from the headphone if I connect it. |
I have made a mistake try]
Code:
amixer -c1 sset Speaker,0 unmute 2) you have auto mute mode enabled in alsa go back into alsamixer -c1 right arrow to it press the up or down arrow to show its disabled pls 3) lets try that again me thinks you need longer amixer commands but your image does not show what it was can you now post an image of alsamixer -c1......without changing anything....just after you re-wake computer pls b) you have a separate control for headphone so you may not necessarily have a control in alsa for headphone sense 4) as suspected you also have pulseaudio and that has a susspension function as default So it gets messier Do you have more than one user on this computer? if so you should keep the /etc/pulse configs and edit them with root powers otherwise copy some configs into your home folder as per this wiki explanation for PA try independent test of alsamixer....first after re-awake follow this guide https://wiki.archlinux.org/index.php...e_from_suspend Code:
/usr/bin/pasuspender /bin/true if you need to do amixer commmands.....we need before and after images to translate the alsamixer images into amixer commmands ----and I suspect you can't use the simple controls.....but lets wait for your report good luck PS don't create the systemd stuff as per wiki.....a script is quicker create a text file with Code:
echo "#!/bin/sh |
1) Okay, I understand about the amixer command now. I've unmuted the speaker channel from card #1 after suspending, but still no sound from the speaker. There is sound from the headphone though.
2) Okay, I've disabled the Auto-Mute Mode. 3) Here: hhttp://i41.tinypic.com/24m58op.jpg. Everything looks fine 4) It doesn't help. $ /usr/bin/pasuspender /bin/true doesn't help. Still no sound. |
Hi
no image in link b) I should have checked my debian to see if it had the same command so suspect you have the same issue no such file as /usr/bin/pasuspender until you install this package pls pulseaudio-utils c) leaping ahead I need to see the image before you do any alsamixer (amixer) work but we have the final image if the resume pulseaudio does not work, once installed then you may need more than one amixer command possible for the PCM control etc d) by comparing before and after images if the pasuspender is not enough you had amixer commands to get to resultant image is that clearer? |
b) There are pulseaudio-utils package and pasuspender command.
c) Here is the image which of alsamixer -c1 before I do any alsamixer (amixer) work (just after booting) http://i39.tinypic.com/2eqgvmp.jpg. d) The only difference from all images I upload is the Auto-Mute Mode. So this is the image of alsamixer before doing anything http://i39.tinypic.com/2eqgvmp.jpg. I didn't connect the headphone. I played a video. There was sound. Then I went into sleep mode and wake from it. The alsamixer was still the same. Nothing was muted. Muted stuffs are just the result of connecting a headphone. I played a video. No sound. I ran amixer -c 1 set Speaker,0 100% unmute. Still no sound. I ran pasuspender /bin/true. Still no sound. But, there is always sound if it's from headphone. There is no sound from the speaker. |
sorry no images in FF or google chrome
could you consider looking at "sharing" keep link then logout and test your own link? otherwise can you consider using tinypic.com (no expiry) free to join or with expiry http://imagebin.org/index.php?page=add 2) until I see the images, even tho you say there is no difference I am reluctant to comment further but will as we appear to be in diff timezones 3) can you look without posting images of pavucontrol does it show any speaker mutes? when you play sounds from headphones and speakers, do you see any changes in outputs? report if you see any thanks |
Sorry for abandoning this thread for days. I've updated all the picture links to TinyPic.
|
you had an extra h in link
this looks like it tho http://oi41.tinypic.com/24m58op.jpg ---------- Post added 19-01-14 at 15:01 ---------- and if it is, auto mute is still showing as enabled pls disable it |
Quote:
pavucontrol shows that there is sound though http://i44.tinypic.com/ao50y8.png. |
ahhh we are getting somewhere
that last image shows you have set up the output device as hdmi which is not analog so no headphone or speaker 1) did you realise that? pavucontrol ---click on configuration tab ---pulldown and select "headphones" or analog depending on options available 2) are you looking for simultaneous outputs? hdmi plus analog install paprefs and config for simulataneous outputs ....the extreme RH tab |
Quote:
I think everything is normal. alsamixer -c0 is for HD-Audio Generic (ATI R6xx HDMI) and alsamixer -c1 is for HDA ATI SB (Realtek ALC269VB). Maybe these screenshot of pavucontrol will help: http://i39.tinypic.com/261oh9y.png --> Output Devices tab http://i44.tinypic.com/n5lmw3.png --> Configuration tab |
All times are GMT -5. The time now is 10:01 PM. |