Help with Remapping Key 49 on German Keyboard Layout

Martin Ivanov marto1980 at gmail.com
Mon Apr 28 03:22:44 PDT 2025


Hello, Peter,
thank you very much for your reply.
I did what you suggested and here is the output:

root at dragonfly:/home/marto # libinput debug-events
-event0   DEVICE_ADDED            System keyboard multiplexer       seat0
default group1  cap:k
-event1   DEVICE_ADDED            System mouse                      seat0
default group2  cap:p left scroll-nat scroll-button
-event2   DEVICE_ADDED            vendor 0x28a0 USB OPTICAL MOUSE, class
0/0, rev 1.10/1.00, addr 1 seat0 default group3  cap:p left scroll-nat
scroll-button

As you see, although I am pressing the key between the left shift and the
"y" letter on the german keyboard, nothing is detected. For a comparison,
here is the output when I press key 49:

root at dragonfly:/home/marto # libinput debug-events
-event0   DEVICE_ADDED            System keyboard multiplexer       seat0
default group1  cap:k
-event1   DEVICE_ADDED            System mouse                      seat0
default group2  cap:p left scroll-nat scroll-button
-event2   DEVICE_ADDED            vendor 0x28a0 USB OPTICAL MOUSE, class
0/0, rev 1.10/1.00, addr 1 seat0 default group3  cap:p left scroll-nat
scroll-button
-event0   KEYBOARD_KEY            +2.823s *** (-1) pressed
^ event0   KEYBOARD_KEY            +2.936s *** (-1) released

I remember that when I upgraded to dragonfly 6.4.0, the whole keyboard did
not work. Then, Pierre-Alain TORET (daftaupe) told me to set
kern.evdev.rcpt_mask=3.
I now have this added to /etc/sysctl.conf and my laptop keyboard
works, except for this key. Maybe this shall provide some clue to a
potential solution?

Best regards,
Martin


Am Mo., 28. Apr. 2025 um 12:13 Uhr schrieb karu.pruun <karu.pruun at gmail.com
>:

> Can you run a quick test to see if libinput sees the key being
> pressed? You need the package 'libinput' installed. In terminal:
>
> % libinput debug-events
>
> And then press keys. Also open another terminal so you can kill
> libinput when you're done.
>
> If libinput does not see anything, then the actual driver does not see
> the key being pressed; then it's a question how to make the driver
> detect the event.
>
> Best
>
> Peeter
>
> --
>
> On Mon, Apr 28, 2025 at 8:57 AM Martin Ivanov <marto1980 at gmail.com> wrote:
> >
> > Hello, Matthew,
> > Thank you for the quick reply. As I posted, xmodmap for key 49 is
> overwritten by the German layout. So that is not an option.
> >
> > Yesterday I checked that the key that should print the pipe symbol
> actually works in openbsd ( I have a triple boot dfly, openbsd and
> Slackware). But in Dragonfly it is not recognised since xev does not
> register it being pressed. That is why I am trying to remap other keys.
> >
> > Best regards,
> > Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250428/a5730d39/attachment-0001.htm>


More information about the Users mailing list