Keyboard and mouse not working after upgrade

Hello everyone,
I was running Manjaro with KDE for sometime. When I did a full upgrade recently, the inbuilt keyboard and mouse stopped working. Can use external keyboard and mouse.
After hours of trying to find a solution, reinstalled v20.0.3 and it worked fine. When I did the full upgrade it stopped working.
It’s an acer laptop. The recommended solution I found is to change the touchpad setting in BIOS from “Advanced” to “Basic”. But I can’t find that setting in BIOS.

Here are the outputs of,

s6@manjaro-acer ~]$ inxi -Fxxxza --no-host
System:    Kernel: 5.7.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=a1608947-5cbd-48ff-b3ee-59ad86d00ac5 rw quiet apparmor=1 
           security=apparmor udev.log_priority=3 
           Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Aspire E5-511 v: V1.02 serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Acer model: Aspire E5-511 v: V1.02 serial: <filter> UEFI: Acer v: 1.02 date: 04/14/2014 
Battery:   ID-1: BAT1 charge: 43.9 Wh condition: 51.5/55.9 Wh (92%) volts: 12.2/11.1 model: SANYO PABAS0241231 type: Li-ion 
           serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: Intel Pentium N3530 bits: 64 type: MCP arch: Silvermont family: 6 model-id: 37 (55) 
           stepping: 8 microcode: 838 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17343 
           Speed: 555 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 500 2: 500 3: 826 4: 772 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass status: Not affected 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: Acer Incorporated ALI driver: i915 
           v: kernel bus ID: 00:02.0 chip ID: 8086:0f31 
           Device-2: Chicony type: USB driver: uvcvideo bus ID: 1-1.4:4 chip ID: 04f2:b455 
           Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: intel unloaded: modesetting alternate: fbdev,vesa 
           display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") s-diag: 414mm (16.3") 
           Monitor-1: eDP1 res: 1366x768 hz: 60 dpi: 99 size: 350x190mm (13.8x7.5") diag: 398mm (15.7") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 20.1.5 compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio vendor: Acer Incorporated ALI 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:0f04 
           Sound Server: ALSA v: k5.7.15-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 
           v: kernel port: 1000 bus ID: 01:00.1 chip ID: 10ec:8168 
           IF: enp1s0f1 state: down mac: <filter> 
           Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Foxconn driver: ath9k v: kernel 
           port: 1000 bus ID: 02:00.0 chip ID: 168c:0036 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 40.47 GiB (4.3%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-22JC3T0 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 3.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: GPT 
Partition: ID-1: / raw size: 60.00 GiB size: 58.81 GiB (98.01%) used: 8.40 GiB (14.3%) fs: ext4 dev: /dev/sda7 
           ID-2: /home raw size: 419.78 GiB size: 412.19 GiB (98.19%) used: 32.05 GiB (7.8%) fs: ext4 dev: /dev/sda8 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8.00 GiB used: 5.4 MiB (0.1%) priority: -2 dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 39.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 186 Uptime: 36m Memory: 3.73 GiB used: 1.61 GiB (43.1%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           Packages: pacman: 1185 lib: 318 flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

[s6@manjaro-acer ~]$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

[s6@manjaro-acer ~]$ cat /etc/X11/xorg.conf.d/*.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection
Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
EndSection

Any help is appreciated.

Addition to the above,
Tried different kernel and has the same issue.
I also have Win10 as dual boot, and both keyboard/mouse works fine.
When I boot to Manjaro, it works until I select options in grub.
Also works in tty.

Which different kernel did you try?

Do you have this issue on any other versions of Manjaro?

Which different kernel did you try?

Tried kernel 4.19.

Do you have this issue on any other versions of Manjaro?

Started with 20.0.3 in this computer. The live usb says - manjaro-kde-20.0.3-200606
Once I install this, it works fine out of the box, but after a full upgrade both keyboard/mouse stops working.

Try this

https://bbs.archlinux.org/viewtopic.php?id=204564

Checked this, it didn’t help with my issue.

Having exact same issue with HP Pavilion 11 x360 and manjaro-lxqt-20.0-minimal-200423-linux56

inxi output:

System:    Kernel: 5.7.17-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
          parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=3cd69c67-0932-4203-b658-63f06258d855 rw quiet 
          cryptdevice=UUID=710a3c05-4cb3-4722-9173-88803727f1b9:luks-710a3c05-4cb3-4722-9173-88803727f1b9 
          root=/dev/mapper/luks-710a3c05-4cb3-4722-9173-88803727f1b9 udev.log_priority=3 
          Desktop: LXQt 0.15.1 tk: Qt 5.15.0 info: lxqt-panel wm: Openbox 3.6.1 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion 11 x360 PC v: 0976100001405F00010420180 serial: <filter> 
          Chassis: type: 10 serial: <filter> 
          Mobo: Hewlett-Packard model: 2209 v: 57.57 serial: <filter> UEFI: Insyde v: F.30 date: 03/13/2018 
Battery:   ID-1: BAT1 charge: 19.2 Wh condition: 19.2/29.0 Wh (66%) volts: 8.6/7.6 model: COMPAL PABAS0241231 type: Li-ion 
          serial: <filter> status: Full 
CPU:       Topology: Quad Core model: Intel Pentium N3530 bits: 64 type: MCP arch: Silvermont family: 6 model-id: 37 (55) 
          stepping: 8 microcode: 838 L2 cache: 1024 KiB 
          flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17343 
          Speed: 500 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 500 2: 500 3: 959 4: 1029 
          Vulnerabilities: Type: itlb_multihit status: Not affected 
          Type: l1tf status: Not affected 
          Type: mds mitigation: Clear CPU buffers; SMT disabled 
          Type: meltdown mitigation: PTI 
          Type: spec_store_bypass status: Not affected 
          Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
          Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
          Type: srbds status: Not affected 
          Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: Hewlett-Packard driver: i915 
          v: kernel bus ID: 00:02.0 chip ID: 8086:0f31 
          Device-2: Suyin HP Truevision HD type: USB driver: uvcvideo bus ID: 1-3:2 chip ID: 064e:c342 serial: <filter> 
          Display: x11 server: X.org 1.20.8 compositor: compton driver: intel unloaded: modesetting alternate: fbdev,vesa 
          resolution: <xdpyinfo missing> 
          Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio vendor: Hewlett-Packard 
          driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:0f04 
          Sound Server: ALSA v: k5.7.17-2-MANJARO 
Network:   Device-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe vendor: Hewlett-Packard driver: rt2800pci v: 2.3.0 port: 2000 
          bus ID: 02:00.0 chip ID: 1814:3290 
          IF: wlp2s0f0 state: down mac: <filter> 
          Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 1000 
          bus ID: 04:00.0 chip ID: 10ec:8136 
          IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 4.49 GiB (1.0%) 
          SMART Message: Required tool smartctl not installed. Check --recommends 
          ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB block size: physical: 4096 B 
          logical: 512 B speed: 3.0 Gb/s rotation: 5400 rpm serial: <filter> rev: YAM1 scheme: GPT 
Partition: ID-1: / raw size: 399.00 GiB size: 391.74 GiB (98.18%) used: 4.49 GiB (1.1%) fs: ext4 dev: /dev/dm-0 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 43.0 C mobo: 39.0 C 
          Fan Speeds (RPM): N/A 
Info:      Processes: 155 Uptime: 2h 23m Memory: 7.67 GiB used: 970.8 MiB (12.4%) Init: systemd v: 246 Compilers: gcc: N/A 
          Packages: pacman: 667 lib: 159 Shell: Zsh v: 5.8 running in: qterminal inxi: 3.1.05 

Same issue here.
External mouse and keyboard work and I can manipulate the system through SSH but the builtin keyboard and trackpad yield no response. This has persisted through at least one kernel upgrade I pushed with system updates over SSH “pacman -Syu.”

inxi output below

System:
Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64
root=UUID=30355cc2-f66b-49f5-9cb2-76e3b4496065 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Console: tty 2 DM: LightDM 1.30.0, SDDM Distro: Manjaro Linux
Machine:
Type: Laptop System: ASUSTeK product: UX390UAK v: 1.0 serial:
Mobo: ASUSTeK model: UX390UAK v: 1.0 serial:
UEFI: American Megatrends v: UX390UAK.312 date: 04/25/2017
Battery:
ID-1: BAT0 charge: 33.3 Wh condition: 34.2/40.0 Wh (86%) volts: 7.7/7.7
model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Charging
cycles: 124
CPU:
Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP
arch: Amber Lake family: 6 model-id: 8E (142) stepping: 9 microcode: D6
L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 23209
Speed: 900 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 860 2: 900 3: 857
4: 901
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
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: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:5916
Device-2: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
bus ID: 1-5:2 chip ID: 13d3:5755 serial:
Display: server: X dot org 1.20.9 compositor: kwin_x11 driver: intel
unloaded: modesetting alternate: fbdev,vesa tty: 238x119
Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3
chip ID: 8086:9d71
Sound Server: ALSA v: k5.8.11-1-MANJARO
Network:
Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel port: f040
bus ID: 02:00.0 chip ID: 8086:24f3
IF: wlp2s0 state: up mac:
Drives:
Local Storage: total: 476.94 GiB used: 58.24 GiB (12.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB block size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial:
rev: 57XA4104 scheme: GPT
Partition:
ID-1: / raw size: 476.40 GiB size: 467.92 GiB (98.22%)
used: 23.20 GiB (5.0%) fs: ext4 dev: /dev/nvme0n1p2
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3400
Info:
Processes: 192 Uptime: 12m Memory: 15.52 GiB used: 1.08 GiB (6.9%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1370 lib: 404
flatpak: 0 Shell: Bash v: 5.0.18 running in: tty 2 (SSH) inxi: 3.1.05

See here for a workaround:

No luck with editing xorg config. Tried switching to KDE and still no keyboard/touchpad on any kernel other that 5.6.15

Please run timeout 3 libinput debug-events on a kernel (preferably a still supported one: 5.4 or 5.8) where it doesn’t work and post the output.

Kernel 5.6.15-1:

[manjarox360 ~]# timeout 5 libinput debug-events
-event2   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event11  DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED     Power Button                      seat0 default group3  cap:k
-event1   DEVICE_ADDED     Lid Switch                        seat0 default group4  cap:S
-event17  DEVICE_ADDED     HP Truevision HD: HP Truevision   seat0 default group5  cap:k
-event8   DEVICE_ADDED     ELAN0732:00 04F3:0358             seat0 default group6  cap:t  size 251x143mm ntouches 10 calib
-event5   DEVICE_ADDED     Intel Virtual Button driver       seat0 default group7  cap:kS
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group8  cap:k
-event16  DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group9  cap:pg  size 98x58mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event12  DEVICE_ADDED     HP WMI hotkeys                    seat0 default group10 cap:kS
-event4   DEVICE_ADDED     HP Wireless hotkeys               seat0 default group11 cap:k
-event3   KEYBOARD_KEY     +0.000s      *** (-1) pressed
  event3   KEYBOARD_KEY     +0.122s     *** (-1) released
 event3   KEYBOARD_KEY     +0.429s      *** (-1) pressed
s event3   KEYBOARD_KEY     +0.564s     *** (-1) released
 event3   KEYBOARD_KEY     +1.520s      *** (-1) pressed
q event3   KEYBOARD_KEY     +1.632s     *** (-1) released
-event16  POINTER_MOTION   +4.495s       -0.65/ -0.19 ( -5.00/ -1.44)
 event16  POINTER_MOTION   +4.505s       -1.84/ -0.66 ( -8.00/ -2.89)
 event16  POINTER_MOTION   +4.516s       -2.87/ -1.38 (-12.00/ -5.77)
 event16  POINTER_MOTION   +4.526s       -2.63/ -1.04 (-11.00/ -4.33)
 event16  POINTER_MOTION   +4.536s       -1.68/ -1.21 ( -7.00/ -5.05)
 event16  POINTER_MOTION   +4.546s       -0.23/ -0.16 ( -1.00/ -0.72)
 event16  POINTER_MOTION   +4.557s       -0.17/ -0.24 ( -1.00/ -1.44)
 event16  POINTER_MOTION   +4.567s        0.92/ -0.66 ( +4.00/ -2.89)
 event16  POINTER_MOTION   +4.577s        3.83/ -1.38 (+16.00/ -5.77)
 event16  POINTER_MOTION   +4.587s        7.18/ -2.93 (+30.00/-12.26)
 event16  POINTER_MOTION   +4.598s       11.97/ -3.28 (+50.00/-13.70)
 event16  POINTER_MOTION   +4.608s       16.74/ -4.97 (+68.00/-20.20)

Kernel 5.8.6-1-MANJARO:

[manjarox360 ~]# timeout 3 libinput debug-events
-event2   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event13  DEVICE_ADDED     Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED     Power Button                      seat0 default group3  cap:k
-event1   DEVICE_ADDED     Lid Switch                        seat0 default group4  cap:S
-event17  DEVICE_ADDED     HP Truevision HD: HP Truevision   seat0 default group5  cap:k
-event18  DEVICE_ADDED     Telink Wireless Receiver Mouse    seat0 default group6  cap:p left scroll-nat scroll-button
-event19  DEVICE_ADDED     Telink Wireless Receiver Consumer Control seat0 default group6  cap:kp scroll-nat
-event20  DEVICE_ADDED     Telink Wireless Receiver System Control seat0 default group6  cap:k
-event21  DEVICE_ADDED     Telink Wireless Receiver          seat0 default group6  cap:k
-event8   DEVICE_ADDED     ELAN0732:00 04F3:0358             seat0 default group7  cap:t  size 251x143mm ntouches 10 calib
-event5   DEVICE_ADDED     Intel Virtual Button driver       seat0 default group8  cap:kS
 event5   SWITCH_TOGGLE    +0.000s      switch tablet-mode state 1
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default group9  cap:k
-event12  DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group10 cap:pg  size 98x58mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event11  DEVICE_ADDED     HP WMI hotkeys                    seat0 default group11 cap:kS
-event4   DEVICE_ADDED     HP Wireless hotkeys               seat0 default group12 cap:k

Looks like after updating to 5.4.80-2, this issue has been resolved!

The problem was this. Some drivers erroneously report that the device is in tablet mode, which causes libinput to ignore touchpad and internal keyboard events.