From nobody Tue Jan 30 09:09:02 2024 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPK9P1JkHz58Rdg for ; Tue, 30 Jan 2024 09:09:13 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPK9N35t6z44ln for ; Tue, 30 Jan 2024 09:09:12 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1706605743; x=1707210543; i=garyj@gmx.de; bh=gTg/HDCV99iqfZO0rif4ZEg1+h6Om5Z+A1l9p+gxgTg=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References: Reply-To; b=nx/xapjE+ESyGGlfOiTFCIpt03kj4RzLdTzW0mIgxi6PzYBdiaLFluV18D7cyd9t Gk2RM5J0YvdszHvb/jurvo+tnoTfbfSJ67I5WgHzg7pBPQA9hzkDikJfvRz3jQPnS jRmAUJeg610KBwz7eu/veQdwhKRwFCuJ0NGGhET6y9ZUP4SbTv/+HgLvV91bfQf5f Tzz3koxb4qoe6UTxlcKYm/c+PrVJ+XOd8ev90SIro0wtgSoThkaDdF9SxqsMefAr/ cXBQHqp5uX6Xw4gff0UxM7L0upUsdrY5rmZyCtdarRonLHmzPrn0Cj1jL+ndH8XjV JWrmMpLvOOdjrff9Ew== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.224.160]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MFsYx-1rHCue14sZ-00HQ63; Tue, 30 Jan 2024 10:09:03 +0100 Date: Tue, 30 Jan 2024 09:09:02 +0000 From: Gary Jennejohn To: William Bulley 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> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Dn0kXoFVcxSYMSHskioQbVQOVnfFK8Mg8W8pF6Lj7Du6Ty2emeV /R2Ci1fCZppIpBH/RUxisbBgz3PVgj1/B5VS8VHgBBld6VJPtuRDT+toIpzEH1wn2c5FOBa GC/M1QCVu6I8ZfYKDbpalntW8qCR4c9sMApj6uYsKtrLEzgFrGx2xYALO5CE2cntahec7+Y F7JLaAagiIsu3oTAX8EWQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:lpigrUmKnVw=;Jhu3EUPSQCGyVw4e9wGsecRFoCl LHOLwtABIYDEgV9Fn0Qddt3ljGGVQLJoIT5x4GoYzcwIJVEeQkRbhz/dM5Pa+h/pV0KD2fJk1 rRU4806RLu7kY0hkodYI7fPlUU1UYaf0JeCp2gLV1D1RnkMhiExL6T+rby6LayK32jsZpFPMj 6tKuKsUhnJNNz2AI0QABb5/5MyCBz19f7npIXXuySHGqln1XH9wI8z9m24upoEVmoBaLpD6/F 7s0xoVEwFLIvEl4+lqQB8iebltJzqVsXVXepc9/1JF5nBLNmkFDHdWxMWJThJ8lF8AkSP+Uwd hZ2u+iVG03cjEysWJthzgWv3y7qX2/MqL2LhnphFubsE6AG4eIvlP1C0eABO2dceF+7DBzmxk cNGkT4zhWQ7FEuziGivbh3sK7cgE7/36hukTW16RTos1EwrhnFwe9YtgFM4U1P78HWkUh1Y+r lNPLH9wPvQXkoWTrCFDmWhBWGnhSjkG9VcQ8aENEBF7n4moEZ76SmFz8oRARfVqcY3VRNj06o jLvpTyF5UmB1sQeS/qShBs0WrYWJzJCdCKnFoJTEOjuUN+D79hRemCiW+zwgq1lad2nlvjSsL lWYjE7UAvxLibJtT8HzYMWSj4YQvl6Zs6uOLr5Fb/T8rO7Xuo6cj82dXNQV/77WSAXrI5QEhs oEwLvEpbB7gFf6+gO2i7zEOxCHEvUgnAp6G1p++Q0PYV2Lxaq66nNQTZDBuojIbl6UNJtEGGF 6iBs+1FNprpIcFK32QTy4brxMUDy3XrygRim4elvuVvD6Bm878tZsymKcQiGus4vPL+t/PpWo zx1VDRQtPdGOFvtLW+NHeGQjMMk4mjW1YHKZn5TcdqOQbPMwd3TdnZYGhkSQnFRd/0B4DyaSb J6oQxPzOb35Ae7kHcILYSiMIbSxbfP1pStqp/8HM36ngVnJqiIxGjO7Oeb92TL04p/wD5dFaj gN6S9/YzmSqUHg0AA6esqU0FZZI= X-Rspamd-Queue-Id: 4TPK9N35t6z44ln X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Mon, 29 Jan 2024 15:11:11 -0500 William Bulley wrote: > According to Gary Jennejohn on Mon, 01/29/24 at 14:38: > > > > I have this keyboard also: > > ukbd0: > > 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