W500 Linux Debian+Backports configuration

W500/510/520 and W700/710 series specific matters only
Post Reply
Message
Author
victorpablosceruelo
Posts: 4
Joined: Wed Apr 21, 2010 2:53 pm
Location: Madrid, Spain

W500 Linux Debian+Backports configuration

#1 Post by victorpablosceruelo » 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.

victorpablosceruelo
Posts: 4
Joined: Wed Apr 21, 2010 2:53 pm
Location: Madrid, Spain

Re: W500 Linux Debian+Backports configuration

#2 Post by victorpablosceruelo » Mon May 03, 2010 4:17 am

As sometimes my W500 hanged, I've looking for the problem and it seems to be intel xorg driver,
so I have disabled it by setting vesa driver (which works even better).

I've updated acpi-support to 0.133-2 (debian testing) and now the mechanism is much more simpler
since it only uses pm-utils:
...
# Beginning with version 0.122-1 acpi-support solely uses pm-utils then.
...

Not it is even simpler since I only needed to configure pm-utils and I can even use gnome-power-manager to configure suspend/hibernate.

The only workaround is to set in /etc/pm/config.d/defaults:

HIBERNATE_RESUME_POST_VIDEO="yes"
SLEEP_MODULE="kernel"

Hope this helps sb trying to configure his/her W500 under linux.
Victor.

victorpablosceruelo
Posts: 4
Joined: Wed Apr 21, 2010 2:53 pm
Location: Madrid, Spain

Re: W500 Linux Debian+Backports configuration

#3 Post by victorpablosceruelo » Mon May 03, 2010 4:24 am

This bugs appear in W500 too when using intel driver,
but sometimes not just after resuming.
I post them here so maybe someone can use them ...

https://bugs.launchpad.net/ubuntu/+bug/ ... mments=all
https://bugs.launchpad.net/ubuntu/+sour ... bug/464291
https://bugs.launchpad.net/ubuntu/+sour ... bug/473876
https://bugs.launchpad.net/ubuntu/+sour ... bug/467877

victorpablosceruelo
Posts: 4
Joined: Wed Apr 21, 2010 2:53 pm
Location: Madrid, Spain

Re: W500 Linux Debian+Backports configuration

#4 Post by victorpablosceruelo » Mon May 03, 2010 4:31 am

Some more info on installing debian (but squeeze)

http://freddie.witherden.org/pages/debi ... kpad-w500/

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad W500/510/520 and W7x0 Series”

Who is online

Users browsing this forum: No registered users and 5 guests