Skip to contentSkip to conversation

Input: atkbd - add forced release keys quirk for Samsung P560/P210

DISCUSSION Jan-Michael Brummer 2 participants 2 messages Sep 22, 2009 HID

lore
Share & tools
lore
#0 lore raw

This patch fixes the key repeat issue with the Fn+F? keys on the Samsung P560 and P210 Notebook, so that the keys can used correctly, otherwise the keys repeat indefinitely.

--- linux-source-2.6.31/drivers/input/keyboard/atkbd.c.orig 2009-09-16
02:23:02.000000000 +0200
+++ linux-source-2.6.31/drivers/input/keyboard/atkbd.c 2009-09-22
18:04:47.720622934 +0200
@@ -1607,6 +1607,24 @@ static struct dmi_system_id atkbd_dmi_qu
.driver_data = atkbd_samsung_forced_release_keys,
},
{
+ .ident = "Samsung P560",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "P560"),
+ },
+ .callback = atkbd_setup_forced_release,
+ .driver_data = atkbd_samsung_forced_release_keys,
+ },
+ {
+ .ident = "Samsung P210",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "P210"),
+ },
+ .callback = atkbd_setup_forced_release,
+ .driver_data = atkbd_samsung_forced_release_keys,
+ },
+ {
.ident = "Samsung SQ45S70S",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),

#1 lore raw

Hi Jan-Michael,

Quoted 5 lines · Jan-Michael Brummer

This patch fixes the key repeat issue with the Fn+F? keys on the Samsung P560 and P210 Notebook, so that the keys can used correctly, otherwise the keys repeat indefinitely.

Thank you for the patch, however I will not be accepting any more patches adding the force-release quirks to atkbd, in .32 there will be a way to adjust the bitmap through sysfs.

Thanks.

Signature · 1 line
Dmitry