From: Andrew Kohlsmith <akohlsmith@mixdown.ca>
To: vojtech@suse.cz, linux-kernel@vger.kernel.org
Subject: [patch] add quirk to fix volume wheel on Toshiba U300 laptops
Date: Wed, 9 Jun 2010 13:38:50 -0400 [thread overview]
Message-ID: <201006091338.51495.akohlsmith@mixdown.ca> (raw)
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
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
[-- Attachment #2: toshiba-u300-volume-sw-fix.diff --]
[-- Type: text/x-patch, Size: 831 bytes --]
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index d358ef8..f1e1801 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -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,
+ },
{ }
};
next reply other threads:[~2010-06-09 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 17:38 Andrew Kohlsmith [this message]
[not found] <201006091337.10152.akohlsmith@mixdown.ca>
2010-06-18 12:32 ` [patch] add quirk to fix volume wheel on Toshiba U300 laptops Jiri Kosina
2010-06-18 13:14 ` Jerone Young
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006091338.51495.akohlsmith@mixdown.ca \
--to=akohlsmith@mixdown.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.