Power management messes up ALSA on HP 6830s laptop

Hello,

This thread is the follow-up of this one.

It seems like the power management software messes up my ALSA. Indeed i have the following behaviour:
-> every time i boot up with the power adaptor unplugged, alsa won’t output sound through the laptop speakers
-> When i boot up with the power plugged, it works allright
-> When my sound output is ok, if I unplug the power adaptor, it stops working

-> And finally, when my sound output is KO, it starts working again if i type “rcalsasound restart”.

Here is my config:

Laptop: HP Compaq 6830s
openSUSE version: 11.1
Desktop: KDE 4
Audio device: Intel Corp 82801I (ICH9 Family)
Audio codec: Analog Devices AD1984A

And here is my sound config:

>alsa-conf.sh
http://www.alsa-project.org/db/?f=06...630db83996f7e6
Quote:
>rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
alsa-plugins-1.0.18-6.12
alsa-1.0.18-8.7
alsa-plugins-pulse-1.0.18-6.12
alsa-oss-1.0.17-1.37

>rpm -qa | grep pulse
pulseaudio-module-zeroconf-0.9.12-9.6
libpulsecore4-0.9.12-9.6
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libpulse0-0.9.12-9.6
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
libxine1-pulse-1.1.15-44.pm.2
pulseaudio-module-jack-0.9.12-9.6

>rpm -q libasound
libasound2-1.0.18-8.7

>uname -a
Linux linux-uiux 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

>cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=laptop

Does anyone know what piece of software handles power management, and how to configure it so that it doesn’t interfere with alsa?

I realize i may have misnamed this thread.

What is power management all about?

  1. is it only “suspend to RAM/disk” features?
  2. Or is it also responsible for detecting the power adaptor plugging/unplugging, and for the subsequent dimming of the screen and other power saving actions?