Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2024 09:09:02 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        William Bulley <web@umich.edu>
Cc:        x11@freebsd.org
Subject:   Re: libinput recognizies my keyboard, but not its arrow keys
Message-ID:  <20240130100902.6bf9617c@ernst.home>
In-Reply-To: <20240129201111.GA1334@dell4>
References:  <20240129201111.GA1334@dell4>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Jan 2024 15:11:11 -0500
William Bulley <web@umich.edu> wrote:

> According to Gary Jennejohn <garyj@gmx.de> on Mon, 01/29/24 at 14:38:
> >
> > I have this keyboard also:
> > ukbd0: <Chicony PFU-65 USB Keyboard, class 0/0, rev 1.10/1.02, addr 2>
> > and I'm also using libinput.
>
> Great!  And here I thought I was the only one left still using that keyb=
oard!
>
> Thanks for your suggestion.
>
> > I've used this keyboarad for many years with several Xorg versions.
>
> Likewise here.
>
> > But I have never used Section "InputClass" for any keyboard I've ever
> > had and all keys on my PFU-65 work correctly.
>
> I don't recall why several years ago I used Section "InputClass" on the
> older system.  After many, many failed attempts, I finally did settle
> on Section "InputClass" in my current working configuration (minus the
> arrow keys).
>
> I think one of the attempts to get my keyboard to even be recognixed
> initiall was to name the section: Section "InputDevice" and this is
> even suggested by the "# man 4 libinput" man page.
>
> > This is the trace emitted in Xorg.log.0:
> >
> > [ 212.246] (**) System keyboard multiplexer: Applying InputClass
> > "libinput keyboard catchall"
> > [ 212.293] (**) AT keyboard: Applying InputClass "libinput keyboard ca=
tchall"
> > [ 212.293] (II) Using input driver 'libinput' for 'AT keyboard'
> > [ 212.299] (**) Chicony PFU-65 USB Keyboard: Applying InputClass
> > "libinput keyboard catchall"
> > [ 212.299] (II) Using input driver 'libinput' for 'Chicony PFU-65 USB =
Keyboard'
> >
> > Maybe you could try commenting out the InputClass entry and see what h=
appens.
>
> I did comment out that entire Section, but after restarting an x11 sessi=
on, I
> had no functioning keyboard at all.  Here are the relevant lines from my
> /var/logl/Xorg.0.log file:
>

Ah well. sorry it didn't help.  But I have to admit that I'm using an
older version of the Xserver: xorg-server-21.1.8_5,1.pkg and probably
an older version of libinput: libinput-1.24.0.pkg

I also have xkeyboard-config-2.40_3.pkg and libudev-devd-0.5.2.pkg install=
ed.

I'm also using the NVIDIA driver; don't know whether that makes a differen=
ce.

And I have these devices in my kernel config file:

device          atkbdc                  # AT keyboard controller
device          atkbd                   # AT keyboard
device          kbdmux                  # keyboard multiplexer
device          ukbd                    # Keyboard

But I see that you also have the keyboard multiplexer, so I guess you also
have these devices.

> [ 11346.032] (II) config/udev: Adding input device System keyboard multi=
plexer (/dev/input/event0)
> [ 11346.032] (II) No input driver specified, ignoring this device.
> [ 11346.032] (II) This device may have been added with another device fi=
le.
> [ 11346.032] (II) config/udev: Adding input device System mouse (/dev/in=
put/event1)
> [ 11346.032] (**) System mouse: Applying InputClass "Mouse0"
> [ 11346.032] (II) LoadModule: "libinput"
> [ 11346.032] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv=
.so
> [ 11346.033] (II) Module libinput: vendor=3D"X.Org Foundation"
> [ 11346.033]    compiled for 1.21.1.10, module version =3D 1.3.0
> [ 11346.033]    Module class: X.Org XInput Driver
> [ 11346.033]    ABI class: X.Org XInput driver, version 24.4
> [ 11346.033] (II) Using input driver 'libinput' for 'System mouse'
> [ 11346.033] (**) System mouse: always reports core events
> [ 11346.033] (**) Option "Device" "/dev/input/event1"
> [ 11346.034] (II) event1  - System mouse: is tagged by udev as: Mouse
> [ 11346.035] (II) event1  - System mouse: device is a pointer
> [ 11346.035] (II) event1  - System mouse: device removed
> [ 11346.035] (II) libinput: System mouse: Step value 0 was provided, lib=
input Fallback acceleration function is used.
> [ 11346.035] (II) libinput: System mouse: Step value 0 was provided, lib=
input Fallback acceleration function is used.
> [ 11346.035] (II) libinput: System mouse: Step value 0 was provided, lib=
input Fallback acceleration function is used.
> [ 11346.035] (**) Option "config_info" "udev:/dev/input/event1"
> [ 11346.035] (II) XINPUT: Adding extended input device "System mouse" (t=
ype: MOUSE, id 6)
> [ 11346.036] (**) Option "AccelerationScheme" "none"
> [ 11346.036] (**) System mouse: (accel) selected scheme none/0
> [ 11346.036] (**) System mouse: (accel) acceleration factor: 2.000
> [ 11346.036] (**) System mouse: (accel) acceleration threshold: 4
> [ 11346.036] (II) event1  - System mouse: is tagged by udev as: Mouse
> [ 11346.037] (II) event1  - System mouse: device is a pointer
> [ 11346.037] (II) config/udev: Adding input device Power Button (/dev/in=
put/event2)
> [ 11346.037] (II) No input driver specified, ignoring this device.
> [ 11346.037] (II) This device may have been added with another device fi=
le.
> [ 11346.037] (II) config/udev: Adding input device AT keyboard (/dev/inp=
ut/event3)
> [ 11346.037] (II) No input driver specified, ignoring this device.
> [ 11346.037] (II) This device may have been added with another device fi=
le.
> [ 11346.037] (II) config/udev: Adding input device Chicony PFU-65 USB Ke=
yboard (/dev/input/event4)
> [ 11346.037] (II) No input driver specified, ignoring this device.
> [ 11346.037] (II) This device may have been added with another device fi=
le.
> [ 11346.037] (II) config/udev: Adding input device Logitech Trackball (/=
dev/input/event5)
> [ 11346.037] (**) Logitech Trackball: Applying InputClass "Mouse0"
> [ 11346.037] (II) Using input driver 'libinput' for 'Logitech Trackball'
> [ 11346.037] (**) Logitech Trackball: always reports core events
> [ 11346.037] (**) Option "Device" "/dev/input/event5"
> [ 11346.038] (II) event5  - Logitech Trackball, class 0/0, rev 1.10/2.20=
, addr 30: is tagged by udev as: Mouse
> [ 11346.039] (II) event5  - Logitech Trackball, class 0/0, rev 1.10/2.20=
, addr 30: device is a pointer
> [ 11346.039] (II) event5  - Logitech Trackball, class 0/0, rev 1.10/2.20=
, addr 30: device removed
> [ 11346.039] (II) libinput: Logitech Trackball: Step value 0 was provide=
d, libinput Fallback acceleration function is used.
> [ 11346.039] (II) libinput: Logitech Trackball: Step value 0 was provide=
d, libinput Fallback acceleration function is used.
> [ 11346.039] (II) libinput: Logitech Trackball: Step value 0 was provide=
d, libinput Fallback acceleration function is used.
> [ 11346.039] (**) Option "config_info" "udev:/dev/input/event5"
> [ 11346.039] (II) XINPUT: Adding extended input device "Logitech Trackba=
ll" (type: MOUSE, id 7)
> [ 11346.039] (**) Option "AccelerationScheme" "none"
> [ 11346.039] (**) Logitech Trackball: (accel) selected scheme none/0
> [ 11346.039] (**) Logitech Trackball: (accel) acceleration factor: 2.000
> [ 11346.039] (**) Logitech Trackball: (accel) acceleration threshold: 4
> [ 11346.040] (II) event5  - Logitech Trackball, class 0/0, rev 1.10/2.20=
, addr 30: is tagged by udev as: Mouse
> [ 11346.041] (II) event5  - Logitech Trackball, class 0/0, rev 1.10/2.20=
, addr 30: device is a pointer
>
> I ran "# libinput list-devices" as root and have attached the output her=
e:
>
> Device:           System keyboard multiplexer
> Kernel:           /dev/input/event0
> Group:            1
> Seat:             seat0, default
> Capabilities:     keyboard
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      n/a
> Nat.scrolling:    n/a
> Middle emulation: n/a
> Calibration:      n/a
> Scroll methods:   none
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   n/a
> Rotation:         0.0
>
> Device:           System mouse
> Kernel:           /dev/input/event1
> Group:            2
> Seat:             seat0, default
> Capabilities:     pointer
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      disabled
> Nat.scrolling:    disabled
> Middle emulation: disabled
> Calibration:      n/a
> Scroll methods:   button
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   flat *adaptive custom
> Rotation:         0.0
>
> Device:           Power Button
> Kernel:           /dev/input/event2
> Group:            3
> Seat:             seat0, default
> Capabilities:     keyboard
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      n/a
> Nat.scrolling:    n/a
> Middle emulation: n/a
> Calibration:      n/a
> Scroll methods:   none
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   n/a
> Rotation:         0.0
>
> Device:           AT keyboard
> Kernel:           /dev/input/event3
> Group:            4
> Seat:             seat0, default
> Capabilities:     keyboard
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      n/a
> Nat.scrolling:    n/a
> Middle emulation: n/a
> Calibration:      n/a
> Scroll methods:   none
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   n/a
> Rotation:         0.0
>
> Device:           Chicony PFU-65 USB Keyboard, class 0/0, rev 1.10/2.00,=
 addr 33
> Kernel:           /dev/input/event4
> Group:            5
> Seat:             seat0, default
> Capabilities:     keyboard
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      n/a
> Nat.scrolling:    n/a
> Middle emulation: n/a
> Calibration:      n/a
> Scroll methods:   none
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   n/a
> Rotation:         0.0
>
> Device:           Logitech Trackball, class 0/0, rev 1.10/2.20, addr 34
> Kernel:           /dev/input/event5
> Group:            6
> Seat:             seat0, default
> Capabilities:     pointer
> Tap-to-click:     n/a
> Tap-and-drag:     n/a
> Tap drag lock:    n/a
> Left-handed:      disabled
> Nat.scrolling:    disabled
> Middle emulation: disabled
> Calibration:      n/a
> Scroll methods:   button
> Click methods:    none
> Disable-w-typing: n/a
> Disable-w-trackpointing: n/a
> Accel profiles:   flat *adaptive custom
> Rotation:         0.0
>

My output looks the same, my keyboard is a little older.

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240130100902.6bf9617c>