FS#59024 - [xkeyboard-config] /usr/share/X11/xkb/keycodes/evdev contains codes out of allowed range 8-255

Attached to Project: Arch Linux
Opened by Aliaksandr Stelmachonak (ava1ar) - Friday, 15 June 2018, 17:23 GMT
Last edited by Jan de Groot (JGC) - Saturday, 16 June 2018, 05:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: /usr/share/X11/xkb/keycodes/evdev contains codes out of allowed range 8-255

<I372> = 372; // #define KEY_FAVORITES 364
<I374> = 374; // #define KEY_KEYBOARD 366


Additional info:
* xkeyboard-config 2.24-1

Steps to reproduce:
* Install xkeyboard-config 2.24-1
* Check /usr/share/X11/xkb/keycodes/evdev

Also, XWayland fails to start with such config with following errors:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Illegal keycode 372 for name <I372>
> Must be in the range 8-255 inclusive
> Error: Illegal keycode 374 for name <I374>
> Must be in the range 8-255 inclusive
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 16 June 2018, 05:42 GMT
Reason for closing:  Not a bug
Comment by Andreas Radke (AndyRTR) - Friday, 15 June 2018, 17:47 GMT
Please report this upstream.
Comment by Jan de Groot (JGC) - Friday, 15 June 2018, 21:14 GMT
That's why xkbcomp was updated also.
Comment by Aliaksandr Stelmachonak (ava1ar) - Saturday, 16 June 2018, 00:24 GMT
But why then evdev container lower and upper values inside file?

default xkb_keycodes "evdev" {
minimum = 8;
maximum = 255;

I believe they should be updated as well, if values over 255 are user.
Comment by Jan de Groot (JGC) - Saturday, 16 June 2018, 05:42 GMT

Loading...