Alps PS/2
From Gentoo Wiki
To get the Alps touchpad working, the kernel option ALPS PS/2 mouse protocol extension ( CONFIG_MOUSE_PS2_ALPS ) needs to be activated.
KERNEL linux-4.19
Device Drivers --->
Input device support --->
-*- Generic input layer (needed for keyboard, mouse, ...)
[*] Mice --->
--- Mice
<*> PS/2 mouse
[*] ALPS PS/2 mouse protocol extension
[ ] BYD PS/2 mouse protocol extension
It can be operated using the libinput driver and the default configuration as set in /usr/share/X11/xorg.conf.d/40-libinput.conf should work sufficiently in most cases. Customization can be done via /etc/X11/xorg.conf.d/30-touchpad.conf.
FILE
/etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
Option "Accel Speed" "1.0"
EndSection
For more detailed instruction/description, see https://wiki.archlinux.org/index.php/Libinput#Common_options
In dmesg it will appear like:
user $
dmesg
[ 2.282316] input: AlpsPS/2 ALPS DualPoint Stick as /devices/platform/i8042/serio1/input/input14 [ 2.296204] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input8
lsinput (sys-apps/input-utils) detects it as
root #
lsinput
xinput and libinput list-devices can be used to show the touchpad's characteristics:
root #
libinput list-devices | sed -n '/DualPoint/,/^$/p'
Device: AlpsPS/2 ALPS DualPoint Stick Kernel: /dev/input/event12 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 Accel profiles: flat *adaptive Rotation: n/a Device: AlpsPS/2 ALPS DualPoint TouchPad Kernel: /dev/input/event13 Group: 6 Seat: seat0, default Size: 80x44mm Capabilities: pointer Tap-to-click: disabled Tap-and-drag: enabled Tap drag lock: disabled Left-handed: disabled Nat.scrolling: disabled Middle emulation: n/a Calibration: n/a Scroll methods: *two-finger edge Click methods: none Disable-w-typing: enabled Accel profiles: none Rotation: n/a
user $
xinput
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=12 [slave pointer (2)] ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
user $
xinput list --long 13
user $
xinput list-props 13
Troubleshooting
- Due to kernel bug 204541, some kernel versions from gentoo-sources:4.19.63 also needed IBM Trackpoint PS/2 mouse protocol extension ( CONFIG_MOUSE_PS2_TRACKPOINT ). This is fixed since gentoo-sources:4.19.68