On Thu, Oct 02, 2008 at 07:29:13AM +0200, Yves-Alexis Perez wrote:
> On mer, 2008-10-01 at 22:43 -0400, Paride Legovini wrote:
> > And thats ok. And I get the hotkeys working! At a first sight even the
> > brightness control seems to work, BUT, if (and only if) I reach the
> > lowest level of brightness and I press the brightness-down key
> > combination once again I get TWO acpi events from acpi_listen:
> > 
> > video LCD0 00000087 00000000
> > ibm/hotkey HKEY 00000080 00005010
> > 
> > and the brightness control is messed up!
> 
> Matthew Garrett once sent a patch for thinkpad-acpi to call some
> function in the DSDT which would fix the delay.

I just applied that two lines of code to the vanilla kernel and the
delay went away. But something wrong still remains: when I try to
reproduce the problem there's no delay but then I get two acpi
event for every brightness change:

[EMAIL PROTECTED] LCD0 00000086 00000000
ibm/hotkey HKEY 00000080 00005010
[EMAIL PROTECTED] LCD0 00000086 00000000
ibm/hotkey HKEY 00000080 00005010
[EMAIL PROTECTED] LCD0 00000087 00000000
ibm/hotkey HKEY 00000080 00005010
[EMAIL PROTECTED] LCD0 00000087 00000000
ibm/hotkey HKEY 00000080 00005010

(i.e. brightness up, up, down, down.)

Without hitting the lowest brightness limit everything is ok
(one acpi event).

p.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
ibm-acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to