On Monday 25 August 2003 18:21, [EMAIL PROTECTED] wrote: > Does this mean that the OS can intercept you pushing the "power off" button > and do something? > > - Like booting to another OS on the same computer? > - Like doing a controlled shutdown instead of just letting the computer > turn off the power? > - Like even refusing to power off?
Usually the button is configurable in BIOS so that it either powers off straight away or powers off after the button is held for 4 seconds, the latter being the default. When the button is depressed an ACPI event is generated, which the OS intercepts and reacts to accordingly. With acpid, your first two suggestions above are both possible - the third could only be the result of a buggy motherboard (or motherboard producer ;-). There are other power-related ACPI events as well, such as depressing of a sleep button and for a laptop there's also low battery, removing/inserting a battery and closing/opening the lid, attaching/detaching mains power and more. Regards, Jason -- [EMAIL PROTECTED] mailing list