1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

132 Commits

Author SHA1 Message Date
Martin Pitt
6983c0d0f2 extras/keymap: fix hash table collisions
More than one key name was mapped to the same key, due to linux/input.h
defining some aliases (in particular, KEY_HANGUEL, KEY_SCREENLOCK,
KEY_MIN_INTERESTING). These caused hash table collisions.

Changed the generation of the tables to ignore these aliases, and updated all
keymaps to use the canonical name.

This was detected by llvm-clang-analyzer. Thanks to Lennart Poettering for
doing these checks and pointing this out!

https://launchpad.net/bugs/426647
2009-09-09 11:09:17 +02:00
Martin Pitt
bc19bff974 Revert "extras/keymap: Fix case matching for Micro-Star"
This reverts commit 66bf63c05c.

Further debugging in https://launchpad.net/bugs/178860 showed that for some
weird reason the correct key codes already come out of the "Video Bus" input
device, and the previous commit would cause them to appear a second time
through the standard keyboard device.

This is a kernel bug in the end, but let's not break working things
prematurely.
2009-08-26 22:39:32 +02:00
Martin Pitt
66bf63c05c extras/keymap: Fix case matching for Micro-Star
Some Micro-Star boards apparently have mixed case vendor, instead of all-caps.
Update the glob to catch all such cases.

https://launchpad.net/bugs/178860
2009-08-26 19:09:06 +02:00
Martin Pitt
d25b7205db extras/keymap: Fix hold key on Acer Aspire 6920
The Hold key locks the panel and is hardwired. It doesn't have a sensible
keycode to map to, and shouldn't be overloaded either.
2009-08-24 17:59:42 +02:00
Martin Pitt
5daaf29d71 extras/keymap: Add Acer Aspire 6920
https://launchpad.net/bugs/407940
2009-08-24 08:36:30 +02:00
Diego Elio 'Flameeyes' Pettenò
90b955b836 Fix “make distcheck” run outside of the source directory.
Pass the path to keys.txt as second parameter of check-keymaps.sh so that
it can be found in the right path.
2009-08-08 22:13:25 +02:00
Alan Jenkins
214a6c791c fix spelling
Fix spelling in docbook comments, code comments, and a local variable
name.  Thanks to "ispell -h" for docbook HTML and "scspell" for source
code.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-08-08 15:42:05 +02:00
Diego Elio 'Flameeyes' Pettenò
eab32c2529 Use the keymap check during “make distcheck” rather than “check”.
Since the check-keymaps.sh script checks for validity the source directory
and the Makefile.am file, instead of running it during user-oriented “make
check”, run it during developed-oriented “make distcheck”.

An invalid keymap will abort the execution which will prevent shipping
an incomplete Makefile.am.

To properly support out-of-source builds, pass as single parameter to the
test the path to the source directory.
2009-08-07 20:05:55 +02:00
Diego Elio 'Flameeyes' Pettenò
7d701b0e26 Merge keymap building in the top-level Makefile.am.
Slight adjustment around the tests and the rules for the new working
directory.
2009-08-07 19:15:29 +02:00
Martin Pitt
4de08374d0 extras/keymap: Fix Bluetooth key on Acer Aspire 6920
See https://launchpad.net/bugs/407940
2009-08-07 15:41:54 +01:00
Martin Pitt
5e22aab2e9 extras/keymap: Add Samsung NC20
Reported by Dirk Thierbach <dthierbach@gmx.de> on hal ML.
2009-08-07 11:11:48 +01:00
Martin Pitt
0dcf1ce1f7 extras/keymap: Fix crash for unknown keys
The keymap table has some holes in it, which caused the interactive mode to
crash for unknown keys. In these cases, print the numeric key code instead.
2009-07-23 19:00:38 +02:00
Martin Pitt
9093c7c132 extras/keymap: Add Samsung SX22S
Reported on hal ML by Sergey Astanin <s.astanin@gmail.com>.
2009-07-20 17:59:11 +02:00
Martin Pitt
0b8d9a7333 extras/keymap: teach findkeyboards about USB keyboards 2009-07-18 16:59:46 +02:00
Martin Pitt
6e40a05718 extras/keymap: Add Fujitsu Amilo M
https://launchpad.net/bugs/48547
2009-07-18 15:30:08 +02:00
Martin Pitt
1d11776f27 extras/keymap: cover more Compaq Evo models
https://launchpad.net/bugs/35382 shows that may Evo N* models share the same
keymap, so generalize the existing rule.
2009-07-18 15:23:55 +02:00
Martin Pitt
04c6b22fcd extras/keymap: Add HP Presario 2100
https://launchpad.net/bugs/20223
2009-07-18 15:17:20 +02:00
Martin Pitt
31d55fb187 extras/keymap: add recently added keymap files to Makefile.am 2009-07-18 15:09:05 +02:00
Martin Pitt
04ff303730 extras/keymap: fix check-keymaps.sh for inline mappings
Do not complain about missing keymap files when giving scancode/keyname pairs
on the keymap command line in the rules.
2009-07-18 15:07:55 +02:00
Martin Pitt
9193c7df9a keymap: inline one-line key maps
Remove key map files which have only one override. Instead, use keymap tools'
new feature of specifying scancode/keyname pairs directly at the command line.

Also add a comment to 95-keymap.rules about how to specify key mappings in the
rules.
2009-07-18 15:02:25 +02:00
Martin Pitt
d03a6f20df keymap tool: support scancode/keycode pair arguments
This avoids having to create and parse an entire keymap file for cases where
just one or two keys have to be remapped.
2009-07-18 14:52:45 +02:00
Martin Pitt
b02c9fa19b keymap tool: improve help
Do not duplicate help strings, and add missing calling variant for
interactivity.
2009-07-18 14:27:50 +02:00
Martin Pitt
acdf6ae7ac extras/keymap: add Compal Hel80i
https://launchpad.net/bugs/198530
2009-07-18 14:13:28 +02:00
Martin Pitt
4766e49e3f extras/keymap: add Everex Stepnote XT5000T
Reported in https://launchpad.net/bugs/400921
2009-07-18 09:27:38 +02:00
Martin Pitt
9528405c4a extras/keymap: add Zepto ZNote
Reported on https://launchpad.net/bugs/400252
2009-07-16 17:34:01 +02:00
Martin Pitt
ba17475852 add keymap for Clevo D410J laptop
Reported as hal-info patch by Németh Márton <nm127@freemail.hu> on hal ML.
2009-07-16 11:23:16 +02:00
Martin Pitt
a33da970ef extras/keymap: Update findkeyboards location
Recent commit 3b338b6 moved findkeyboards from /usr/share/udev to /lib/udev/.
Update documentation accordingly.
2009-06-19 14:53:18 +02:00
Kay Sievers
3b338b6bb9 extras/keymap: install findkeyboards in /lib/udev 2009-06-19 11:48:04 +02:00
Martin Pitt
2719cef56f keymap: Update findkeyboard path in docs
findkeyboards is now in /usr/share/udev/ after the migration to udev proper.
Update path in README.keymap.txt.
2009-06-17 16:57:30 +02:00
Kay Sievers
d0d3183278 extras/keymap: use LIBEXECDIR instead /lib/udev 2009-06-17 16:18:04 +02:00
Martin Pitt
0fb7c51846 extras/keymap: Fix WLAN button on ThinkPads
Fn+F5 was previously assigned to "radio" which is fairly useless under X.
Switch it to "wlan".

Reported in http://bugs.debian.org/504643
2009-06-17 12:06:33 +02:00
Martin Pitt
2417dc20f5 keymap: move from udev-extras 2009-06-17 11:56:52 +02:00