Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0a14de2 authored by Simon Davie's avatar Simon Davie Committed by Dmitry Torokhov
Browse files

Input: atkbd - add forced release keys quirk for FSC Amilo Pi 3525



This patch enables forced releasing of the Fn+Volume hotkeys
on the Fujitsu Siemens Amilo Pi 3525 notebook.

Signed-off-by: default avatarSimon Davie <nexx@nexxdesign.co.uk>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 35db715b
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -894,6 +894,13 @@ static unsigned int atkbd_amilo_pa1510_forced_release_keys[] = {
	0xb0, 0xae, -1U
};

/*
 * Amilo Pi 3525 key release for Fn+Volume keys not working
 */
static unsigned int atkbd_amilo_pi3525_forced_release_keys[] = {
	0x20, 0xa0, 0x2e, 0xae, 0x30, 0xb0, -1U
};

/*
 * Amilo Xi 3650 key release for light touch bar not working
 */
@@ -1567,6 +1574,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_amilo_pa1510_forced_release_keys,
	},
	{
		.ident = "Fujitsu Amilo Pi 3525",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pi 3525"),
		},
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_amilo_pi3525_forced_release_keys,
	},
	{
		.ident = "Fujitsu Amilo Xi 3650",
		.matches = {