Thread (7 messages) 7 messages, 3 authors, 2012-02-29

Re: [PATCH] Input: atkbd - Add force relese key quirk for HP ProBook

From: Manoj Iyer <hidden>
Date: 2012-02-29 05:56:29
Also in: linux-input, lkml

Dimitry,

This quirk helps a few HP ProBooks to make brightness keys typematic. Can 
you please tell me why you think its better handling this in user space? I 
see other quirks similar to this in atkbd, just trying to understand. Yes, 
we did quirk this in udev rules to make brightness keys works as expected. 
But thought it might help others who see this issue with HP ProBooks by 
quirking it in kernel.

Thanks
Manoj



On Tue, 28 Feb 2012, Dmitry Torokhov wrote:
On Tue, Feb 28, 2012 at 04:46:04PM -0800, Greg KH wrote:
quoted
On Tue, Feb 28, 2012 at 06:36:10PM -0600, Manoj Iyer wrote:
quoted
HP ProBooks do not send a key release for brightness keys, as a
result, brightness does not move up/down when the brightness key
is held down. This quirk makes the brightness keys on HP ProBooks
typematic.

Signed-off-by: Manoj Iyer <redacted>
---
 drivers/input/keyboard/atkbd.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
Also, this should be handled from userspace by having usev write to
/sys/bus/serio/devices/serioX/force_release attribute on affected boxes.

-- 
Dmitry
--
====================
Manoj Iyer
Ubuntu/Canonical
Hardware Enablement
====================
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help