public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Ursel <listadress@gmx.net>
To: linux-acpi@vger.kernel.org
Cc: ruda@ics.muni.cz
Subject: Re: suspend to RAM on lifebook 7110
Date: Fri, 8 Dec 2006 13:33:58 +0100	[thread overview]
Message-ID: <20061208123358.GA3724@invalid.invalid> (raw)

Hi,

> ram - suspend/resume using s2ram works fine, but display remains nearly 
> black. I can see very hardly what's on display, but machine including
> network works fine.

After resume the backlight remains off. All other stuff is working, but
whitout backlight its a bit hard to work :-) I have the same Lifebook
and for me the following is working very well:

Before i actually suspend the notebook, i write some data about the
graphic card on disk and on resume the data is written back to the
graphic card and everything works fine (I'm writing only the relevant
parts in here):

 # discover video card's ID
 ID=`lspci | grep VGA | awk '{ print $1 }' | sed -e 's@0000:@@' -e 's@:@/@'`

 # dump current data from the video card to the temporary file
 cat /proc/bus/pci/$ID > $TMP_FILE

 # suspend
 echo -n mem > /sys/power/state

 # restore video card data from the temporary file
 # on resume
 cat $TMP_FILE > /proc/bus/pci/$ID

Note: This works fine for me in a script, which is invoked by acpi on
      button-press. I'm using Debian/SID and i don't know where the right
      place for manipulation on Suse is. Maybe you need to tweek a bit
      ;-)

HTH,
Frank

             reply	other threads:[~2006-12-08 12:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 12:33 Frank Ursel [this message]
2006-12-08 21:13 ` suspend to RAM on lifebook 7110 Miroslav Ruda
2006-12-18  6:51   ` Stefan Seyfried
2006-12-18 11:11     ` Matthew Garrett
2006-12-18 11:29       ` Stefan Seyfried
2006-12-18 12:05         ` Matthew Garrett
2006-12-18 17:48           ` Stefan Seyfried
2006-12-18 20:00             ` Rafael J. Wysocki
2006-12-18 12:16         ` Pavel Machek
2006-12-18 15:55           ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2006-12-07 22:18 Miroslav Ruda
2006-12-18  6:38 ` Stefan Seyfried
2006-12-18  9:30   ` Frank Ursel
2006-12-18 16:53   ` Miroslav Ruda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061208123358.GA3724@invalid.invalid \
    --to=listadress@gmx.net \
    --cc=20061207221831.GA31419@erebor.ics.muni.cz \
    --cc=linux-acpi@vger.kernel.org \
    --cc=ruda@ics.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox