Soft power switch

"E." Pavletič <[email protected]>
Newsgroups gmane.linux.debian.ports.hppa,gmane.linux.ports.hppa
Message-ID <[email protected]>
Hi all,

I've a problem with the power switch on a HP 9000 D220 machine. Actually
I'm not able to shutdown the system cleanly when the power switch is
turned off.
It seems that the kernel is properly configured because dmesg outputs
the message "Soft power switch enabled, polling @ 0xf0140000" and in the
procfs file system there's an entry "soft-power"
(/proc/sys/kernel/soft-power) containing the value 1. When I turn the
switch off, the function deferred_poweroff(void *dummy) in
drivers/parisc/power.c is (correctly) called and on the console appears
the following message:

Broadcast message from root (pts/1) (Fri Apr 21 17:12:50 2006):
The system is going down for reboot NOW!

but immediately after that the power turns off. 
I've tried it both with a precompiled kernel
(kernel-image-2.6.8-3-32_2.6.8-6sarge2_hppa.deb) as with a kernel I've
compiled myself (kernel-source-2.6.8_2.6.8-16sarge2_all.deb). The result
is the same.

I've searched several mailing lists, but so far I've not found anything
helpful around. Has anyone already experienced something like this?

Thanks in advance.
Enzo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.