View | Details | Raw Unified | Return to bug 119391
Collapse All | Expand All

(-)a/drivers/input/keyboard/atkbd.c (-1 / +19 lines)
Lines 996-1001 static unsigned int atkbd_oqo_01plus_scancode_fixup(struct atkbd *atkbd, Link Here
996
	return code;
996
	return code;
997
}
997
}
998
998
999
static unsigned int atkbd_asus_q500a_scancode_fixup(struct atkbd *atkbd,
1000
						    unsigned int code)
1001
{
1002
	if (atkbd->translated && atkbd->emul == 2 && code == 0x23) {
1003
		atkbd->emul = 0;
1004
		return ATKBD_RET_ERR;
1005
	}
1006
1007
	return code;
1008
}
1009
999
/*
1010
/*
1000
 * atkbd_set_keycode_table() initializes keyboard's keycode table
1011
 * atkbd_set_keycode_table() initializes keyboard's keycode table
1001
 * according to the selected scancode set
1012
 * according to the selected scancode set
Lines 1802-1807 static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { Link Here
1802
		},
1813
		},
1803
		.callback = atkbd_deactivate_fixup,
1814
		.callback = atkbd_deactivate_fixup,
1804
	},
1815
	},
1816
	{
1817
		.matches = {
1818
			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
1819
			DMI_MATCH(DMI_PRODUCT_NAME, "Q500A"),
1820
		},
1821
		.callback = atkbd_setup_scancode_fixup,
1822
		.driver_data = atkbd_asus_q500a_scancode_fixup,
1823
	},
1805
	{ }
1824
	{ }
1806
};
1825
};
1807
1826
1808
- 

Return to bug 119391