[ltp] Radeon and ACPI S3 on 2373-9FU

Ulrich Kuehn linux-thinkpad@linux-thinkpad.org
Wed, 23 Feb 2005 14:48:58 +0100


On Tue, 2005-02-22 at 22:35 +1300, Christopher Sawtell wrote:
> Please do that. I'm still basically confused about the whole exercise.
> Hibernate is going though. i.e. if I execute /usr/sbin/hibernate the machine 
> turns off and restarts to where it was on reboot.
> Now how do I get it do /usr/sbin/hibernate when I press Fn-F12? ( or what ever 
> it's supposed to be )
> 
Have a look at ibm_acpi (http://ibm-acpi.sourceforge.net/) . There are
also examples how to configure the fn-f*.

Here is the code I execute during system startup:

ibm_settings() {
        if [ ! -d /proc/acpi/ibm ] ; then
                modprobe ibm_acpi experimental=1 hotkey=enable,0x090c
        fi
#       if [ -d /proc/acpi/ibm ] ; then
                # 0x080c is default, we want also
                # f9 for hibernate-reboot
                echo 0x090c > /proc/acpi/ibm/hotkey
                echo enable >/proc/acpi/ibm/hotkey
#       fi
}

which activates fn + f3, f4, f9, f12. 

Hope this helps
Ulrich