[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994037: xkb-data: TWO_LEVEL is not available



Package: xkb-data
Version: 2.33-1
Severity: important

On one of my machines:

cventin:~> cat .xkb/keymap/custom
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+gb+inet(evdev)+local"       };
        xkb_geometry  { include "pc(pc105)"     };
};

cventin:~> cat .xkb/symbols/local
xkb_symbols "local" {
    key <RALT> {
        type = "TWO_LEVEL",
        symbols[Group1] = [ ISO_Level3_Shift, Multi_key ]
    };
};

cventin:~> xkbcomp -w 0 -I$HOME/.xkb -R$HOME/.xkb keymap/custom $DISPLAY
Internal error:   Could not resolve keysym XF86BrightnessAuto
Internal error:   Could not resolve keysym XF86DisplayOff
[...]
Internal error:   Could not resolve keysym XF86KbdLcdMenu4
Internal error:   Could not resolve keysym XF86KbdLcdMenu5
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  135 (XKEYBOARD)
  Minor opcode of failed request:  9 (XkbSetMap)
  Value in failed request:  0x166c0002
  Serial number of failed request:  120
  Current serial number in output stream:  126

The internal errors are unrelated. The real issue is the BadValue.
If I change TWO_LEVEL to ONE_LEVEL, the error disappears (but I
don't get the second level).

There is no such issue with xkb-data 2.29-2.

Note: it is TWO_LEVEL that yields the error, not Multi_key (if I replace
Multi_key by a second ISO_Level3_Shift, I still get the error).

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: