Patches: Linux kernel
Hardened + BFS
I've updated BFS patch for GrSec/PaX patched kernel sys-kernel/hardened-sources.
Microsoft Natural Ergonomic Keyboard 4000 v1.0
Linux doesn't support all additional keys on this keyboard yet. Here is my patch which activate all keys on this keyboard. My patch is modification of this patch found in LKML.
- NEK4k for 2.6.14-hardened-r8
- NEK4k for 2.6.16-hardened-r10
- NEK4k for 2.6.20-hardened-r2
- NEK4k for 2.6.23-hardened-r7
In addition this patch replace scancodes of F1-F12 keys with F-Lock to usual scancodes, so F-Lock state doesn't change anything anymore. Also you can look here for another ways to disable F-Lock without ugly patching kernel (but it doesn't work for me).
Patch don't needed anymore!
Starting from 2.6.24 kernel have support this keyboard!
There few differences in key names between my patch and 2.6.24:
patch | 2.6.24 |
---|---|
KEY_FAVORITES | KEY_BOOKMARKS |
KEY_FN_F1 | KEY_F14 |
KEY_FN_F2 | KEY_F15 |
KEY_FN_F3 | KEY_F16 |
KEY_FN_F4 | KEY_F17 |
KEY_FN_F5 | KEY_F18 |
KEY_MUTE | KEY_MIN_INTERESTING |
(FLock mode) KEY_SPELL | code 432 (probably have to be KEY_SPELLCHECK?) |
I'm still looking for a working way to disable FLock without patching kernel...