After upgrading to 5.15.69 gentoo kernel, my touchpad stopped working. I tried solving it, but gave up and chose to wait for new kernel as it seemed like improperly configured kernel issue. Since then I have upgraded to 5.15.80, but the issue still prevails.
Specs
Laptop Aorus 15P XC
Kernel 5.15.80-gentoo, this time configured via genkernel
Selected profile:
[9] default/linux/amd64/17.1/desktop/plasma (stable) *
make.conf snippet:
USE contains libinput synaptics
INPUT_DEVICES="libinput synaptics"
Running
cat /proc/bus/input/devices
and manuallyfiltering the result to only show touchpad shows the touchpad is detected:
Code: Select all
I: Bus=0003 Vendor=1044 Product=7a3f Version=0111
N: Name="GIGABYTE USB-HID Keyboard Mouse"
P: Phys=usb-0000:00:14.0-11/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.2/0003:1044:7A3F.0007/input/input21
U: Uniq=AP0000000003
H: Handlers=mouse2 event15 js0
B: PROP=0
B: EV=1f
B: KEY=1f0000 0 0 0 0
B: REL=1943
B: ABS=3
B: MSC=10
Code: Select all
/ # cat /etc/X11/xorg.conf.d/10-touchpad.conf
Section "InputClass"
Identifier "touchpad"
MatchProduct "GIGABYTE USB-HID Keyboard Mouse"
Driver "libinput"
EndSection
This finally made the device apparent to libinput, however the device fails(?) midway through detecting:
(Snippet from /var/log/Xorg.0.log, full log can be found here: https://pastebin.com/kdzHmw9x)
Code: Select all
[ 7.448] (II) config/udev: Adding input device GIGABYTE USB-HID Keyboard Mouse (/dev/input/event15)
[ 7.448] (**) GIGABYTE USB-HID Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[ 7.448] (**) GIGABYTE USB-HID Keyboard Mouse: Applying InputClass "touchpad"
[ 7.448] (II) Using input driver 'libinput' for 'GIGABYTE USB-HID Keyboard Mouse'
[ 7.448] (**) GIGABYTE USB-HID Keyboard Mouse: always reports core events
[ 7.448] (**) Option "Device" "/dev/input/event15"
[ 7.450] (II) event15 - GIGABYTE USB-HID Keyboard Mouse: is tagged by udev as: Mouse
[ 7.451] (II) event15 - GIGABYTE USB-HID Keyboard Mouse: device is a pointer
[ 7.451] (II) event15 - GIGABYTE USB-HID Keyboard Mouse: device removed
[ 7.514] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.2/0003:1044:7A3F.0007/input/input21/event15"
[ 7.514] (II) XINPUT: Adding extended input device "GIGABYTE USB-HID Keyboard Mouse" (type: MOUSE, id 12)
[ 7.515] (**) Option "AccelerationScheme" "none"
[ 7.515] (**) GIGABYTE USB-HID Keyboard Mouse: (accel) selected scheme none/0
[ 7.515] (**) GIGABYTE USB-HID Keyboard Mouse: (accel) acceleration factor: 2.000
[ 7.515] (**) GIGABYTE USB-HID Keyboard Mouse: (accel) acceleration threshold: 4
[ 7.517] (II) event15 - GIGABYTE USB-HID Keyboard Mouse: is tagged by udev as: Mouse
[ 7.518] (II) event15 - GIGABYTE USB-HID Keyboard Mouse: device is a pointer
[ 7.520] (II) config/udev: Adding input device GIGABYTE USB-HID Keyboard Mouse (/dev/input/js0)
[ 7.520] (**) GIGABYTE USB-HID Keyboard Mouse: Applying InputClass "touchpad"
[ 7.520] (II) Using input driver 'libinput' for 'GIGABYTE USB-HID Keyboard Mouse'
[ 7.520] (**) GIGABYTE USB-HID Keyboard Mouse: always reports core events
[ 7.520] (**) Option "Device" "/dev/input/js0"
[ 7.561] (II) js0 - not using input device '/dev/input/js0'.
[ 7.561] (EE) libinput: GIGABYTE USB-HID Keyboard Mouse: Failed to create a device for /dev/input/js0
[ 7.561] (EE) PreInit returned 2 for "GIGABYTE USB-HID Keyboard Mouse"
[ 7.561] (II) UnloadModule: "libinput"
[ 7.562] (II) config/udev: Adding input device GIGABYTE USB-HID Keyboard Mouse (/dev/input/mouse2)
[ 7.562] (**) GIGABYTE USB-HID Keyboard Mouse: Applying InputClass "touchpad"
[ 7.562] (II) Using input driver 'libinput' for 'GIGABYTE USB-HID Keyboard Mouse'
[ 7.562] (**) GIGABYTE USB-HID Keyboard Mouse: always reports core events
[ 7.562] (**) Option "Device" "/dev/input/mouse2"
[ 7.604] (II) mouse2 - not using input device '/dev/input/mouse2'.
[ 7.604] (EE) libinput: GIGABYTE USB-HID Keyboard Mouse: Failed to create a device for /dev/input/mouse2
[ 7.604] (EE) PreInit returned 2 for "GIGABYTE USB-HID Keyboard Mouse"
[ 7.604] (II) UnloadModule: "libinput"
In full log, there is another copy of the module unloading, which i triggered by:
Code: Select all
udevadm trigger /sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.2/0003:1044:7A3F.0007/input/input21/mouse2
This is as far as i have come, this issue has been bugging me for weeks, and i don't know what to do any more. Any help would be appreciated. Thank you.

