Asus vivobook S5402ZA keyboard is not working

Hello,
I have Asus vivobook S5402ZA laptop with a fresh Fedora 36 installation, updated to the latest version.
The touch pad and hotkeys are working but the main laptop keyboard is not working.
Can someone please have a look?

$ inxi -FzxJ
System:
  Kernel: 5.18.10-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36 Desktop: GNOME v: 42.3.1
    Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop S5402ZA_S5402ZA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: S5402ZA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: S5402ZA.305 date: 04/26/2022
Battery:
  ID-1: BAT0 charge: 46.1 Wh (66.0%) condition: 69.9/70.2 Wh (99.6%)
    volts: 11.7 min: 11.9 model: SMP K340258 status: discharging
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860
    charge: 100% (should be ignored) status: discharging
  Device-2: hidpp_battery_1
    model: Logitech MX Vertical Advanced Ergonomic Mouse
    charge: 55% (should be ignored) status: discharging
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 809 high: 1200 min/max: 400/4679:4700:3500 cores:
    1: 842 2: 683 3: 974 4: 730 5: 505 6: 723 7: 521 8: 749 9: 1121 10: 750
    11: 1114 12: 542 13: 632 14: 840 15: 738 16: 743 17: 662 18: 1012
    19: 1100 20: 1200 bogomips: 107520
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen12.2 bus-ID: 0000:00:02.0
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 3-2:3
  Device-3: Generic HD camera type: USB driver: usb-storage
    bus-ID: 3-3.2.2:9
  Display: wayland server: X.Org v: 1.22.1.2 with: Xwayland v: 22.1.2
    compositor: gnome-shell driver: gpu: i915 resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.1.3
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: ASUSTeK
    driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3
  Sound Server-1: ALSA v: k5.18.10-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3
  IF: wlo1 state: up mac: <filter>
  Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a
    bus-ID: 2-1.3:3
  IF: enp0s13f0u1u3 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:6
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 bus-ID: 0000:00:0e.0
Drives:
  Local Storage: total: 476.94 GiB used: 4.02 GiB (0.8%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2450 MTFDKBA512TFK
    size: 476.94 GiB temp: 36.9 C
Partition:
  ID-1: / size: 475.35 GiB used: 3.81 GiB (0.8%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 204.3 MiB (21.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 14 MiB (2.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 3.81 GiB (0.8%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1
  Hub-3: 2-1:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.2
  Device-1: 2-1.3:3 info: ASIX AX88179 Gigabit Ethernet type: Network
    driver: ax88179_178a rev: 3.2
  Hub-4: 3-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
  Device-1: 3-1:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid rev: 2.0
  Device-2: 3-2:3 info: IMC Networks USB2.0 HD UVC WebCam type: Video
    driver: uvcvideo rev: 2.0
  Hub-5: 3-3:4 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1
  Hub-6: 3-3.2:7 info: Terminus USB 2.0 Hub ports: 4 rev: 2.0
  Device-1: 3-3.2.1:8 info: Logitech Unifying Receiver
    type: Keyboard,Mouse,HID driver: logitech-djreceiver,usbhid rev: 2.0
  Device-2: 3-3.2.2:9 info: Generic HD camera type: Mass Storage
    driver: usb-storage rev: 2.0
  Device-3: 3-8:5
    info: Realtek USB2.0 Finger Print Bridge FocalTech Fingerprint Device
    type: <vendor specific> driver: N/A rev: 2.0
  Device-4: 3-10:6 info: Intel AX201 Bluetooth type: Bluetooth
    driver: btusb rev: 2.0
  Hub-7: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 405 Uptime: 12m Memory: 15.15 GiB used: 2.71 GiB (17.9%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 Packages: N/A
  note: see --pkg Shell: Bash v: 5.1.16 inxi: 3.3.19

I don’t have an answer, but I have a suggestion
1.Try booting to a live CD of something and seeing whether the keyboard works with it. If it does, it positively narrows the problem to your software install.
2. Did you try with an external keyboard for your laptop? If that works, then I believe the problem is with hardware,

The keyboard is working in the bios self diagnosis and worked in windows 11

Can you post the output of:
sudo libinput list-devices

If it contains, Intel Virtual Buttons
Can you check and see if : sudo rmmod intel_vbtn
gets the keyboard working.

If that works,

echo blacklist intel_vbtn | sudo tee /etc/modprobe.d/intel_vbtn.conf

will make that permanent.

Device:           Video Bus
Kernel:           /dev/input/event6
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event0
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 HD UVC WebCam: USB2.0 HD
Kernel:           /dev/input/event7
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Logitech MK700
Kernel:           /dev/input/event3
Group:            5
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Logitech M705
Kernel:           /dev/input/event2
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ASUE120B:00 04F3:31C0 Mouse
Kernel:           /dev/input/event4
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ASUE120B:00 04F3:31C0 Touchpad
Kernel:           /dev/input/event5
Group:            7
Seat:             seat0, default
Size:             125x72mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event8
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Can you check the output of:
journalctl -g 'i8042' -b

Wondering if it’s something similar to, ASUS Zenbook UM425 - ArchWiki

thanks

Hey joe,
Thanks for trying to help me, i have switched to other operating system.