LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 03-12-2012, 08:30 AM   #1
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Rep: Reputation: 18
keyboard and mouse not working after boot


Hello!

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.
 
Old 03-12-2012, 10:08 AM   #2
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
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.
 
Old 03-12-2012, 10:26 AM   #3
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
Ctrl+Shift+F1 also don't work

the /var/log/Xorg.0.log is attached below
 
Old 03-12-2012, 11:24 AM   #4
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
I don't see the attached Xorg.0.log?
 
Old 03-12-2012, 11:28 AM   #5
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
Sorry, looks like I forgot it.

NOW, it's attached
Attached Files
File Type: log Xorg.0.log (33.5 KB, 610 views)
 
Old 03-12-2012, 11:39 AM   #6
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
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.

Also, what is the output of:
Code:
pacman -Q | grep xf86-input
?
 
Old 03-12-2012, 11:49 AM   #7
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
There's no xorg.conf file

Quote:
Originally Posted by SilentSam View Post
Code:
pacman -Q | grep xf86-input
Can I run this through the ubuntu liveCD or I have to reboot with the arch CD?
 
Old 03-12-2012, 11:55 AM   #8
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by vitorsgoncalves View Post
Sorry, looks like I forgot it.

NOW, it's attached
Sorry again, but that was the wrong Xorg.0.log
now it's the right one[ATTACH]Xorg.0.log[/ATTACH]
 
Old 03-12-2012, 12:14 PM   #9
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
Quote:
Originally Posted by vitorsgoncalves View Post
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.
 
Old 03-12-2012, 12:22 PM   #10
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
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.
 
Old 03-12-2012, 12:49 PM   #11
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
the "pacman -Q | grep xf86-input" output is:

xf86-input-acecad 1.5.0-2
xf86-input-aiptek 1.4.1-2
xf86-input-evdev 2.6.0-4
xf86-input-joystick 1.6.0-3
xf86-input-keyboard 1.6.1-1
xf86-input-mouse 1.7.1-2
xf86-input-synaptics 1.5.0-1
xf86-input-vmmouse 12.7.0-3
xf86-input-void 1.4.0-2


I will try removing the nouveau drivers

Last edited by vitorsgoncalves; 03-13-2012 at 07:35 AM.
 
Old 03-12-2012, 02:07 PM   #12
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
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.
 
Old 03-13-2012, 09:06 AM   #13
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
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?
 
Old 03-13-2012, 09:58 AM   #14
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
I uninstalled the xf86-input-keyboard and mouse packages but still the same...
Should I proceed installing the hal?

From that point I am considering to reinstall the system
 
Old 03-14-2012, 12:11 PM   #15
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Original Poster
Rep: Reputation: 18
I reinstalled the system and it's working fine now.
Thank you very much for the interest in my case
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB keyboard & mouse stop working intermittently on Linux Mint 12 boot macked Linux - Hardware 1 01-17-2012 04:24 AM
Keyboard and Mouse not working in X Karimo Slackware 3 08-21-2009 05:43 PM
Mouse and keyboard not working cgol03 Slackware - Installation 1 02-02-2005 09:05 AM
keyboard not working without mouse RH 7.3 kilobravo Linux - General 1 12-12-2003 09:45 AM
mouse and keyboard not working to_vijayarun General 1 06-30-2001 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration