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

From: Manoj Iyer
Date: Wed Feb 29 2012 - 00:56:28 EST


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:
On Tue, Feb 28, 2012 at 06:36:10PM -0600, Manoj Iyer wrote:
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 <manoj.iyer@xxxxxxxxxxxxx>
---
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
====================
--
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/