http://bugzilla.kernel.org/show_bug.cgi?id=13368





--- Comment #51 from Henrique de Moraes Holschuh <h...@hmh.eng.br>  2009-07-08 
02:18:29 ---
Ok, I am looking at the DSDT, and the first thing I notice is that you have two
new hotkeys in there I have never heard about, so please tell me if
thinkpad-acpi has been complaining about unhandled HKEY events on the kernel
log.

Now, back to this particular issue:

As usual with Lenovo DSDTs, when anyone first calls _BCL, it switches to
ACPI-controlled brightness mode, by storing 1 to the \NBCF trapdoor.  Loading
either thinkpad-acpi or ACPI video will do it.  After that, the brightness keys
will _NOT_ do anything but cause ACPI events.

As you guys may have suspected, GPE _Q15 is hotkey brightness-down pressed, and
_Q14 is the same for brightness-up.

Their handling is pretty normal, the same as it is done in all Lenovo
Intel-based thinkpads, so I'd say you have a busted X.org or userspace if it is
going weird on you.

Zhang-san, I suppose the ACPI brightness stuff in the DSDT was checked and it
is sane?  If so, then we definately can blame userspace, X.org, or kernel DRI,
or something in the OpRegion firmware.  Either that, or _ALL_ Lenovo thinkpads
with Intel GPUs are broken, but I suppose we'd be getting a lot of reports if
that was the case...

As for thinkpad-acpi, well, the DSDT will give me the events I need (HKEY
0x1010 and 0x1011), so I can send KEY_BRIGHTNESS_UP and KEY_BRIGHTNESS_DOWN to
userspace.  Which is somewhat likely to screw up and not do what you want, but
that's not something *I* can fix.

I will change the driver to report those input events when in vendor brightness
mode on Lenovo thinkpads.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to