Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 273477
Collapse All | Expand All

(-)linux-2.6.29/drivers/input/keyboard/atkbd.c (+35 lines)
Lines 901-906 Link Here
901
}
901
}
902
902
903
/*
903
/*
904
 * Perform fixup for HP Presario R4000/R4100 laptops that don't generate
905
 * release for their volume buttons
906
 */
907
static void atkbd_hp_r4000_keymap_fixup(struct atkbd *atkbd)
908
{
909
	const unsigned int forced_release_keys[] = {
910
		0xae, 0xb0,
911
	};
912
	int i;
913
914
	if (atkbd->set == 2)
915
		for (i = 0; i < ARRAY_SIZE(forced_release_keys); i++)
916
			__set_bit(forced_release_keys[i],
917
					atkbd->force_release_mask);
918
}
919
920
/*
904
 * Samsung NC10 with Fn+F? key release not working
921
 * Samsung NC10 with Fn+F? key release not working
905
 */
922
 */
906
static void atkbd_samsung_keymap_fixup(struct atkbd *atkbd)
923
static void atkbd_samsung_keymap_fixup(struct atkbd *atkbd)
Lines 1536-1541 Link Here
1536
		.driver_data = atkbd_hp_zv6100_keymap_fixup,
1553
		.driver_data = atkbd_hp_zv6100_keymap_fixup,
1537
	},
1554
	},
1538
	{
1555
	{
1556
		.ident = "Compaq Presario R4000",
1557
		.matches = {
1558
			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
1559
			DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4000"),
1560
		},
1561
		.callback = atkbd_setup_fixup,
1562
		.driver_data = atkbd_hp_r4000_keymap_fixup,
1563
	},
1564
	{
1565
		.ident = "Compaq Presario R4100",
1566
		.matches = {
1567
			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
1568
			DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4100"),
1569
		},
1570
		.callback = atkbd_setup_fixup,
1571
		.driver_data = atkbd_hp_r4000_keymap_fixup,
1572
	},
1573
	{
1539
		.ident = "Inventec Symphony",
1574
		.ident = "Inventec Symphony",
1540
		.matches = {
1575
		.matches = {
1541
			DMI_MATCH(DMI_SYS_VENDOR, "INVENTEC"),
1576
			DMI_MATCH(DMI_SYS_VENDOR, "INVENTEC"),

Return to bug 273477