W500 Linux Debian+Backports configuration
Posted: Sun May 02, 2010 1:43 pm
Hi there,
I've successfully configured some devices under linux debian+backports and I though it might be interesting to share this information.
I'll start by suspend options:
Since it does not suspend well if u use gnome-power-manager, I've disabled it from the gui.
After, I've set in /etc/default/acpi-support
SUSPEND_METHODS="pm-utils"
so it only uses pm-utils and does not send messages to graphical devices via dbus.
after I've changed the following scripts so they only contain: "exit 0"
/etc/acpi/actions/lm_lid.sh
This is because it usually sends again the suspend order and laptop suspends twice ...
contents of /etc/acpi/sleepbtn.sh:
#!/bin/sh
logger -t sleep "/etc/acpi/sleepbtn.sh execution"
/etc/acpi/sleep.sh
contents of /etc/acpi/sleep.sh:
#!/bin/sh
logger -t sleep "/etc/acpi/sleep.sh execution"
chmod +x /usr/share/acpi-support/suspendorhibernate
sync; sync; sync; sync; sync; sync; sync; sync; sync; sync
/usr/share/acpi-support/suspendorhibernate suspend
exit 0
after that I've disabled some pm-utils script:
touch /etc/pm/sleep.d/00clear
touch /etc/pm/sleep.d/95led
touch /etc/pm/sleep.d/98smart-kernel-video
touch /etc/pm/sleep.d/99video
and I've created a 66dummy as suggested in
http://en.opensuse.org/Pm-utils#Configuration
The final setup is done in /boot/grub/menu.lst
where I've added to kopt and defoptions the param acpi_sleep=s3_bios
# defoptions=root=/dev/sda3 ro noquiet acpi_sleep=s3_bios
# kopt=root=UUID=bf4cba67-e87c-4ca6-a2bc-ba1b2c55114c ro noquiet acpi_sleep=s3_bios
I'm not an expert, but it works perfectly.
Victor.
I've successfully configured some devices under linux debian+backports and I though it might be interesting to share this information.
I'll start by suspend options:
Since it does not suspend well if u use gnome-power-manager, I've disabled it from the gui.
After, I've set in /etc/default/acpi-support
SUSPEND_METHODS="pm-utils"
so it only uses pm-utils and does not send messages to graphical devices via dbus.
after I've changed the following scripts so they only contain: "exit 0"
/etc/acpi/actions/lm_lid.sh
This is because it usually sends again the suspend order and laptop suspends twice ...
contents of /etc/acpi/sleepbtn.sh:
#!/bin/sh
logger -t sleep "/etc/acpi/sleepbtn.sh execution"
/etc/acpi/sleep.sh
contents of /etc/acpi/sleep.sh:
#!/bin/sh
logger -t sleep "/etc/acpi/sleep.sh execution"
chmod +x /usr/share/acpi-support/suspendorhibernate
sync; sync; sync; sync; sync; sync; sync; sync; sync; sync
/usr/share/acpi-support/suspendorhibernate suspend
exit 0
after that I've disabled some pm-utils script:
touch /etc/pm/sleep.d/00clear
touch /etc/pm/sleep.d/95led
touch /etc/pm/sleep.d/98smart-kernel-video
touch /etc/pm/sleep.d/99video
and I've created a 66dummy as suggested in
http://en.opensuse.org/Pm-utils#Configuration
The final setup is done in /boot/grub/menu.lst
where I've added to kopt and defoptions the param acpi_sleep=s3_bios
# defoptions=root=/dev/sda3 ro noquiet acpi_sleep=s3_bios
# kopt=root=UUID=bf4cba67-e87c-4ca6-a2bc-ba1b2c55114c ro noquiet acpi_sleep=s3_bios
I'm not an expert, but it works perfectly.
Victor.