From: Vincent C Jones <vcjones@networkingunlimited.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Radeon FB troubles with recent kernels
Date: Wed, 16 Feb 2005 09:39:19 -0500 [thread overview]
Message-ID: <20050216143919.GA7672@NetworkingUnlimited.com> (raw)
In-Reply-To: <1108521681.13376.77.camel@gaston>
On Wed, Feb 16, 2005 at 01:41:20PM +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2005-02-15 at 20:53 -0500, Vincent C Jones wrote:
>
> >
> > Kernel command line: auto BOOT_IMAGE=Test_9.2 ro root=306 pci=usepirqmask desktop idebus=66 video=radeonfb:1024x768-24@60
> >
> > Note the "video=radeonfb:1024x768-24@60" which used to be required to
> > get the console into 1024x768 mode but is documented in "modefb.txt"
> > as an invalid combination of mode specifications (and also states
> > that radeonfb does not support mode specification...). So other
> > than the loss of temporary working of backlight controls, I just
> > see undocumented progress :-)
> >
> > Thanks again, and keep up the great work!
>
> Heh, good. Well, the mode spec should work in fact, provided that you
> get the syntax right, though I haven't tried. I'll have a look later,
> but if it doesn't work, then it was always broken and it's not a
> regression :) I still want to fix more stuff in this area, but for now,
> I'm concerned mostly about regressions.
>
> Can you remind me exactly what's up with the backlight control ?
>
> Ben.
Out of the box (SuSE 9.2) with kernel 2.6.11-rc2, powersaved
successfully suspends to RAM and resumes correctly (can't speak for
earlier versions). With 2.6.11-rc3, suspend to RAM works except that the
backlight on the display does not stay turned off. Once suspended, the
backlight is on even if the lid switch is closed!
Others with X31's (and I assume, other ThinkPads, and probably other
notebooks) have only gotten ACPI to work with earlier kernels by using
the radeontool to turn off the back light. See, for example,
http://www.summet.com/x31/ which includes the following:
Suspend to memory works well if you configure a few files like this:
* Create an /etc/acpi/events/sleepbtn file as follows:
event=button[ /]sleep
action=/etc/acpi/actions/sleepbtn.sh
* Create an /etc/acpi/actions/sleepbtn.sh file as follows:
#!/bin/bash
#Stop the bluetooth service.
service bluetooth stop
#sync the disks.
sync && sync && sync
#Change the screen to VT1 (text mode)
/usr/bin/chvt 1
#turn off the backlight on the laptop
# (Note: You must have the radeontool installed....)
/usr/sbin/radeontool light off
#perform the actual "go-to-sleep" function.
echo "mem" > /sys/power/state
#Pause a second or two to let us sleep.
sleep 2
#Sleepytime...Everything after this line gets exectued
#after the user resumes...
#switch back to the Xterminal (automatically turns on backlight)
/usr/bin/chvt 7
#restart services...
service bluetooth start
# # #
--
Dr. Vincent C. Jones, PE Expert advice and a helping hand
Computer Network Consultant for those who want to manage and
Networking Unlimited, Inc. control their networking destiny
Phone: +1 201 568-7810
14 Dogwood Lane, Tenafly, NJ 07670
VCJones@NetworkingUnlimited.com http://www.networkingunlimited.com
next prev parent reply other threads:[~2005-02-16 14:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3y1SR-5K6-1@gated-at.bofh.it>
[not found] ` <3yatk-4mE-29@gated-at.bofh.it>
2005-02-15 15:07 ` Radeon FB troubles with recent kernels Vincent C Jones
2005-02-15 22:02 ` Benjamin Herrenschmidt
2005-02-16 1:53 ` Vincent C Jones
2005-02-16 2:41 ` Benjamin Herrenschmidt
2005-02-16 14:39 ` Vincent C Jones [this message]
2005-02-16 10:08 tvrtko.ursulin
[not found] <3xVku-kH-15@gated-at.bofh.it>
2005-02-15 3:14 ` Vincent C Jones
2005-02-15 12:46 ` Benjamin Herrenschmidt
2005-02-15 12:50 ` Benjamin Herrenschmidt
-- strict thread matches above, loose matches on Subject: below --
2005-02-14 20:39 Matt Mackall
2005-02-14 22:38 ` Benjamin Herrenschmidt
2005-02-14 23:08 ` Benjamin Herrenschmidt
2005-02-15 0:02 ` Antonino A. Daplas
2005-02-15 0:20 ` Matt Mackall
2005-02-15 1:07 ` Benjamin Herrenschmidt
2005-02-15 6:06 ` Matt Mackall
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=20050216143919.GA7672@NetworkingUnlimited.com \
--to=vcjones@networkingunlimited.com \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
/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