diff options
Diffstat (limited to 'drivers/input/keyboard/atkbd.c')
-rw-r--r-- | drivers/input/keyboard/atkbd.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 80835080fee9..c9523e48c6ad 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c | |||
@@ -884,6 +884,14 @@ static unsigned int atkbd_hp_zv6100_forced_release_keys[] = { | |||
884 | }; | 884 | }; |
885 | 885 | ||
886 | /* | 886 | /* |
887 | * Perform fixup for HP (Compaq) Presario R4000 R4100 R4200 that don't generate | ||
888 | * release for their volume buttons | ||
889 | */ | ||
890 | static unsigned int atkbd_hp_r4000_forced_release_keys[] = { | ||
891 | 0xae, 0xb0, -1U | ||
892 | }; | ||
893 | |||
894 | /* | ||
887 | * Samsung NC10,NC20 with Fn+F? key release not working | 895 | * Samsung NC10,NC20 with Fn+F? key release not working |
888 | */ | 896 | */ |
889 | static unsigned int atkbd_samsung_forced_release_keys[] = { | 897 | static unsigned int atkbd_samsung_forced_release_keys[] = { |
@@ -1568,6 +1576,33 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = { | |||
1568 | .driver_data = atkbd_hp_zv6100_forced_release_keys, | 1576 | .driver_data = atkbd_hp_zv6100_forced_release_keys, |
1569 | }, | 1577 | }, |
1570 | { | 1578 | { |
1579 | .ident = "HP Presario R4000", | ||
1580 | .matches = { | ||
1581 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
1582 | DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4000"), | ||
1583 | }, | ||
1584 | .callback = atkbd_setup_forced_release, | ||
1585 | .driver_data = atkbd_hp_r4000_forced_release_keys, | ||
1586 | }, | ||
1587 | { | ||
1588 | .ident = "HP Presario R4100", | ||
1589 | .matches = { | ||
1590 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
1591 | DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4100"), | ||
1592 | }, | ||
1593 | .callback = atkbd_setup_forced_release, | ||
1594 | .driver_data = atkbd_hp_r4000_forced_release_keys, | ||
1595 | }, | ||
1596 | { | ||
1597 | .ident = "HP Presario R4200", | ||
1598 | .matches = { | ||
1599 | DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), | ||
1600 | DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4200"), | ||
1601 | }, | ||
1602 | .callback = atkbd_setup_forced_release, | ||
1603 | .driver_data = atkbd_hp_r4000_forced_release_keys, | ||
1604 | }, | ||
1605 | { | ||
1571 | .ident = "Inventec Symphony", | 1606 | .ident = "Inventec Symphony", |
1572 | .matches = { | 1607 | .matches = { |
1573 | DMI_MATCH(DMI_SYS_VENDOR, "INVENTEC"), | 1608 | DMI_MATCH(DMI_SYS_VENDOR, "INVENTEC"), |