Gnome crashes when running `kbd_mode -s` after kernel keyboard unraw
Affected version
Linux NoYoga 6.5.13-7-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Dec 20 07:15:58 UTC 2023 x86_64 GNU/Linux
- GNOME Shell 45.3
- Running Wayland
- I have disabled all extensions using gnome-extensions-app and restarted session
Bug summary
After using kernel sysrq keyboard unraw using Alt+SysRq+r, when switching back with sudo kbd_mode -s
, gnome crashes.
The same happens when just running sudo kbd_mode -s
twice.
Steps to reproduce
Unraw keyboard using Alt+SysRq+r, then run sudo kbd_mode -s
OR run sudo kbs_mode -s
twice.
What happened
Gnome crashed.
What did you expect to happen
Keyboard to switch back to raw mode as it was before kernel unraw