[pulseaudio-discuss] Soundcard's powersave mode

Mikhail Morfikov mmorfikov at gmail.com
Sun Oct 4 11:28:19 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

In the case of snd_hda_intel kernel module, there's two options called
power_save and power_save_controller . I've set them to the following
values:

# systool -v -m snd_hda_intel | grep power
    power_save          = "10"
    power_save_controller= "Y"
    
According to archlinux wiki (https://wiki.archlinux.org/index.php/Power_management#Audio),
the power_save parameter is measured in seconds, and it should idle the
audio card after 10s.

The question is how could I know whether this works or not? Is there
any way to be sure that the powersave mode was activated? I've heard
that there's could be some "clicking" when the state of the sound
card changes, but I don't hear anything. Some people reported that the
volume behaves really strange, but it seems that it works just fine on
my machine.

Does the powersave mode in the kernel module is somehow related to the
following output?

$ pacmd list-sinks | egrep -i "state|suspend"
        state: SUSPENDED
        suspend cause: IDLE

I noticed that when some app plays audio stream, the state becomes
RUNNING. When the app stops playing, the state changes to IDLE, and
about 5s later, it changes to the state that you can see above. This
behavior is the same no matter what I set in the power_save option
in the kernel module. I've tested 0, 1 and 10, and actually I didn't
notice any difference.

So, is the powersave mode enabled or not?
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWEW/BAAoJEM0EaBB3G2UgHI4P/jU9Rwxi5YvpUbJA9/sN1mJW
ivzJnQ0FR9uD/H2qULKvVHZ6w9ltDWbvu0Vsl0GubZJg4+ZAPo18OlYLCE9qITFE
Ih8lW4ulQJx8DehsSSAA2/gLTeKss7BZYym3tXoBrxVm1sNYOfTLKOk/78iPCdcq
cQtD5rdouj6copNcetaKp/BGpaP42KIzIT5g6awJ0PpXCNyDgDjaZ5sdWGivYDPk
m5+nw6YuxbZqeY8XLTm5i7B3bYMIiCH4GwxrlOeapdKZqGOu3KNIpV9g5RC49iMZ
6YWyhN05q5jVfIGC83sxQZffYu1ml1d4dFhNMa/teyL5n0+NB2CqQ2XkE5VonyHK
N6/QyyzjiNdGruwpPiRBosxRMDPSqnhE6MncLtqJBz+fnFZkqhDG9cRP1WsOzWba
TSXrLjLQRX4YUmJLNl5IWIUe3hxGAAr7b1o4ZazILoZkLISOagotSPp981JTy6D1
7PeqxMvNGkpz9LgceuZSAbihdYHE+GQ9svk8jiSULzOqu7UFV30AHrJoUDcXvjgK
VZY78xw2uBkwuKQQ2OykOEIwyYHeFKEPlMem3og3vO+5TUOFaTrPpoCXFxSNqh86
gKHIWOBXbzHPsOeRF/GPW+G/MjayeUm1q0/nWpB0OfJCgxuALDiXRx+CCAk92bX1
giKqKjWmYHO1zFZLVcSW
=K9E1
-----END PGP SIGNATURE-----


More information about the pulseaudio-discuss mailing list