Re: Telling the kernel that keys need soft release?

From: Dmitry Torokhov
Date: Tue Apr 25 2006 - 16:33:55 EST


On 4/25/06, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> Dell laptops have hotkeys on the top of the keyboard for "hibernate",
> "cd eject", "battery status" and so on. These can be mapped to
> appropriate keycodes, and life is good except for the fact that they
> never produce a key release event. The kernel appears to have code to
> deal with this for the hangul key, but it's hardcoded rather than
> generic.
>
> Is there any way for userspace to tell the event layer that a certain
> keycode should have soft-release? If not, would a patch for this be
> accepted?
>

Yes, with a proper DMI entry to activate it would be very welcome.

--
Dmitry
-
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/