Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 5021  / 3 Years ago, thu, june 24, 2021, 2:55:59

I recently bought a Asus laptop and installed Ubuntu 20.04. After power off-on I found the laptop keyboard is not working. I found online the following command: sudo apt install xserver-xorg-input-all and the keyboard issue was solved after reboot.


I want to know what the above command did. What is its purpose?


P.S. I still have the keyboard problem. When I power off/on the laptop keyboard stops working. Above command solves the problem unless I power off my laptop (rebooting is fine). I have asked the same problem here:


keyboard not working in ubuntu 18.04


I ask the question to understand why the above command fix the problem temporarily but not permanently. A permanent solution will be highly appreciated.


I ran more specific command sudo apt install xserver-xorg-input-libinput which also solved the keyboard problem after rebooting.


Following terminal outputs are obtained:


 sudo apt install xserver-xorg-input-libinput

TERMINAL OUTPUT:


Reading package lists... Done
Building dependency tree

Reading state information... Done
xserver-xorg-input-libinput is already the newest version (0.29.0-1).
xserver-xorg-input-libinput set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


sudo apt install xserver-xorg-input-all

TERMINAL OUTPUT:


Reading package lists... Done
Building dependency tree

Reading state information... Done
xserver-xorg-input-all is already the newest version (1:7.7+19ubuntu14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Both the commands solve keyboard problem temporarily after reboot. Keyboard works fine after multiple reboots, but does not work after power off and on.


More From » xorg

 Answers
2

This is merely a meta-package, aimed "to pull in the full suite of drivers for the Xorg server". However, in practice, it only pulls in libinput and wacom.


xserver-xorg-input-libinput provides the drivers for keyboard, mouse and touchpad. It is a more modern system, replacing the venerable kbd and synaptics drivers. This is the only dependency of the package. xserver-xorg-input-wacom is merely a recommended package, but Ubuntu is configured to also automatically pull in recommended packages, so that one is also installed by default.


I am surprised that running this command would "revive" your keyboard: once a package is installed, a mere sudo apt install of that package essentially will only tell it is already installed, and do nothing else - except setting it to "manually installed" if it would have been marked as "automatically installed (which it probably isn't, by default). It would be good to include your output of the command sudo apt install xserver-xorg-input-all in your question. That may give a hint of what special is going on on your system.


[#1407] Friday, June 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ditery

Total Points: 9
Total Questions: 116
Total Answers: 119

Location: Grenada
Member since Sun, Dec 20, 2020
3 Years ago
ditery questions
;