Hello,
Since the 1.20.7 (20200220) changes in x11-servers/xorg-server, my Thinkpad X1 (Gen 6) trackpad middle click button stopped working. I tried to follow the hints in /usr/ports/UPDATING regarding x11/libinput and x11-drivers/xf86-input-libinput, and everything worked out of the box, except the middle click of the trackpad that I use very frequently (the emulation works, but it's very unpractical and flimsy).
This is my current configuration, on FreeBSD 12.1-STABLE (r363948)
/etc/sysctl.conf
/boot/loader.conf
/boot/device.hints
Xorg: no config at all (except some font related stuff, that's all)
Trackpad sits at /dev/input/event5, if I cat it, I get responses for everything but the middle click button.
output of
Output of
Mouse related info from /var/log/Xorg.0.log
Output of
Output of
I'm completely clueless about what to try to have this working again... Reading through psm(4), I understand that it should support 2 or 3 buttons, so what am I doing wrong?
Since the 1.20.7 (20200220) changes in x11-servers/xorg-server, my Thinkpad X1 (Gen 6) trackpad middle click button stopped working. I tried to follow the hints in /usr/ports/UPDATING regarding x11/libinput and x11-drivers/xf86-input-libinput, and everything worked out of the box, except the middle click of the trackpad that I use very frequently (the emulation works, but it's very unpractical and flimsy).
This is my current configuration, on FreeBSD 12.1-STABLE (r363948)
/etc/sysctl.conf
Code:
# Enable evdev hardware mouse + hardware keyboa
kern.evdev.rcpt_mask=12
/boot/loader.conf
Code:
# Disable Trackpoint and Trackpad support in psm
hw.psm.trackpoint_support="0"
hw.psm.synaptics_support="0"
/boot/device.hints
Code:
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
Xorg: no config at all (except some font related stuff, that's all)
Trackpad sits at /dev/input/event5, if I cat it, I get responses for everything but the middle click button.
output of
libinput list-devices
:
Code:
Device: Generic PS/2 mouse
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: n/a
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Accel profiles: flat *adaptive
Rotation: n/a
Output of
dmesg | grep psm
Code:
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
Mouse related info from /var/log/Xorg.0.log
Code:
[ 558.480] (**) Option "Device" "/dev/input/event1"
[ 558.480] (**) Option "_source" "server/udev"
[ 558.480] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 558.480] (II) event1 - System mouse: device is a pointer
[ 558.480] (II) event1 - System mouse: device removed
[ 558.480] (**) Option "config_info" "udev:/dev/input/event1"
[ 558.480] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 558.480] (**) Option "AccelerationScheme" "none"
[ 558.480] (**) System mouse: (accel) selected scheme none/0
[ 558.480] (**) System mouse: (accel) acceleration factor: 2.000
[ 558.480] (**) System mouse: (accel) acceleration threshold: 4
[ 558.481] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 558.481] (II) event1 - System mouse: device is a pointer
[...]
[ 558.484] (II) config/udev: Adding input device Generic PS/2 mouse (/dev/input/event5)
[ 558.484] (**) Generic PS/2 mouse: Applying InputClass "evdev pointer catchall"
[ 558.484] (**) Generic PS/2 mouse: Applying InputClass "libinput pointer catchall"
[ 558.484] (II) Using input driver 'libinput' for 'Generic PS/2 mouse'
[ 558.484] (**) Generic PS/2 mouse: always reports core events
[ 558.484] (**) Option "Device" "/dev/input/event5"
[ 558.484] (**) Option "_source" "server/udev"
[ 558.502] (II) event5 - Generic PS/2 mouse: is tagged by udev as: Mouse
[ 558.502] (II) event5 - Generic PS/2 mouse: device is a pointer
[ 558.502] (II) event5 - Generic PS/2 mouse: device removed
[ 558.538] (**) Option "config_info" "udev:/dev/input/event5"
[ 558.538] (II) XINPUT: Adding extended input device "Generic PS/2 mouse" (type: MOUSE, id 10)
[ 558.538] (**) Option "AccelerationScheme" "none"
[ 558.538] (**) Generic PS/2 mouse: (accel) selected scheme none/0
[ 558.538] (**) Generic PS/2 mouse: (accel) acceleration factor: 2.000
[ 558.538] (**) Generic PS/2 mouse: (accel) acceleration threshold: 4
[ 558.561] (II) event5 - Generic PS/2 mouse: is tagged by udev as: Mouse
[ 558.561] (II) event5 - Generic PS/2 mouse: device is a pointer
Output of
xinput
Code:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ System mouse id=7 [slave pointer (2)]
⎜ ↳ Generic PS/2 mouse id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ System keyboard multiplexer id=6 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT keyboard id=9 [slave keyboard (3)]
Output of
xinput --list-props 10
Code:
Device 'Generic PS/2 mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (276): 0
libinput Natural Scrolling Enabled Default (277): 0
libinput Scroll Methods Available (278): 0, 0, 1
libinput Scroll Method Enabled (279): 0, 0, 0
libinput Scroll Method Enabled Default (280): 0, 0, 0
libinput Button Scrolling Button (281): 3
libinput Button Scrolling Button Default (282): 3
libinput Button Scrolling Button Lock Enabled (283): 0
libinput Button Scrolling Button Lock Enabled Default (284): 0
libinput Accel Speed (287): 0.000000
libinput Accel Speed Default (288): 0.000000
libinput Accel Profiles Available (289): 1, 1
libinput Accel Profile Enabled (290): 1, 0
libinput Accel Profile Enabled Default (291): 1, 0
libinput Left Handed Enabled (292): 0
libinput Left Handed Enabled Default (293): 0
libinput Send Events Modes Available (261): 1, 0
libinput Send Events Mode Enabled (262): 0, 0
libinput Send Events Mode Enabled Default (263): 0, 0
Device Node (264): "/dev/input/event5"
Device Product ID (265): 2, 1
libinput Drag Lock Buttons (294): <no items>
libinput Horizontal Scroll Enabled (295): 1
I'm completely clueless about what to try to have this working again... Reading through psm(4), I understand that it should support 2 or 3 buttons, so what am I doing wrong?