From: Hugh Dickins If you want to test 2.6.27-rc1-mm1, but your Synaptics pad is making X crash immediately, and like Aunt Tillie and me you're more comfortable patching your kernel than messing around in your userspace, then reverting back from 768 to 512 keys should help. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton --- include/linux/input.h | 2 +- include/linux/mod_devicetable.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/input.h~linux-next-revert-input-expand-keycode-space include/linux/input.h --- a/include/linux/input.h~linux-next-revert-input-expand-keycode-space +++ a/include/linux/input.h @@ -592,7 +592,7 @@ struct input_absinfo { /* We avoid low common keys in module aliases so they don't get huge. */ #define KEY_MIN_INTERESTING KEY_MUTE -#define KEY_MAX 0x2ff +#define KEY_MAX 0x1ff #define KEY_CNT (KEY_MAX+1) /* diff -puN include/linux/mod_devicetable.h~linux-next-revert-input-expand-keycode-space include/linux/mod_devicetable.h --- a/include/linux/mod_devicetable.h~linux-next-revert-input-expand-keycode-space +++ a/include/linux/mod_devicetable.h @@ -274,7 +274,7 @@ struct pcmcia_device_id { /* Input */ #define INPUT_DEVICE_ID_EV_MAX 0x1f #define INPUT_DEVICE_ID_KEY_MIN_INTERESTING 0x71 -#define INPUT_DEVICE_ID_KEY_MAX 0x2ff +#define INPUT_DEVICE_ID_KEY_MAX 0x1ff #define INPUT_DEVICE_ID_REL_MAX 0x0f #define INPUT_DEVICE_ID_ABS_MAX 0x3f #define INPUT_DEVICE_ID_MSC_MAX 0x07 _