[SOLVED] keyboard and mouse not working after boot
ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After last upgrade, my keyboard and mouse (both PS/2) stop working after system boot, making the system totally unusable.
I already read that post: "http://www.linuxquestions.org/questions/arch-29/no-keys-no-mouse-933764/", it seems like the same problem, but don't want to reinstall the system.
Is there any way to fix it?
Notes: I am using a live cd, and I created this new thread because the other was already marked as solved.
I've had problems using evdev as the input device for X, and had to switch back to the old keyboard and mouse drivers. Does your keyboard work outside of X? (ie: can you Ctrl+Shift+F1 to tty1 and login?)
/var/log/Xorg.0.log should also tell you what's going on. If you post that it could help.
Well, it looks like your keyboard/mouse are using the evdev driver, and no issues were reported... Do you happen to have a /etc/X11/xorg.conf file? If you do, please post it.
Can I run this through the ubuntu liveCD or I have to reboot with the arch CD?
Sorry, that was quite thoughtless of me... It can only be run on Arch. I'm not sure if this will work, but you should be able to chroot your Arch drive and get the package list. However, if you need to install pacakges, I forget the device exports you would need to do to get network working while doing this. But...
- Boot into Ubuntu
- Mount your Arch drive
- In a terminal window run the following
Code:
$ sudo su -
$ chroot /media/Arch <-- Or whatever your Arch drive's mount location is
$ pacman -Q | grep xf86-input
This will allow you to run Arch's package manager while running Ubuntu.
Since I can't edit:
I just read the second Xorg.0.conf file. There is no reference to loading or detecting any keyboard/mouse drivers devdev or otherwise)
I suggest attempting to remove the nouveau drivers and see how this works for you.
- Boot into Ubuntu
- Mount your Arch drive
- In a terminal window run the following
Code:
$ sudo su -
$ chroot /media/Arch <-- Or whatever your Arch drive's mount location is
$ pacman -Q | grep nouveau
This gives a list if nouveau packages. In the same terminal window, for each of the packages listed now try
Code:
$ pacman -Rd <packagename>
I think the package-names are xf86-video-nouveau & nouveau-dri.
I removed the nouveau drivers but still the same problem.
I created a standard xorg.conf file and the same problem occurs. But, if I remove the screen and monitor sections from the file, the pc boots with mouse and keyboard working (with no video, of course).
Last edited by vitorsgoncalves; 03-13-2012 at 07:44 AM.
Hmmm... I read a topic on the Arch linux forums not too long ago.
Here is the post:
Quote:
Originally Posted by Cows
I had the same exact problem, I believe the problem was that I installed the xf86-input-keyboard and xf86-input-mouse drivers when I didn't need them. You only need to install the following xorg, xf86-input-evdev, and hal. You also need dbus but I believe xorg installs that for you and also hal takes care of starting that daemon, and of course your video driver.
First remove the keyboard/mouse drivers:
Code:
pacman -Rd xf86-input-keyboard xf86-input-mouse
Then reinstalling the evdev driver like this:
Code:
pacman -S xf86-input-evdev
you might get a error since that's what I had as well. If you do get a error, force it to reinstall like this
Code:
pacman -Sf xf86-input-evdev
Restart. If that doesn't work, try forcing a reinstall on hal like this:
Code:
pacman -Sf hal
and configure xorg once again as root:
Code:
X -configure
cp /root/xorg.conf.new /etc/X11.xorg.conf
Then start or restart hal like this:
Code:
/etc/rc.d/hal start
OR
Code:
/etc/rc.d/hal restart
Let us know what happens.
The problem I have with this is HAL is now deprecated, but perhaps the xf86-input-keyboard and mouse packages are causing conflicts with evdev?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.