Advertisement
para_bellum

Keyboard and mouse not recognized

Nov 10th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. You boot your computer, as usual.
  2. You get to you login manager, as usual.
  3. You cannot enter your ID/password because your keyboard is not recognized, DAMNIT!
  4.  
  5. You're screwed, you need a live distribution to boot on and then access the log file of the X server.
  6.  
  7. Inside the '/var/log/Xorg.0.log', you may see lines beginning with '(EE)', meaning there is an error.
  8. In particular, if you're seeing that the drivers for 'kbd', 'mouse' and 'libinput' are missing, you'll need to install them.
  9.  
  10. So first chroot into the system and then apt them.
  11.  
  12. # cp /etc/resolv.conf /mnt/guest/etc/resolv.conf # For the network
  13. # mount --bind /dev/ /mnt/guest/dev/
  14. # mount --bond /sys/ /mnt/guest/sys/
  15. # mount --bond /proc/ /mnt/guest/proc/
  16. # chroot /mnt/guest/
  17.  
  18. # apt install xserver-xorg-input-mouse xserver-xorg-input-kbd xserver-xorg-input-libinput
  19. # apt install xserver-xorg-input-synaptics #This one is for the touchpad, not essential but add features.
  20.  
  21.  
  22. And after that, you're good to go.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement