From nobody Mon Jan 29 20:11:11 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 4TNzvk2dQGz59LBk for ; Mon, 29 Jan 2024 20:11:14 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TNzvj5Xkgz4JrB for ; Mon, 29 Jan 2024 20:11:13 +0000 (UTC) (envelope-from web@umich.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.b=FS9qwYeY; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (mx1.freebsd.org: domain of web@umich.edu designates 2607:f8b0:4864:20::1130 as permitted sender) smtp.mailfrom=web@umich.edu Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-602d2e67217so32544717b3.2 for ; Mon, 29 Jan 2024 12:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1706559073; x=1707163873; darn=freebsd.org; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=k+8P2dxBi/mDu9PzQfVFMSCfh4gLbI3+gjJVyUquHjs=; b=FS9qwYeYmyehbHZLPZUdOxClXOKcRdzYJ1u5fa4JibFpUCjYiweQEbebXxSMHureiu znWQfbxOxU+hArvYq9GLPwr2SZr6l+On7DfDPo6uukaVFWtEUwc5JduXqducPoVykRPv h/Opd3HjvT7k2srPpqI/oNf/hiff5JbskxHJ1TCJzm/9Haa5aKfGLD+Q5ozk3v3W0Uh7 EG/pBHPgBdL656Gof9OO16UJxwBRES7i4CTb8kMuBtO7yJEPlZIuqqbevarpU28LbmDZ yT3DUVi7locBjcBaqUF5qlAbLNLK0s4my7w8F5OA6NPPe7WowRaNS5NBbZIKmcBnvGji sJWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706559073; x=1707163873; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k+8P2dxBi/mDu9PzQfVFMSCfh4gLbI3+gjJVyUquHjs=; b=YAIYSBK8sIUOzige/hI4W3h8ah4uYgrvGTBAzQHl43roMOgXASvjgFK21raq/vUoNN MkUTZL1OW76ZiPKdIRqudoOTuPMwkzMuBmUrz7SEBIGy6e9ai7sYPo2EEiVggfl/5c2G 4Xzm+1QoSEsdevGvE9SR6TEFfbpmxhor4b3bOL2vpxyzjWJoINFYis4YR32wxLijZ7sH nm2j2u5x8Wg+yU0sgAdXq3H+Qvlp3AApmF8DjqFppTp9XAU54v//A7gHKiXtFBvqrEC4 tpIPt7WFmxDOdKPnWaS6R/2QtAChzmKiQw82vyQbP9RMmkBHBrdYUrFe3oIKEzBqWkT8 PJBw== X-Gm-Message-State: AOJu0YySbNpewg13IzH9bl3u9sr6QP5kmCCoACNIQB12ogTllx2TtkKy nP583I9tg8IOTyEWp1+PHft/bF6UQ4ZveOShoimXZ3ppsrMmZHPHlnmsJRrIQujQoMxyD26pxJ3 N X-Google-Smtp-Source: AGHT+IHhzl0COqHvW9JFX2acc7FUVUh+fpY/u+kAJ72P0hKLFEv1TR486tHRhOFhFZSYFConUzsXZg== X-Received: by 2002:a81:c444:0:b0:5ff:3c5e:9902 with SMTP id s4-20020a81c444000000b005ff3c5e9902mr4834618ywj.8.1706559072749; Mon, 29 Jan 2024 12:11:12 -0800 (PST) Received: from localhost (162-232-88-33.lightspeed.livnmi.sbcglobal.net. [162.232.88.33]) by smtp.gmail.com with ESMTPSA id r12-20020a0de80c000000b005f900790763sm2703264ywe.49.2024.01.29.12.11.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2024 12:11:12 -0800 (PST) Date: Mon, 29 Jan 2024 15:11:11 -0500 From: William Bulley To: Gary Jennejohn Cc: x11@freebsd.org Subject: Re: libinput recognizies my keyboard, but not its arrow keys Message-ID: <20240129201111.GA1334@dell4> Mail-Followup-To: Gary Jennejohn , x11@freebsd.org 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-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Spamd-Bar: / X-Spamd-Result: default: False [-0.50 / 15.00]; DWL_DNSWL_MED(-2.00)[umich.edu:dkim]; THREAD_HIJACKING_FROM_INJECTOR(2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; ENVFROM_SERVICE_ACCT(1.00)[]; FAKE_REPLY(1.00)[]; FROM_SERVICE_ACCT(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[umich.edu,none]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[umich.edu:s=google-2016-06-03]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmx.de]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[umich.edu:+]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[x11@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1130:from] X-Rspamd-Queue-Id: 4TNzvj5Xkgz4JrB 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 keyboard! 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 catchall" > [ 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 happens. I did comment out that entire Section, but after restarting an x11 session, I had no functioning keyboard at all. Here are the relevant lines from my /var/logl/Xorg.0.log file: [ 11346.032] (II) config/udev: Adding input device System keyboard multiplexer (/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 file. [ 11346.032] (II) config/udev: Adding input device System mouse (/dev/input/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="X.Org Foundation" [ 11346.033] compiled for 1.21.1.10, module version = 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, libinput Fallback acceleration function is used. [ 11346.035] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used. [ 11346.035] (II) libinput: System mouse: Step value 0 was provided, libinput Fallback acceleration function is used. [ 11346.035] (**) Option "config_info" "udev:/dev/input/event1" [ 11346.035] (II) XINPUT: Adding extended input device "System mouse" (type: 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/input/event2) [ 11346.037] (II) No input driver specified, ignoring this device. [ 11346.037] (II) This device may have been added with another device file. [ 11346.037] (II) config/udev: Adding input device AT keyboard (/dev/input/event3) [ 11346.037] (II) No input driver specified, ignoring this device. [ 11346.037] (II) This device may have been added with another device file. [ 11346.037] (II) config/udev: Adding input device Chicony PFU-65 USB Keyboard (/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 file. [ 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 provided, libinput Fallback acceleration function is used. [ 11346.039] (II) libinput: Logitech Trackball: Step value 0 was provided, libinput Fallback acceleration function is used. [ 11346.039] (II) libinput: Logitech Trackball: Step value 0 was provided, libinput Fallback acceleration function is used. [ 11346.039] (**) Option "config_info" "udev:/dev/input/event5" [ 11346.039] (II) XINPUT: Adding extended input device "Logitech Trackball" (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 here: 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 -- William Bulley E-MAIL: web@umich.edu