legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git

Home Page:https://kbd-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`kbd_mode` |keyboard declared as being in an unknown mode

Ricky-Tigg opened this issue · comments

v. 2.6.4 | Package kbd from Fedora Linux repository

Hello.

$ kbd_mode
Couldn't get a file descriptor referring to the console.
$ sudo kbd_mode
The keyboard is in some unknown mode

Is it not so however that the mode cannot be other than one of these: RAW, MEDIUMRAW, XLATE, UNICODE?

@Ricky-Tigg Unknown mode appears when the console is not a terminal. I'm assuming you are running the utility in a terminal emulator. You can specify the --console=DEV option to specify a real terminal.

According to a comment of yours in another report of mine, your assumption must be correct. I should investigate what is what in order to learn what conditions need to be met in order to be able to be in a console that is a terminal – exactly as such. Closing accordingly.