Pre-existing ALSA volume not used when opening new playback connections #8

benosteen opened this Issue Apr 20, 2012 · 6 comments


None yet
4 participants

When opening a new connection, the card resets back to its default volume. Eg lower the volume, and then start a process to playback sound - it will play at its default level, until volume is altered, causing a quick change in output volume.

Is this because the hw doesn't persist a value for volume/attentuation between playback connections?

If so, the driver should probably persist a value during its runtime and reapply that to newly opened pcm stream connections before playback.

groe commented Jun 29, 2012


dozzman commented Aug 10, 2012

A recent patch should fix this issue which can be obtained through rpi-update.

groe commented Aug 11, 2012

Thanks for the update!

Unfortunately I am not getting any sound at all now (except for the clicking when playback starts). I checked the volume in alsamixer but it seems like I can not set it anymore. The volume bar immediately drops to zero as soon as I release the up- or pageup-key.

Any ideas?


popcornmix commented Aug 11, 2012

Is it muted? (press m in alsamixer to toggle mute).

Can you confirm exactly what you type in from boot to see the problem.

groe commented Aug 11, 2012

It was muted, lol. Alsamixer even displayed that but I thought it would automatically unmute when increasing volume - my fault. Thanks for the tip!

Volume settings are now kept correctly, even after reboot - nice! :)


popcornmix commented Aug 23, 2012

Closing as we believe this is fixed. Please reopen if there are still problems.

@popcornmix popcornmix closed this Aug 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment