Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2566  / 3 Years ago, sat, october 16, 2021, 11:48:50

I recently got the VivoBook S 14 OLED (S3402,12th Gen Intel i7) and tried installing Kubuntu (22.04) on it. However, the onboard keyboard does not work after grub stage. I managed an install with an external USB keyboard but need to solve this soon.


I have looked at various solutions including adding "i8042.reset i8042.nomux i8042.nopnp i8042.noloop" to linux boot parameters into grub. Nothing seems to help. The touchpad works but the keyboard does not. In the live session for 20.04, even the touchpad does not work.


The issue is the same with the current daily build of 22.10 which also uses the 5.15 kernel.


More From » kernel

 Answers
0

I faced the same issue with Asus Vivobook s 15 and compiled kernel 5.19.5 with patch provided here https://bugzilla.kernel.org/show_bug.cgi?id=216158 and it worked for me too.


I've uploaded the same to https://drive.google.com/drive/folders/1_29NPWOjJ_RGy9Oh-SnSdgEPBBVfEJHt?usp=sharing and you can download all 4 deb files and install them and boot to kernel '5.19.5 #1 SMP PREEMPT_DYNAMIC Mon Aug 29 16:57:23 IST 2022 x86_64 x86_64 x86_64 GNU/Linux' and it should work for you too.


In case you want to build your kernel, let me show the straightforward steps.



  1. Install mainline package sudo apt install -y mainline and install tools for compiling
    sudo apt install -y build-essential libssl-dev libncurses5-dev gcc bc bison flex libelf-dev



  2. search for the mainline app and install the kernel you want to build as it will give the correct kernel config when we will build the kernel. Reboot the laptop to boot into this kernel.



  3. Eg. you have installed 5.19.5 then go to kernel.org and download the same version(it's better to match the versions)



  4. Create a new dir and move the kernel tar there. eg.




mkdir mykernel
and
cd mykernel
and place the linux-x.xx.x here.



  1. mkdir linux_kernel



  2. tar xvf linux-* -C linux_kernel/ --strip-components=1



  3. cd linux_kernel



  4. cp /boot/config-$(uname -r) ./.config



  5. patch the kernel for the against using below
    https://bugzilla.kernel.org/attachment.cgi?id=301690
    the issue below command to patch the src.


    patch -p1 < ~/Downloads/fix-irq-vivobook.patch



  6. sudo make deb-pkg



  7. You might face issues for Debian certs. To fix that do below.
    sudo apt install -y linux-source
    and copy the certs from


    cp -v /usr/src/linux-source-5.15.0/debian/*.pem debian/



  8. Again start the build process.
    sudo make deb-pkg


    this may take 1 to 2 hours so please wait.




If all is well then you'll get the kernel build in parent dir.



  1. cd ..



  2. sudo dpkg -i *deb



  3. Verify grub config and reboot and you'll get a working keyboard.




Clean up: open mainline > remove the version you installed in step 2.


Comment here if you face any issues and I'll try to help. :)


Indeed I'm typing for Vivobook's Keyboard only. All thanks to the amazing Linux community. :)


[#355] Monday, October 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eanda

Total Points: 439
Total Questions: 116
Total Answers: 105

Location: Armenia
Member since Sat, Dec 31, 2022
1 Year ago
eanda questions
Tue, Nov 22, 22, 15:24, 1 Year ago
Sun, Jul 3, 22, 09:38, 2 Years ago
Thu, Feb 3, 22, 14:33, 2 Years ago
;