Touchpad Left-Click button switching to Right-Click

Hello All,
I am using KDE Manjaro on a budget laptop (KUU K2S, based on Intel Celeron J4115). After installation and Wifi driver adjustment, almost everything works fine.
The worst annoyance is that its touchpad left button, randomly but anyway after short use, starts behaving as a left-button (and I have to revert to the touchpad click to have left-click effect, with click and hold of course not available).
If I logout/login back, it goes back to normality (and fails again after some time), hence I guess it is not hardware-related.

Would anybody have any hint? Should I list any reporting?

Thank you!

What is your system information from inxi -Fazy?

Perhaps the touchpad driver is the issue.

Anyway, also try left button click by a single finger click on the touchpad. And also try right button click by 2 fingers click on the touchpad. See if using finger click works.

Thanks - here’s the output:

System:
  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
    root=UUID=fb9fcbd0-c8d8-4413-8797-8657399250dd rw quiet
    udev.log_priority=3 pci=noaer
  Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop Mobo: N/A model: N/A serial: <superuser required>
    UEFI: American Megatrends v: G13GR100_8G_R4 date: 04/29/2020
Battery:
  ID-1: BAT0 charge: 38.0 Wh (100.0%) condition: 38.0/N/A Wh volts: 7.6
    min: N/A model: N/A type: Unknown serial: <filter> status: Discharging
CPU:
  Info: model: Intel Celeron J4115 bits: 64 type: MCP arch: Goldmont Plus
    family: 6 model-id: 0x7A (122) stepping: 1 microcode: 0x36
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 990 high: 1358 min/max: 800/2500 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 866 2: 981 3: 757
    4: 1358 bogomips: 14288
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown mitigation: PTI
  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: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel GeminiLake [UHD Graphics 600] driver: i915 v: kernel
    bus-ID: 00:02.0 chip-ID: 8086:3185 class-ID: 0300
  Device-2: Realtek USB 2.0 Camera type: USB driver: uvcvideo bus-ID: 1-8:4
    chip-ID: 0bda:0561 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
    loaded: modesetting alternate: fbdev,vesa 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: 60 dpi: 158
    size: 309x174mm (12.2x6.9") diag: 355mm (14")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_apl
    bus-ID: 00:0e.0 chip-ID: 8086:3198 class-ID: 0403
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtl8821ce v: N/A modules: rtw88_8821ce,8821ce port: e000
    bus-ID: 01:00.0 chip-ID: 10ec:c821 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-7:3 chip-ID: 0bda:c821 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 238.47 GiB used: 37.96 GiB (15.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Smart Modular Tech.
    model: ShanDianZhe-256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 6A0
    scheme: GPT
Partition:
  ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%)
    used: 37.96 GiB (16.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 232 Uptime: 17m wakeups: 1 Memory: 7.59 GiB
  used: 2.55 GiB (33.5%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 1343 lib: 355 Shell: Zsh v: 5.8 default: Bash
  v: 5.1.12 running-in: yakuake inxi: 3.3.11

Clicking on the touchpad does work, but is not that handy especially when you need to click and hold in order to drag things around.

Doesn’t see any issue with your system.

When your touchpad problem starts, check “System Settings → Input Devices → Touchpad” if the Left handed mode is selected. This is maybe the issue.

Thanks, but checked and no, that is not the case.
However, your feedback help me realize my device is a HTIX5288, for the records, and it seems to produce issue every here and there with Linux distros.
I have then installed the libinput-gestures package, which as far as I understand allows the libinput driver to also handle gestures - let me see if it works out.

No way - the problem still persists.

do you have a touchpad.conf file in /etc/X11/xorg.conf.d/??

here’s mine:

    ~  cat /etc/X11/xorg.conf.d/30-touchpad.conf                                             1 ✘ 
Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
EndSection

Yes, I have. Here it is:

Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
EndSection

It seems like exactly the same to me