2005-09-24 17:45:08

by Patrizio Bassi

[permalink] [raw]
Subject: [BUG] 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-----


2005-09-24 22:35:57

by Jesper Juhl

[permalink] [raw]
Subject: Re: [BUG] alsa volume and settings not restored after suspend

On 9/24/05, Patrizio Bassi <[email protected]> wrote:
> -----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.
>
[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

2005-09-24 22:54:58

by Lee Revell

[permalink] [raw]
Subject: Re: [BUG] alsa volume and settings not restored after suspend

On Sat, 2005-09-24 at 19:45 +0200, Patrizio Bassi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> As 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

2005-09-25 08:18:16

by Patrizio Bassi

[permalink] [raw]
Subject: Re: [BUG] alsa volume and settings not restored after suspend

Lee Revell ha scritto:

>On Sat, 2005-09-24 at 19:45 +0200, Patrizio Bassi wrote:
>
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>As 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
>
>
>
>
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