Touchpad not detected (sometimes)

Hi. I have an issue with Manjaro that I don’t have with any other distro: My touchpad is randomly not detected. Most of the times I boot my laptop it works, but 1 out of 5 times or so it isn’t detected. Usually I just reboot and it works again, but its really annoying having to reboot every time it happens. I’ve noted the output of xinput list for the cases when my touchpad is working and cases when it isn’t:

xinput list (touchpad working)

 Virtual core pointer                    	id=2	[master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                       	id=10	[slave  pointer  (2)]
    ⎜   ↳ ELAN0501:00 04F3:3060 Mouse             	id=12	[slave  pointer  (2)]
    ⎜   ↳ ELAN0501:00 04F3:3060 Touchpad          	id=13	[slave  pointer  (2)]
    ⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Acer Wireless Radio Control             	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ HD WebCam: HD WebCam                    	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=15	[slave  keyboard (3)]

xinput list (when touchpad is not working)

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                       	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Acer Wireless Radio Control             	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ HD WebCam: HD WebCam                    	id=11	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=13	[slave  keyboard (3)]

It is just weird that without changing anything sometimes it is detected and sometimes it isn’t.
What can I do to solve it? Is there at least a command or something I can run to ‘restart’ the touchpad without rebooting?

inxi -Fazy

System:
  Kernel: 5.4.80-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64
  root=UUID=e34de793-0b8e-4c5b-bf7a-444278fc0c6e rw idle=nomwait quiet
  acpi_backlight=vendor apparmor=1 security=apparmor
  resume=UUID=1a7a582b-aab3-4ef4-b7c9-875815a9bc92 udev.log_priority=3
  Desktop: i3 4.19 info: polybar dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
  Type: Laptop System: Acer product: Swift SF315-41 v: V2.12 serial: <filter>
  Chassis: type: 10 serial: <filter>
  Mobo: RR model: Becks_RR v: V2.12 serial: <filter> UEFI: Insyde v: 2.12
  date: 10/25/2018
Battery:
  ID-1: BAT0 charge: 32.2 Wh condition: 32.7/48.9 Wh (67%) volts: 16.8/15.2
  model: AC14B8K type: Li-ion serial: N/A status: Charging
CPU:
  Info: Quad Core model: AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx
  bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 11 (17)
  stepping: N/A microcode: 8101007 L2 cache: 2048 KiB
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  bogomips: 35145
  Speed: 1372 MHz min/max: 1600/2200 MHz boost: enabled Core speeds (MHz):
  1: 1370 2: 1368 3: 1371 4: 1375 5: 1443 6: 1402 7: 1369 8: 1371
  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: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
  vendor: Acer Incorporated ALI driver: amdgpu v: kernel bus ID: 02:00.0
  chip ID: 1002:15dd
  Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus ID: 3-1:2
  chip ID: 04f2:b5f7
  Display: x11 server: X.Org 1.20.10 compositor: compton driver: amdgpu,ati
  unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
  s-diag: 1055mm (41.5")
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6")
  diag: 395mm (15.5")
  Monitor-2: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 94
  size: 521x293mm (20.5x11.5") diag: 598mm (23.5")
  OpenGL: renderer: AMD Radeon Vega 3 Graphics (RAVEN DRM 3.35.0
  5.4.80-2-MANJARO LLVM 11.0.0)
  v: 4.6 Mesa 20.2.3 direct render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
  bus ID: 02:00.1 chip ID: 1002:15de
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
  vendor: Acer Incorporated ALI driver: N/A alternate: snd_pci_acp3x
  bus ID: 02:00.5 chip ID: 1022:15e2
  Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI
  driver: snd_hda_intel v: kernel bus ID: 02:00.6 chip ID: 1022:15e3
  Sound Server: ALSA v: k5.4.80-2-MANJARO
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
  vendor: Lite-On driver: ath10k_pci v: kernel bus ID: 01:00.0
  chip ID: 168c:003e
  IF: wlp1s0 state: up mac: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 27.32 GiB (5.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda vendor: Micron model: 1100 MTFDDAV512TBN size: 476.94 GiB
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter>
  rev: A020 scheme: GPT
Partition:
  ID-1: / raw size: 229.79 GiB size: 225.18 GiB (97.99%)
  used: 27.25 GiB (12.1%) fs: ext4 dev: /dev/sda5
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default)
  ID-1: swap-1 type: partition size: 4.00 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/sda6
Sensors:
  System Temperatures: cpu: 63.8 C mobo: N/A gpu: amdgpu temp: 63.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 220 Uptime: 14m Memory: 6.76 GiB used: 1.04 GiB (15.3%)
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1202 lib: 295
  Shell: Zsh v: 5.8 running in: alacritty inxi: 3.1.08

Thanks in beforehand!

Update: tried kernel 5.4. The problem persists.

uname -r

5.4.80-2-MANJARO

Hi. Have you tried with another kernel?

Also did you use the search option? It contains 48 results:
https://forum.manjaro.org/search?q=Touchpad%20not%20detected

and this is always important:

Thank you for your answer!

I haven’t tried another kernel, so I’ll give it a try. I’m now using kernel 5.4.80-2-MANJARO (I was previously using 5.8.18-1-MANJARO ). For now the problem is gone. Hopefully it won’t show up again.

Regarding the similar questions: yes, I checked some, but I didn’t find something similar to my case, I mean, my touchpad does work most of the time, unlike theirs, so that’s why I decided to post my case.