My laptop keyboard is working fine with windows but it is not working with Ubuntu 20.04 or 22.04

kumarprabhakar2121

New Member
Joined
Jun 24, 2022
Messages
1
Reaction score
0
Credits
15
I have ASUS Vivobook S14 ( S3402ZA-KM501WS) OLED (2022) Intel EVO Core i5 12th Gen - (16 GB/512 GB SSD)

It came with windows 11 and the keyboard was working fine.

However, when I installed Ubuntu 22.04, the keyboard stopped working.
I even tried the ubuntu 20.04 but still no luck. (external keyboard is working.)

The laptop keyboard still not working.
Is there a way I can use my laptop keyboard?

Laptop Link: https://www.flipkart.com/asus-vivob...OMGCG2GXGJGEYUW&lid=LSTCOMGCG2GXGJGEYUWI64YYF
 


Asus keyboard problems are common and varied
first thing to try is save all work, disconnect ext keyboard, press and hold the power button in for 60 seconds to force a bios re-boot
 
I have the almost same model, just i7 instead of i5. I have the same problem, after installation, keyboard doesn't work even in grub. But After doing a bios re-boot, keyboard works atleast in the grub. After that, only Fn+(F4, F5, F6) work. I have seen many threads like this for many distros like Manjaro, etc, and I have tried atleast 5-7 different distros, like Ubuntu, Manjaro, Deepin, Mate, etc, and solutions suggested for them related to i8042, asus_wmi_hotkeys, etc, but none of them work.
 
Same problem with the 15 inch model. Some hotkeys work fine, but most of the keyboard doesn't do anything. It works fine in the bootloader menu, though.
 
Anecdotal: I have a HP 15-dw0046nr laptop, from around 2020. My Fn-F2 (brightness down) and Fn-F3 (brightness up) keys do not function in Linux. See this thread to see various options that did not work for me, but could work for you. Another option that I haven't attempted yet is to update my BIOS.
 
Anecdotal: I have a HP 15-dw0046nr laptop, from around 2020. My Fn-F2 (brightness down) and Fn-F3 (brightness up) keys do not function in Linux. See this thread to see various options that did not work for me, but could work for you. Another option that I haven't attempted yet is to update my BIOS.
I tried all the boot options. None worked. Bios is already the newest/only version Asus provides.
 
I need to have my external keyboard plugged in while installation as internal keyboard doesn't work during installation.
What is the output of
Code:
xinput -list
and are you dual booting with Windows? If you are dual booting make sure Fast Boot is disabled in the BIOS
also just curious does the Onscreen Keyboard work?
 
Last edited by a moderator:
This may not be helpful or even apply in this situation - but - I had problems installing Linux on an old Mac Book, Ubuntu & Mint wouldn't even get off the ground. But I did manage to get Linux Lite installed.

The only issue was the keyboard. Some keys worked - sort of - some did not work - while other keys would result in a totally different character than the one represented on the key!

After some putzing around I discovered that if I used an alternative keyboard layout from the drop down menu the keyboard worked mostly normally. I can't recall which it was. It is the keyboard layout menu during installation.
 
I'm experiencing the same issue, have not been able to install a distro yet as the internal keyboard does ont work and I haven't been able to test with an external one yet. Will install using external keyboard and report back with 'xinput -list' results
 
I'm trying to install Fedora rather than Ubuntu, since Fedora uses Wayland I ran "libinput list-devices". I'm specifically using Fedora 36 (live from USB), which I believe is kernel 5.17.
Here's the output in a pastebin: https://pastebin.com/raw/YEYdNnFw
And here it is directly:
Code:
Device:           Video Bus
Kernel:           /dev/input/event5
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
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
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
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 HD UVC WebCam: USB2.0 HD
Kernel:           /dev/input/event4
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
Accel profiles:   n/a
Rotation:         n/a

Device:           ASUE120B:00 04F3:31C0 Mouse
Kernel:           /dev/input/event2
Group:            5
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
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ASUE120B:00 04F3:31C0 Touchpad
Kernel:           /dev/input/event3
Group:            5
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
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event7
Group:            6
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
Accel profiles:   n/a
Rotation:         n/a
 
I managed to get the keyboard recognized by libinput by booting with the kernel parameter `i8042.dumbkbd=1`. It still doesn't work but the root issue seems to be with i8042.
 
Nice, that works for me too, it shows up in libinput but does not actually work. Does this mean there's an issue with i8042 that needs to be resolved for this keyboard to be recognized and work, or that a new driver needs to be written for this specific keyboard?

You mentioned some hotkeys working, which ones?

Edit:
On second thought that doesn't make sense, since the keyboard works in GRUB there has to be some issue that keeps Linux from recognizing it somehow
 
Last edited:


Top