こことUbuntuのForumに書いてあったshell scriptを使うことで,
- Fn+Home/EndでのBacklight変更
- suspend
- hibernate
が,一応まともに動くようになりました.長かった・・・・
以下そのログ.
- /etc/acpi/sleep.sh
#!/bin/sh
rmmod usb_storage
rmmod uhci_hcd
rmmod ehci_hcd
/usr/sbin/s2ram -f -a 1 -m
modprobe uhci_hcd
modprobe ehci_hcd
modprobe usb_storage
- /etc/acpi/hibernate.sh
#!/bin/bash
#
# Modified from /etc/acpi/hibernate.sh
# - Does not get disabled by acpi-support
# - May interfere with laptop mode
#
# prepare scripts in /etc/acpi/prepare.d
. /etc/acpi/prepare.sh
# use kernel to write img to disk, then shut power down
echo -n "shutdown" > /sys/power/disk
# allow an image size up to 2GB
echo -n "427131535" > /sys/power/image_size
# suspend to disk
echo -n "disk" > /sys/power/state
# resume scripts in /etc/acpi/resume.d
. /etc/acpi/resume.sh
- /etc/acpi/sleepbtn.sh
#!/bin/sh
test -f /usr/share/acpi-support/power-funcs || exit 0
. /usr/share/acpi-support/key-constants
#acpi_fakekey $KEY_SLEEP
/etc/acpi/sleep.sh
- /etc/acpi/hibernatebtn.sh
#!/bin/sh
test -f /usr/share/acpi-support/power-funcs || exit 0
. /usr/share/acpi-support/key-constants
#acpi_fakekey $KEY_SUSPEND
echo -n "disk" > /sys/power/state
- /etc/acpi/video_brightnessdown.sh
#!/bin/sh
# lower the brightness by one level
xbacklight -dec 10%
- /etc/acpi/video_brightnessup.sh
#!/bin/sh
# up the brightness by one level
xbacklight -inc 10%
comments powered by Disqus