Comment 92 for bug 415023

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 415023] Re: brightness is broken on MSI WIND U100

On Thu, Oct 29, 2009 at 11:00:21AM -0000, Guido Berhoerster wrote:
> Disabling KMS just makes the problem appear less often. This is
> ultimately a bug in the MSI BIOS, if it chooses to handle the brightness
> keys in hardware it shouldn't emit keypress events. The power managers
> such as g-p-m, powerdevel, and xfce4-power-manager need to be told to
> work around this. For powerdevil patching hal-info would be sufficient
> as Felix Geyer has suggested, gnome-power-manager doesn't read this
> because it uses xrandr instead of HAL so I don't know how to fix it.

I agree that the BIOS shouldn't both handle the brightness keys in hardware
and emit a keypress event. However, the kernel mediates these keypress
events - doesn't it make more sense to fix up the kernel to suppress
known-bogus keypress events, once for all, instead of requiring each
userspace power manager to quirk this separately?

Also, could anyone try the change suggested in #76 and let me know if it
makes a difference? It's a longshot that probably won't change anything at
all (that setting is only supposed to control brightness handling on *power*
state changes), but we might as well rule that out.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>