From: Didier S. <di...@sl...> - 2017-05-11 22:54:33
|
(message initially sent on, 8 May 2017 19:24:06 +0200 to Araki instead of to the list, sorry for the mistake) Hi, Le 08/05/2017 à 18:30, Araki Ken a écrit : > If you execute "KBD_INPUT_NUM=0 mlterm-fb" and can't input anything, > /dev/input/event0 might not be a keyboard device you use. > Will you inform me of the result of following commands just in case? > > $ for f in /sys/class/input/input*/name; do echo $f; cat $f; done I already checked, but here goes: didier[~]$ for f in /sys/class/input/input*/name; do echo $f; cat $f; done /sys/class/input/input0/name AT Translated Set 2 keyboard /sys/class/input/input1/name Speakup /sys/class/input/input10/name HDA Intel PCH Headphone /sys/class/input/input11/name Video Bus /sys/class/input/input12/name Logitech USB Optical Mouse /sys/class/input/input13/name BRLTTY 5.4 Linux Screen Driver Keyboard /sys/class/input/input3/name Lid Switch /sys/class/input/input4/name Sleep Button /sys/class/input/input5/name Power Button /sys/class/input/input6/name ThinkPad Extra Buttons /sys/class/input/input7/name HDA Intel PCH Mic /sys/class/input/input8/name HDA Intel PCH Dock Mic /sys/class/input/input9/name HDA Intel PCH Dock Headphone didier[~]$ By the way I forgot to tell: this is on a Lenovo Thinkpad W520. I also killed brltty (daemon that speaks to Braille drivers for blind people who use a screen reader aka Braille terminal for input and output), but this didn't change anything. Which leads to an off topic question. nosh is supposed to be able to provide two outputs if I understand well: one to draw a framebuffer and another to provide discrete characters that can be read by brltty. Can mlterm do something similar[1]? Cf: https://jdebp.eu/Softwares/nosh/brltty.html https://jdebp.eu/Softwares/nosh/user-vt-screenshots.html > If no keyboard is found except /dev/input/event0, start mlterm > as follows. (This is a workaround.) > > KBD_INPUT_NUM=-1 mlterm-fb This worked, thanks! From this can you provide a general solution? I ask because this is not for me but for the Slint text installer: Slint is an internationalized distribution, that includes a text (ncurses/dialog) installer. In the previous version I used fbterm to overcome the 512 glyphs per font limitation of the Linux console, but fbterm is a dead project and in a few cases doesn't work with very old hardware. I just recently realized that mlterm (already shipped in Slint) can also handle a framebuffer, hence my questions. Best regards, Didier [1]nosh is not an option for us I think as it would be difficult to get only the virtual terminal and we don't want the whole init system. I am also aware of kmscon but that is a dead project too Ther is also bogl/bterm used by the Debian text installer but I am not comfortable with their unaliased specific font format, plsu they use newt/whiptail that can handle bidi texet but would need a lot adapatation as we use ncurses/dialog instead. |