Eduard, On Sun, Jun 23, 2002 at 08:41:41AM +0200, Eduard Bloch wrote: > #include <hallo.h> > Patrick M wrote on Sun Jun 23, 2002 um 01:00:36AM: > > > I tried 2 things: > > First: when you use ACPI kernel, enable ACPI in BIOS. When you use APM > kernel, enable APM.
I tried both seperatly. > > > 1- I insmoded APM module, ran apmd, and gave "apm=on" parameter to > > the kernel. > > You may have one of those weird boards that need the > CONFIG_APM_REAL_MODE_POWER_OFF switch in the kernel setup. As suggested also by 'Neal', I just tried it... unsuccesfully... > > > 2- I compiled a new kernel with ACPI enabled. > > What happens, when you press the Power button for a short time? Do you > see kernel messages then? With full ACPI support, pressing the power button for a short time doesnt give me any kernel message. But could that event be handled differently by the scripts located in /etc/acpi/ ? Once again, here they are: $ cat /etc/acpi/events/powerbtn #... event=button[ /]power action=/etc/acpi/powerbtn.sh $ cat /etc/acpi/powerbtn.sh #!/bin/sh # /etc/acpi/poweroff.sh # Initiates a shutdown when the power putton has been # pressed. /sbin/init 0 The file /etc/acpi/poweroff.sh doesnt exist... We're getting there, I can feel it!! :) Thanks again for your help, PM, 22 > > Gruss/Regards, > Eduard. > -- > "They are marked 'dangerous' because they eat filesystems for breakfast." > Linus Torvalds about 2.3.7 pre-patches, LKM > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]