Touchpad does not work many times on boot

Hello
I have been using Garuda, everything is excellent except that half the times I boot my laptop trackpad is disabled and the only way to fix it is to reboot completely. This issue used to occur on Manjaro too, however it was less seen there.

inxi -Fzza

System:    Kernel: 5.10.15-120-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
           root=UUID=f2947d3f-0ce7-4b11-8892-ceb656679574 rw [email protected] quiet splash rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux 
Machine:   Type: Laptop System: ASUSTeK product: TUF Gaming FX505DD_FX505DD v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: FX505DD v: 1.0 serial: <filter> UEFI: American Megatrends v: FX505DD.315 date: 09/22/2020 
Battery:   ID-1: BAT0 charge: 42.3 Wh condition: 42.3/50.6 Wh (84%) volts: 12.6/12.3 model: FX50442 type: Li-ion serial: N/A 
           status: Full 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter> charge: 55% (should be ignored) 
           rechargeable: yes status: Discharging 
CPU:       Info: Quad Core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen/Zen+ 
           note: check family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33575 
           Speed: 3156 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 3156 2: 3200 3: 3205 4: 3196 5: 3220 
           6: 3219 7: 3133 8: 3202 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia v: 460.39 alternate: nouveau,nvidia_drm 
           bus ID: 01:00.0 chip ID: 10de:1c91 class ID: 0300 
           Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0 
           chip ID: 1002:15d8 class ID: 0300 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus ID: 3-1:2 chip ID: 13d3:56a2 
           class ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: modesetting,nvidia display ID: :0 
           screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 120 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0 5.10.15-120-tkg-bmq LLVM 11.0.1) v: 4.6 Mesa 20.3.4 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 05:00.6 chip ID: 1022:15e3 class ID: 0403 
           Device-2: GN Netcom Jabra EVOLVE 20 MS type: USB driver: jabra,snd-usb-audio,usbhid bus ID: 1-3:3 
           chip ID: 0b0e:0300 class ID: 0300 serial: <filter> 
           Sound Server: ALSA v: k5.10.15-120-tkg-bmq 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 02:00.0 chip ID: 10ec:8168 class ID: 0200 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: AzureWave driver: rtw_8822be v: N/A 
           modules: rtw88_8822be port: d000 bus ID: 04:00.0 chip ID: 10ec:b822 class ID: 0280 
           IF: wlp4s0 state: up mac: <filter> 
Bluetooth: Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8 bus ID: 1-4:2 chip ID: 13d3:3526 
           class ID: e001 serial: <filter> 
           Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 1.14 TiB used: 339.12 GiB (29.0%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN520 SDAPNUW-256G-1002 size: 238.47 GiB 
           block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 rotation: SSD serial: <filter> rev: 20110000 
           temp: 40.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: SDM4 scheme: GPT 
Partition: ID-1: / raw size: 237.99 GiB size: 237.99 GiB (100.00%) used: 110.03 GiB (46.2%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-2: /boot/efi raw size: 500 MiB size: 499 MiB (99.80%) used: 73.2 MiB (14.7%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 
           ID-3: /home raw size: 237.99 GiB size: 237.99 GiB (100.00%) used: 110.03 GiB (46.2%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-4: /var/log raw size: 237.99 GiB size: 237.99 GiB (100.00%) used: 110.03 GiB (46.2%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-5: /var/tmp raw size: 237.99 GiB size: 237.99 GiB (100.00%) used: 110.03 GiB (46.2%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-2: swap-2 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
           ID-3: swap-3 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2 
           ID-4: swap-4 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3 
           ID-5: swap-5 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4 
           ID-6: swap-6 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5 
           ID-7: swap-7 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6 
           ID-8: swap-8 type: zram size: 931 MiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7 
Sensors:   System Temperatures: cpu: 52.4 C mobo: N/A gpu: amdgpu temp: 52.0 C 
           Fan Speeds (RPM): cpu: 2800 
Info:      Processes: 305 Uptime: 4m wakeups: 3 Memory: 7.27 GiB used: 3.21 GiB (44.1%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1782 lib: 539 Shell: Zsh v: 5.8 running in: konsole inxi: 3.3.01 

sudo journalctl -b

sudo journalctl -b

xinput

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Wireless Mouse                   id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control               id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD           id=11   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=13   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ GN Netcom A/S Jabra EVOLVE 20 MS          id=15   [slave  keyboard (3)]

Would appreciate any help

Hi,

According to modprobe your touchpad driver is ELAN1200:00 04F3.
Possible solutions:

sudo pacman -S xf86-input-synaptics

than

solution 1 (source):
Creating file /etc/modprobe.d/elan.conf with

elantech_smbus=0 synaptics_intertouch=0

solution 2 (source):
Delete the previous /etc/modprobe.d/elan.conf
Create a script **/ lib / systemd / system-sleep / touchpadwakeup

#!/bin/sh
case $1 in
post)
rmmod i2c_hid
modprobe i2c_hid
;;
esac

and make it executable with:

sudo chmod +x /lib/systemd/system-sleep/touchpadwakeup

3 Likes

I did solution 1, marking it as a solution, hopefully it works.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.