From: Yves-Alexis Perez <corsac@debian.org>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org, dri-devel@lists.sourceforge.net,
jbarnes@virtuousgeek.org, Thomas Renninger <trenn@suse.de>,
Matthew Garrett <mjg@redhat.com>, Zhang Rui <rui.zhang@intel.com>,
Keith Packard <keithp@keithp.com>
Subject: Re: [intel/acpi] backlight - T61
Date: Fri, 28 Nov 2008 23:50:56 +0100 [thread overview]
Message-ID: <1227912656.17845.5.camel@hidalgo> (raw)
In-Reply-To: <alpine.LFD.2.00.0811281316390.3204@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 2846 bytes --]
On ven, 2008-11-28 at 14:18 -0500, Len Brown wrote:
> On Fri, 28 Nov 2008, Yves-Alexis Perez wrote:
>
> > I'm running linux 2.6.28-rc6-00007-ged31348 on my Thinkpad T61, with
> > Intel GM965. Under X, brightness keys work fine most of the time, but in
> > some case it fails (for example after a dpms force off, but not always).
> > Switching to console and back to X fix the problem for a time.
>
> How to you invoke DPMS?
xorg.conf:
Section "ServerFlags"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "5"
EndSection
>
> I'm running the latest 2.6.28 on top of FC9, and I find that
> if I use the hot keys to dim the screen all the way,
> and then I'm idle for a period, the screen pretends to go black.
> (X foolishly paits the pixels black, but keeps the backlight on)
> Then when I touch the mouse to wake it up, my screen unlock
> prompt is at full brightness, and so is my screen when I unlock.
> So it seems that X forgot that I set the brightness.
> (though clicking the brightness hotkey shows the widget still
> thinks I'm at minimum brightness, so that part remembered...)
>
> Now the backlight is totally screwed up.
> I use the hotkeys to get to minimum brightness,
> but something thinks I'm still at maximum brightness,
> because after some idle time, the screen all by itself
> goes bright.
Well I think that gnome-power-manager might be in your way, not sure.
>
> > Another weird stuff is that, in single user, I have no way to control
> > the backlight. Using brightness key doesn't work,
> > and /sys/class/backlight/acpi_video0 doesn't do anything.
>
> There are actually two text consoles -- CTRL-ALT-F1 while X is running
> and single-user mode.
>
> The hot keys have never worked for either of these modes.
Yes I know, that's why I'm asking here. They are not supposed to work
atm because OpRegion needs X support. What I was asking is if there was
something in cooking for that. But what puzzles me is that even
the /sys/class/backlight/acpi_video0 doesn't work.
>
> I would hope that X (i915) should be able to handle brightness
> in CTRL-ALT-F1 mode the same way that it does in GUI mode,
> but that doesn't seem to be working.
>
> Then there is single-user-mode, where X never ran
> and the i915 may not even be loaded...
>
> We used to have /sys/class/backlight and /proc/acpi/video
> available and they used to work in single-user mode
> (as well as in CTRL-ALT-F1) mode. This was due to
> there being two video devices. Unfortunately, we deleted
> the one what works in this scenario.
>
> Try this patch, which brings it back.
No, I don't want to revert those patches, they are there for a reason.
But yeah there is some console support missing, which may be working on.
Cheers,
--
Yves-Alexis
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-11-28 22:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-28 6:47 [intel/acpi] backlight Yves-Alexis Perez
2008-11-28 19:18 ` [intel/acpi] backlight - T61 Len Brown
2008-11-28 22:38 ` Thomas Renninger
2008-11-28 22:50 ` Yves-Alexis Perez [this message]
2008-12-01 1:32 ` Zhang Rui
2008-12-01 3:18 ` Len Brown
2008-12-01 5:08 ` Zhang Rui
2008-12-03 23:14 ` Zhenyu Wang
2008-12-04 2:50 ` [Intel-gfx] " Zhenyu Wang
2008-12-09 21:24 ` Jesse Barnes
2008-12-01 1:08 ` [intel/acpi] backlight Zhao Yakui
2008-12-01 3:28 ` Len Brown
2008-12-01 8:38 ` Matthew Garrett
2008-12-01 19:27 ` Jesse Barnes
2008-12-01 19:32 ` Matthew Garrett
2008-12-01 11:11 ` Yves-Alexis Perez
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=1227912656.17845.5.camel@hidalgo \
--to=corsac@debian.org \
--cc=dri-devel@lists.sourceforge.net \
--cc=jbarnes@virtuousgeek.org \
--cc=keithp@keithp.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rui.zhang@intel.com \
--cc=trenn@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.