All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Pavel Machek <pavel@suse.cz>
Cc: Jan Spitalnik <lkml@spitalnik.net>,
	kernel list <linux-kernel@vger.kernel.org>,
	seife@suse.de
Subject: Re: thinkpad suspend to ram and backlight
Date: Mon, 03 Oct 2005 09:11:14 +1000	[thread overview]
Message-ID: <1128294674.8267.65.camel@gaston> (raw)
In-Reply-To: <20051002182354.GA2031@elf.ucw.cz>

On Sun, 2005-10-02 at 20:23 +0200, Pavel Machek wrote:
> Hi!
> 
> > > When I suspend to RAM on x32, backlight is not turned off. (And, IIRC,
> > > video chips is not turned off, too). Unfortunately, backlight is not
> > > turned even when lid is closed. I know some patches were floating
> > > around to solve that... but I can't find them now. Any ideas?
> > 
> > if your thinkpad has ati radeon, you can use this:
> > 
> > http://www.thinkwiki.org/wiki/Radeontool
> 
> radeontool light off before suspend indeed works, but I'd like to
> solve it properly.

Well, it depends what you call "properly". There are indeed some patches
floating around that put the radeon chip in D2 state, that seem to help.
The problem is that the actual backlight control is a bit dodgy. That
is, some laptops use a separate chip from the radeon, some use the
radeon but have an inverted backlight signal, etc... and radeonfb
doesn't quite know how to deal with those cases (it has some hard coded
lists of machines with infos on how to deal with them for ppc).

Just dig around the list for the thinkpad suspend patches. I'm not 100%
sure they are correct yet though, but I suppose I should give them
another review and eventually merge them one of these days.

Ben.



  reply	other threads:[~2005-10-02 23:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02 17:57 thinkpad suspend to ram and backlight Pavel Machek
2005-10-02 18:07 ` Jan Spitalnik
2005-10-02 18:10   ` Pavel Machek
2005-10-02 18:23   ` Pavel Machek
2005-10-02 23:11     ` Benjamin Herrenschmidt [this message]
2005-10-02 23:35       ` Pavel Machek
2005-10-03  0:15         ` Benjamin Herrenschmidt
2005-10-02 18:14 ` Dan C Marinescu
2005-10-03 10:00 ` Stefan Seyfried
2005-10-04 11:44   ` Pavel Machek
2005-10-04 12:04     ` Rolf Offermanns
2005-10-04 12:00   ` Timo Hoenig
2005-10-04 12:03     ` Pavel Machek
2005-10-04 12:13       ` Timo Hoenig

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=1128294674.8267.65.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@spitalnik.net \
    --cc=pavel@suse.cz \
    --cc=seife@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.