alsa volume and settings not restored after suspend
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As topic.
Suspend works perfectly, but after resume, no sound from audio card.
i see application works, for example i see xmms equalizer working, but no sound,
even if i change manually volume.
only way is restarting the alsa init script. after that it works perfectly.
not a critical bug, but may be very confortable to have registers setted properly.
Some infos:
kernel 2.6.14-rc2-git4
alsa compiled built-in
audio card: ens1370 (creative pci128)
init script: Gentoo default one.
ready to add more infos if needed.
and test any patch, of course.
Patrizio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDNZCcys6LZpyYQ6URAvJwAKCf4us21F8FBRrStfyaxhx2eRpCXACfbuso siPbWKXGMmd8O66gXLx6iuw=
=CNcI
-----END PGP SIGNATURE-----
Quoted 6 lines · Patrizio Bassi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1As topic.
Suspend works perfectly, but after resume, no sound from audio card.
I'm not surprised, suspend/resume is not implemented for that device.
It looks like it would not be too hard, see es1938.c for an example.
Lee
Lee Revell ha scritto:
Quoted 12 lines · Patrizio Bassi
Quoted 10 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1As topic.
Suspend works perfectly, but after resume, no sound from audio card.
Quoted 9 lines
I'm not surprised, suspend/resume is not implemented for that device.
It looks like it would not be too hard, see
es1938.cfor an example.Lee
ok, suspend/resume functions are very very simple.
the problem is i have really 0 experience in alsa devel, for example i don't know the 0xa0 limit (in es1938...).
so...i'm asking for alsa devel to implement that, i'll be happy to help you in testing and debugging.
Thanks
Patrizio
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
Quoted 7 lines · Patrizio Bassi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1As topic.
Suspend works perfectly, but after resume, no sound from audio card.
Quoted 9 lines
i see application works, for example i see xmms equalizer working, but no sound,
even if i change manually volume.only way is restarting the alsa init script. after that it works perfectly.
not a critical bug, but may be very confortable to have registers setted properly.
[snip]
Have you tried talking to the ALSA people about this?
http://www.alsa-project.org/mailing-lists.php
[email protected]
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html