What governs the power button behaviour?
Specifically I find that my power button kicks off a shutdown. From X or whatever the machine simply goes immediately into a shutdown.
I am running acpid and Gnome 2.16 which I have set the power manager configuration to "Ask Me" what to do when the power button is pressed. I am not sure if it is a default rule in acpid or X that is taking effect because the Ask Me feature certainly is not. Code:
stardotstar@spitfire /etc/acpi/events $ ls Code:
stardotstar@spitfire /etc/acpi $ cd actions/ Any pointers? TIA |
check your bios. I've seen in in a few.
|
The stuff in /etc/acpi/acpi_handler.sh controls what the power button does.
The line in the file will look something like this: Code:
case "$1" in |
Thank you for that I will check it later today...
As for the BIOS - this is a MacBook Pro so it is EFI and the issues around bios are complicated - the video drivers need a legacy bios emulation and that is provided but lots of progs that rely on legacy bios simply dont' work - memtest86 for instance. Will |
No script as such:
Code:
stardotstar@spitfire ~ $ sudo find / -iname "acpi_handler.sh" |
Look inside your /etc/acpi/ directory. Check for any scripts or for a folder possibly called events. One mine, there is a /etc/acpi/events/default file that runs the script /etc/acpi/acpi_handler.sh
If there is an /etc/acpi/events folder look through the files and see if any contain the /sbin/init 0 |
Yep, there it is:
Code:
spitfire acpi # cat default.sh |
You should be able to.
|
Quote:
|
All times are GMT -5. The time now is 02:32 PM. |