Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix for keyboard not working after suspend in Linux distros

Notifications You must be signed in to change notification settings

TheDragonary/Linux-Keyboard-Fix

Repository files navigation

Linux Keyboard Fix

UPDATE: Use the fix here instead. This actually works.

https://github.com/mistine/i8042-keyboard-fix-linux


Fix for keyboard not working after suspend in Linux distros

This is a common problem with Sony VAIO laptops on Linux and this script aims to fix that.

Update(14/11/2023): The script may not work anymore. Also found out that this isn't just a problem with Arch and Arch-based distros but on other Linux distros too such as Debian, Ubuntu and Fedora. For now the only fix is, right after waking up from suspend, press the Caps Lock button (do NOT press any other button) until the LED light turns on, then your keyboard should be working normally after that.

Instructions

Clone the repo

git clone https://github.com/TheDragonary/Arch-Keyboard-Fix.git && cd Arch-Keyboard-Fix

and run

./arch-keyboard-fix.sh

WARNING: note that the current working directory must be the directory where arch-keyboard-fix.sh and the other files are located.

Or you can execute all commands at once:

git clone https://github.com/TheDragonary/Arch-Keyboard-Fix.git && cd Arch-Keyboard-Fix && ./arch-keyboard-fix.sh && cd && rm -rf ~/Arch-Keyboard-Fix

How it works

The fix involves three files: