Age | Commit message (Collapse) | Author |
|
Currently, keymaps are provided only for the NP90X3A laptop. Samsung
introduced updated models, codenamed 900X3B, 900X3C, 900X4B, 900X4C,
which are currently not matched by udev rules. This patch includes the
newer modules in udev rules and move the samsung-n90x3a file defining
keys to a more generic samsung-series-9 file.
The patch was tested on a 900X4C laptop, and other people reported
that the rules also work for 900X3B and 900X3C ones.
|
|
|
|
Thanks to Glen Ditchfield <gjditchfield@acm.org>!
https://launchpad.net/bugs/1071579
|
|
Some keymaps apply to a large range of computer models, not all of which have
all of the scan codes in the maps. If a single scan code is invalid, do not
abort but continue with the next entry in the map. Instead just show the error
message for that particular scan code, to help with debugging.
|
|
Commit b1f87c76b1 changed sscanf from %i to %u, as scan codes are unsigned
numbers which can be > 0x7FFFFFFF. However, sscanf doesn't accept hexadecimal
numbers for %u. It works fine with %i, so revert this back.
|
|
This was removed ages ago.
|
|
According to Linux drivers/input/evdev.c, scan codes are unsigned, not int nor
uint32_t.
Thanks to Dejan Tosovic <dejan@post.com> for reporting this!
|
|
|
|
https://launchpad.net/bugs/939868
|
|
Was missing a * for the globbing.
|
|
https://launchpad.net/bugs/1011323 reports more AMILO models which need this
quirk; enough to assume that all of them need it, and applying it on working
models does not really hurt.
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=52371
|
|
|
|
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
|
|
This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b.
|
|
|
|
|
|
This script will still run without the shebang, but we won't get the
intended effect of the errexit flag in the interpreter line.
|
|
Use the correct udev libexec dir as well, not systemd's.
|
|
|
|
https://launchpad.net/bugs/998621
|
|
|
|
|
|
https://launchpad.net/bugs/935804
|
|
https://launchpad.net/bugs/910911
|
|
|
|
$ hexdump -C src/udev/keymap/keymaps/samsung-90x3a
00000000 30 78 39 36 20 6b 62 64 69 6c 6c 75 6d 75 70 c2 |0x96 kbdillumup.|
00000010 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 c2 a0 20 |............... |
00000020 23 20 46 6e 2b 46 38 20 6b 65 79 62 6f 61 72 64 |# Fn+F8 keyboard|
|
|
|
|
|
|
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
|
|
|
|
|