* Fix touchpad toggle on HP laptops breaking the keyboard
@ 2010-11-01 17:44 Bastien Nocera
2010-11-06 13:17 ` Martin Pitt
2010-11-06 16:00 ` Bastien Nocera
0 siblings, 2 replies; 3+ messages in thread
From: Bastien Nocera @ 2010-11-01 17:44 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
As seen in:
https://bugzilla.redhat.com/show_bug.cgi?id=623239
Tested by mjg59
Note that a lot more work is needed to make this "sane". We have 3
different "function keys" being mapped to various touchpad toggle
buttons (F21, F22 and F23).
[-- Attachment #2: 0001-keymap-Add-force-release-for-HP-touchpad-off.patch --]
[-- Type: text/x-patch, Size: 1934 bytes --]
From cb6f46d8b97e9c026cb244abc7a11a00e45ec368 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 1 Nov 2010 16:29:09 +0000
Subject: [PATCH] keymap: Add force release for HP touchpad off
Force the touchpad off/on keys getting released, as they usually
only send a "repeat".
https://bugzilla.redhat.com/show_bug.cgi?id=623239
---
| 5 +++++
| 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 extras/keymap/force-release-maps/hp-other
--git a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules
index 562dc8d..6f7c0fd 100644
--- a/extras/keymap/95-keyboard-force-release.rules
+++ b/extras/keymap/95-keyboard-force-release.rules
@@ -35,4 +35,9 @@ ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite U300|Satellit
ENV{DMI_VENDOR}=="Viooo Corporation", ATTR{[dmi/id]product_name}=="PT17", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
+# These are all the HP laptops that setup a touchpad toggle key
+ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[pP][aA][vV][iI][lL][iI][oO][nN]*", RUN+="keyboard-force-release.sh $devpath hp-other"
+ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][xX]2*", RUN+="keyboard-force-release.sh $devpath hp-other"
+ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*2510p*|*2530p*|HP G60 Notebook PC", RUN+="keyboard-force-release.sh $devpath hp-other"
+
LABEL="force_release_end"
--git a/extras/keymap/force-release-maps/hp-other b/extras/keymap/force-release-maps/hp-other
new file mode 100644
index 0000000..6621370
--- /dev/null
+++ b/extras/keymap/force-release-maps/hp-other
@@ -0,0 +1,3 @@
+# list of scancodes (hex or decimal), optional comment
+0xd8 # Touchpad off
+0xd9 # Touchpad on
--
1.7.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Fix touchpad toggle on HP laptops breaking the keyboard
2010-11-01 17:44 Fix touchpad toggle on HP laptops breaking the keyboard Bastien Nocera
@ 2010-11-06 13:17 ` Martin Pitt
2010-11-06 16:00 ` Bastien Nocera
1 sibling, 0 replies; 3+ messages in thread
From: Martin Pitt @ 2010-11-06 13:17 UTC (permalink / raw)
To: linux-hotplug
Hello Bastien,
Bastien Nocera [2010-11-01 17:44 +0000]:
> Subject: [PATCH] keymap: Add force release for HP touchpad off
Thanks! Committed with adding the new file to Makefile.am.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fix touchpad toggle on HP laptops breaking the keyboard
2010-11-01 17:44 Fix touchpad toggle on HP laptops breaking the keyboard Bastien Nocera
2010-11-06 13:17 ` Martin Pitt
@ 2010-11-06 16:00 ` Bastien Nocera
1 sibling, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2010-11-06 16:00 UTC (permalink / raw)
To: linux-hotplug
On Sat, 2010-11-06 at 09:17 -0400, Martin Pitt wrote:
> Hello Bastien,
>
> Bastien Nocera [2010-11-01 17:44 +0000]:
> > Subject: [PATCH] keymap: Add force release for HP touchpad off
>
> Thanks! Committed with adding the new file to Makefile.am.
Oops, missed that. Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-06 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 17:44 Fix touchpad toggle on HP laptops breaking the keyboard Bastien Nocera
2010-11-06 13:17 ` Martin Pitt
2010-11-06 16:00 ` Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).