Re: [gnumach] /dev/cons/kbd rejects kbd_drv.so set-event-mode ioctl with EBADF; please implement KDSKBMODE or expose /dev/input/event*

NexusSfan <[email protected]>
Newsgroups gmane.os.hurd.bugs
Message-ID <[email protected]>
On 5/30/26 2:54 PM, Borja Tarraso wrote:
>    - which gnumach / hurd / xserver-xorg-core versions you are on
>      (dpkg -l gnumach* hurd xserver-xorg-core | tail -10);

ii  gnumach-image-1-amd64-smp     2:1.8+git20260224-8    hurd-amd64 
GNU version of the Mach microkernel with SMP
un  gnumach-image-1-xen-486       <none>                 <none> 
(no description available)
un  gnumach-image-1.8-486         <none>                 <none> 
(no description available)
un  gnumach-image-1.8-486-dbg     <none>                 <none> 
(no description available)
ii  gnumach-image-1.8-amd64-smp   2:1.8+git20260224-8    hurd-amd64 
GNU version of the Mach microkernel with SMP
ii  gnumach-image-1.8-amd64-up    2:1.8+git20260224-8    hurd-amd64 
GNU version of the Mach microkernel
un  gnumach-image-1.8-xen-486     <none>                 <none> 
(no description available)
un  gnumach-image-1.8-xen-486-dbg <none>                 <none> 
(no description available)
ii  hurd                          1:0.9.git20251029-7+b1 hurd-amd64 
GNU Hurd
ii  xserver-xorg-core             2:21.1.22-1            hurd-amd64 
Xorg X server - core server


>    - what your /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/*.conf
>      looks like for the InputDevice / InputClass blocks;

$ cat /etc/X11/xorg.conf
Section "InputDevice"
         Identifier "Generic Keyboard"
         Driver "kbd"
         Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

>    - what `ls -l /dev/kbd /dev/cons/kbd` and
>      `showtrans /dev/kbd /dev/cons/kbd` print on your image;

/dev/kbd: /hurd/symlink cons/kbd
/dev/cons/kbd: /hurd/chrdev 101 33751128

>    - the kbd-relevant lines from your Xorg.0.log (the "Using input
>      driver 'kbd'" block and the next 20 lines, so I can see which
>      device path kbd_drv.so picked and whether the ioctl succeeded).

[    21.752] (II) XINPUT: Adding extended input device "<default 
pointer>" (type: MOUSE, id 6)
[    21.754] (**) <default pointer>: (accel) keeping acceleration scheme 1
[    21.754] (**) <default pointer>: (accel) acceleration profile 0
[    21.754] (**) <default pointer>: (accel) acceleration factor: 2.000
[    21.754] (**) <default pointer>: (accel) acceleration threshold: 4
[    21.754] (**) Option "Device" "/dev/mouse"
[    21.756] (II) Using input driver 'kbd' for 'Generic Keyboard'
[    21.756] (**) Option "CoreKeyboard" "on"
[    21.756] (**) Generic Keyboard: always reports core events
[    21.756] (**) Generic Keyboard: always reports core events
[    21.756] (**) Option "XkbRules" "base"
[    21.756] (**) Option "XkbModel" "pc105"
[    21.756] (**) Option "XkbLayout" "us"
[    21.756] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
[    21.756] (II) XINPUT: Adding extended input device "Generic 
Keyboard" (type: KEYBOARD, id 7)
(END)

-- 
NexusSfan
GNU.org - Please support free software.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.