Due to my laptop's buggy BIOS, I have to disable ACPI or my network card won't work.
However, this introduces a problem with my power button. With ACPI enabled, the power button induces a clean shutdown. With ACPI disabled, however, instead of just not doing anything, pressing it causes the laptop to immediately power down, i.e. an unclean shutdown.
Needless to say, this is very bad, as a single wrong touch can immediately crash my machine, and potentially cause filesystem damage. Is there any way to tell FreeBSD to completely ignore the power button?
(FWIW: no, I don't need the unclean-shutdown functionality; after five seconds of holding the power button down, my laptop's BIOS kicks in and automatically shuts it down.)
However, this introduces a problem with my power button. With ACPI enabled, the power button induces a clean shutdown. With ACPI disabled, however, instead of just not doing anything, pressing it causes the laptop to immediately power down, i.e. an unclean shutdown.
Needless to say, this is very bad, as a single wrong touch can immediately crash my machine, and potentially cause filesystem damage. Is there any way to tell FreeBSD to completely ignore the power button?
(FWIW: no, I don't need the unclean-shutdown functionality; after five seconds of holding the power button down, my laptop's BIOS kicks in and automatically shuts it down.)