Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVED][Libinput / Udev][Aorus 15P XC] Touchpad not working

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
kukus888
n00b
n00b
Posts: 3
Joined: Tue Dec 20, 2022 9:50 pm

[SOLVED][Libinput / Udev][Aorus 15P XC] Touchpad not working

  • Quote

Post by kukus888 » Tue Dec 20, 2022 10:22 pm

Hi,
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
So the device is detected, I figured this could be an issue in device detection, so i added separate conf file for touchpad:

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
Note: With synaptics driver, Xorg log said that Driver Synaptics cannot understand the protocol of the device, unloaded the module, and continued.

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
Also, i tried running gentoo from live usb (Gentoo amd64 LiveGUI 20220605T17), and there, the touchpad worked without any issues, with libinput driver afaik. Copying the config files didn't help.

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.
Last edited by kukus888 on Wed Dec 21, 2022 6:44 pm, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Dec 20, 2022 10:33 pm

kukus888,

Welcome to Gentoo.

Please share the following.
1. The output of

Code: Select all

lspci -nnk
This will show the hardware on your PCI bus.
2. The output of

Code: Select all

lsusb
This will show what is connected to the USB bus.
Those two will fit into a post.

The output of dmesg, This is the kernel startup log.
Your kernel .config file. We might want to change this.
It may be at /proc/config.gz.
Use wgetpaste to put them onto a pastebin site and post the links.They are far too big for a post.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
kukus888
n00b
n00b
Posts: 3
Joined: Tue Dec 20, 2022 9:50 pm

  • Quote

Post by kukus888 » Tue Dec 20, 2022 10:39 pm

Output of lspci -nnk

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers [8086:9b44] (rev 02)
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd 10th Gen Core Processor Host Bridge/DRAM Registers [1458:1520]
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 02)
        Subsystem: Gigabyte Technology Co., Ltd 6th-10th Gen Core Processor PCIe Controller (x16) [1458:1520]
        Kernel driver in use: pcieport
00:12.0 Signal processing controller [1180]: Intel Corporation Comet Lake PCH Thermal Controller [8086:06f9]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH Thermal Controller [1458:1520]
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller [8086:06ed]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake USB 3.1 xHCI Host Controller [1458:1520]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH Shared SRAM [8086:06ef]
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Comet Lake PCH Shared SRAM [8086:7270]
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0 [8086:06e8]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH Serial IO I2C Controller [1458:1520]
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1 [8086:06e9]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH Serial IO I2C Controller [1458:1520]
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Comet Lake HECI Controller [8086:06e0]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake HECI Controller [1458:1520]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1b.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #17 [8086:06c0] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port [1458:1520]
        Kernel driver in use: pcieport
00:1b.2 PCI bridge [0604]: Intel Corporation Device [8086:06c2] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:1520]
        Kernel driver in use: pcieport
00:1b.3 PCI bridge [0604]: Intel Corporation Device [8086:06c3] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:1520]
        Kernel driver in use: pcieport
00:1b.4 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #21 [8086:06ac] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port [1458:1520]
        Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #9 [8086:06b0] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port [1458:1520]
        Kernel driver in use: pcieport
00:1d.4 PCI bridge [0604]: Intel Corporation Device [8086:06b4] (rev f0)
        Subsystem: Gigabyte Technology Co., Ltd Device [1458:1520]
        Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Comet Lake LPC Controller [8086:068d]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake LPC Controller [1458:1520]
00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH cAVS [8086:06c8]
        DeviceName: Onboard - Sound
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH cAVS [1458:1520]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH SMBus Controller [8086:06a3]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH SMBus Controller [1458:1520]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller [8086:06a4]
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH SPI Controller [1458:1520]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:249d] (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd GA104M [GeForce RTX 3070 Mobile / Max-Q] [1458:1520]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
        Subsystem: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a]
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
        Subsystem: Gigabyte Technology Co., Ltd RTL8125 2.5GbE Controller [1458:1520]
        Kernel driver in use: r8169
        Kernel modules: r8169
04:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
        Subsystem: Intel Corporation Wi-Fi 6 AX200NGW [8086:0084]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
05:00.0 Non-Volatile memory controller [0108]: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive [1cc1:8201] (rev 03)
        Subsystem: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive [1cc1:8201]
        Kernel driver in use: nvme
        Kernel modules: nvme
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
        Subsystem: Samsung Electronics Co Ltd SSD 970 EVO Plus 1TB [144d:a801]
        Kernel driver in use: nvme
        Kernel modules: nvme
Output of lsusb

Code: Select all

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 13d3:56a2 IMC Networks USB2.0 HD UVC WebCam
Bus 001 Device 003: ID 046d:c33f Logitech, Inc. G815 Mechanical Keyboard
Bus 001 Device 002: ID 046d:c092 Logitech, Inc. G102/G203 LIGHTSYNC Gaming Mouse
Bus 001 Device 006: ID 1044:7a3f Chu Yuen Enterprise Co., Ltd USB-HID Keyboard
Bus 001 Device 005: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg link: https://pastebin.com/3vnM3Upr
config link (from /proc/config.gz): https://pastebin.com/hU4Ytivw

Thank you for your help
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Dec 20, 2022 11:27 pm

kukus888,

The touchpad is not on the PCI bus. I don't think its on USB either as

Code: Select all

 Bus 001 Device 006: ID 1044:7a3f Chu Yuen Enterprise Co., Ltd USB-HID Keyboard
appears to be a keyboard.

That leaves ACPI which is becoming more popular.

Code: Select all

# CONFIG_I2C_HID_ACPI is not set
is needed in your kernel if its an ACPI enumerated device.

Use the config tool of you choice to turn that option on. A module will work, then rebuild and reinstall your kernel.
Your running kernel is

Code: Select all

 [    0.000000] Linux version 5.15.80-gentoo-x86_64 (root@kukus) (x86_64-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0, GNU ld (Gentoo 2.38 p4) 2.38) #1 SMP Tue Dec 20 21:40:39 CET 2022
The important bit there is

Code: Select all

Tue Dec 20 21:40:39 CET 2022
which is the build time of the running kernel.

After the reboot, run

Code: Select all

uname -a
and check that the running kernel is newer.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
kukus888
n00b
n00b
Posts: 3
Joined: Tue Dec 20, 2022 9:50 pm

  • Quote

Post by kukus888 » Wed Dec 21, 2022 6:44 pm

Okay, I successfully reconfigured the kernel and the touchpad works normally now. Thank you so much!

Code: Select all

$ uname -a
Linux kukus 5.15.80-gentoo-x86_64 #2 SMP Wed Dec 21 11:58:09 CET 2022 x86_64 Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz GenuineIntel GNU/Linux
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy