Skip to content

Commit 032e46c

Browse files
Jerone Youngdtor
authored andcommitted
Input: atkbd - add force relese key quirk for Soltech TA12
Netbooks based on the Soltech TA12 do not send a key release for volume keys causing Linux to think the key is constantly being pressed forever. Added quirk data for forced release keys. BugLink: https://bugs.launchpad.net//bugs/397499 Signed-off-by: Jerone Young <jerone.young@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
1 parent f936601 commit 032e46c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎drivers/input/keyboard/atkbd.c‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,13 @@ static unsigned int atkbd_amilo_xi3650_forced_release_keys[] = {
908908
0x67, 0xed, 0x90, 0xa2, 0x99, 0xa4, 0xae, 0xb0, -1U
909909
};
910910

911+
/*
912+
* Soltech TA12 system with broken key release on volume keys and mute key
913+
*/
914+
static unsigned int atkdb_soltech_ta12_forced_release_keys[] = {
915+
0xa0, 0xae, 0xb0, -1U
916+
};
917+
911918
/*
912919
* atkbd_set_keycode_table() initializes keyboard's keycode table
913920
* according to the selected scancode set
@@ -1592,6 +1599,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
15921599
.callback = atkbd_setup_forced_release,
15931600
.driver_data = atkbd_amilo_xi3650_forced_release_keys,
15941601
},
1602+
{
1603+
.ident = "Soltech Corporation TA12",
1604+
.matches = {
1605+
DMI_MATCH(DMI_SYS_VENDOR, "Soltech Corporation"),
1606+
DMI_MATCH(DMI_PRODUCT_NAME, "TA12"),
1607+
},
1608+
.callback = atkbd_setup_forced_release,
1609+
.driver_data = atkdb_soltech_ta12_forced_release_keys,
1610+
},
15951611
{ }
15961612
};
15971613

0 commit comments

Comments
 (0)