Re: Thinkpad brightness keys kill X on 2.6.26.5

From: Pavel Machek
Date: Wed Oct 01 2008 - 16:34:19 EST


On Wed 2008-10-01 11:28:34, Jeremy Fitzhardinge wrote:
> Matthew Garrett wrote:
>> On Tue, Sep 30, 2008 at 05:59:06PM -0700, Jeremy Fitzhardinge wrote:
>>
>>
>>> On my shiny new X200 running Fedora Rawhide, I'm finding that the
>>> brightness control keys work OK, but the backlight remains stuck off
>>> after a resume. The machine is working fine but the backlight is
>>> just off; I can see the display under a bright light. Switching
>>> consoles and poking about in /sys/class/backlight/acpi_video?/ didn't
>>> help.
>>>
>>
>> Intel graphics, right?
>
> Yes. The new, erm , X4500?
>
>> The DRM layer should handle full resume on modern Intel hardware, but
>> there's the potential for bugs. This is entirely unrelated to ACPI,
>> though.
>>
>
> OK, that's a good clue. I poke at acpi to change the brightness, so I'd
> assumed that acpi would also handle turning the backlight on/off.
>
> I'm using the rawhide rather than standard kernel, but I'd thought they
> were fairly similar.

I believe vanilla and rawhide kernels are _very_ different in this
area.

On your config, s2ram -f -a 3 may be the right thing after all ;-).

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/