-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amixer controls are configured incorrectly in raspbian 16/12/2012 #139
Comments
I've just tried: So I'm not convinced it is a kernel issue. Does deleting asound.state affect it? |
Hi Thanks for looking so quickly, I''ve done what you said and more, the only thing that makes sound work is to remove pulseaudio: I used the python game gemgem to try the sound New SD card from 16/12/2012 image sudo apt-get remove pulseaudio reinstall - pulseaudio Several other people on the forum have reported the same with the 16/12/2012 image. Only sure way to get sound going seemed to be to remove pulseaudio Not sure which github I should have reported this in asb/spindle raspberrypi/linux or raspberrypi/firmware; happy to move it if you want. |
Thanks for the report Ken, I'll look in to it. |
I can confirm the same behavior Ken has described. I can play audio through omxplayer, but not through aplay. Running amixer from a freshly downloaded image of 12/16/2012 shows the "master" and "capture" controls, not the PCM controls of previous builds. The "amixer cset numid=3 1" command has no effect on audio output, nor does removing asound.state and rebooting. uname -a output: In order to get audio to work properly, I had to perform the following steps:
At that point "aplay /usr/share/sounds/alsa/Noise.wav" works properly through analog out. I do agree that it doesn't seem to be a kernel issue, but there seems to be an issue with pulseaudio's interaction with alsa. |
Hi, |
I've edited |
Sorry, I made a mistake. The correct command is: amixer -c 0 cset numid=3 'n' |
Okay changed to "-c 0" in wiki. |
Tried gsenna's fix all working fine, many thanks. Before I close the Issue a question, is this change going to be permanent, if so I will change the code in launcher.sh for Python Games?. However, sound is now broken in Python Games, comes back when removing pulseaudio. See here for details |
@gsenna & others thanks so much for the fix -- I had this working on a previous version of Raspbian & was puzzled as to why it was suddenly not working ... finally found this page!! For some reason it didn't work for me until I rebooted. HDMI sound MUCH better ... using HDMI2AV connected to computer speakers with 3.5mm coupler ... is that what you are using, or is there a better way? Thx. |
Pulseaudio is not in later images and Dom has fixed popping without having to use Pulseaudio (fantastic result Dom) so closing. |
In the latest issue of raspbian it is not possible to switch between analogue and hdmi output using amixer cset numid=3 x. Also when amixer cset numid=3 x is used the volume control is set to a low value. The cause seems to be mis-configuration of alsa CTL
In the previous correctly working image 'amixer controls' reports:
3 = playback route, 1= playback volume
in the current broken image it reports:
3 - master playback volume 1 - capture volume
in both images /var/lib/alsa/asound.state which is the saved state of the controls shows
3 - PCM playback route 1 - PCM playback volume
I've been unable to find where these values are set up.
The text was updated successfully, but these errors were encountered: