Vaio: ACPI patches

13 Jan 2003 16:03 linux sony-vaio

You’ll need to install the ACPI patches, and the ACPI daemon. Grab the patches from here, and apply them to the kernel:

~/src/linux$ gzip -cd ../acpi-20021212-2.4.20.diff.gz | patch -p1

The ACPI daemon, acpid is included in Debian: apt-get install acpid. It comes with a sample script that shuts down the Vaio when you hit the power switch. More information is available here.

Make sure that the modules automatically load at bootup by adding the following to /etc/modules:

# Load the ACPI modules:
ac
battery
button
fan
processor
thermal

When you’ve rebooted your new kernel, you should be able to cleanly shutdown the Vaio by using the power switch.