Date: Mon, 29 Jan 2024 15:11:11 -0500 From: William Bulley <web@umich.edu> To: Gary Jennejohn <garyj@gmx.de> Cc: x11@freebsd.org Subject: Re: libinput recognizies my keyboard, but not its arrow keys Message-ID: <20240129201111.GA1334@dell4>
next in thread | raw e-mail | index | archive | help
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 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 <web@umich.edu>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240129201111.GA1334>