public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* apm suspend breaks ALSA
@ 2003-07-30 15:12 Christopher Swingley
  2003-07-30 15:34 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Swingley @ 2003-07-30 15:12 UTC (permalink / raw)
  To: linux-kernel

Greetings,

I have a laptop with the es1978 ALSA sound driver built into the kernel.  
When I go through a suspend / resume cycle using apm, the sound system 
does not recover and loud static comes from the speakers instead of 
music / voice / etc.  On boot, ALSA works just fine.

One solution appears to be building ALSA as modules and unloading / 
reloading them, after a suspend / resume cycle.  With 2.4.xx and the OSS 
drivers built in, this wasn't an issue.

Now that I've got them built as modules and have a 'sound' script in 
/etc/apm/events.d/ that does the loading and unloading I'm happy, but I 
figured I'd report the issue anyway.

Chris
-- 
Christopher S. Swingley          email: cswingle@iarc.uaf.edu
IARC -- Frontier Program         Please use encryption.  GPG key at:
University of Alaska Fairbanks   www.frontier.iarc.uaf.edu/~cswingle/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: apm suspend breaks ALSA
  2003-07-30 15:12 apm suspend breaks ALSA Christopher Swingley
@ 2003-07-30 15:34 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-07-30 15:34 UTC (permalink / raw)
  To: Christopher Swingley; +Cc: linux-kernel

At Wed, 30 Jul 2003 07:12:19 -0800,
Christopher Swingley wrote:
> 
> Greetings,
> 
> I have a laptop with the es1978 ALSA sound driver built into the kernel.  
> When I go through a suspend / resume cycle using apm, the sound system 
> does not recover and loud static comes from the speakers instead of 
> music / voice / etc.  On boot, ALSA works just fine.
> 
> One solution appears to be building ALSA as modules and unloading / 
> reloading them, after a suspend / resume cycle.  With 2.4.xx and the OSS 
> drivers built in, this wasn't an issue.
> 
> Now that I've got them built as modules and have a 'sound' script in 
> /etc/apm/events.d/ that does the loading and unloading I'm happy, but I 
> figured I'd report the issue anyway.

as default, the power-management of es1968 is enabled only on a
certain board, namely,
	ESS1978 _and_ (vendor == 0x1028 || vendor == 0x1179)

first, please check whether your pci id matches with it.

the behavior can be changed by a module option, use_pm, but it's
missing in the kernel boot parameter (i'll fix this later).
in that case, modify use_pm[] default value from 2 to 1, to force to
use power-management.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-30 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-30 15:12 apm suspend breaks ALSA Christopher Swingley
2003-07-30 15:34 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox