Skip to contentSkip to conversation

add quirk to fix volume wheel on Toshiba U300 laptops

PATCH New Andrew Kohlsmith 1 participant 1 message Jun 9, 2010 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add quirk to fix volume wheel on Toshiba U300 laptops

Good afternoon,

Here is a small patch which adds a quirk match for these laptops; the volume wheel on them does not stop when you move it (the wheel does not send 'up' keycodes).

Patch applies cleanly to linus' tree as of about...10 minutes ago. :-)

Regards,
Andrew

drivers/input/keyboard/atkbd.c +16 -0
index d358ef8..f1e1801 100644
@@ -1715,6 +1715,22 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		.callback = atkbd_setup_scancode_fixup,
 		.driver_data = atkbd_oqo_01plus_scancode_fixup,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Satellite U300"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_volume_forced_release_keys,
+	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Satellite Pro U300"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_volume_forced_release_keys,
+	},
 	{ }
 };