LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   keyboard and mouse not working after boot (https://www.linuxquestions.org/questions/arch-29/keyboard-and-mouse-not-working-after-boot-934040/)

vitorsgoncalves 03-12-2012 08:30 AM

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.

SilentSam 03-12-2012 10:08 AM

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.

vitorsgoncalves 03-12-2012 10:26 AM

Ctrl+Shift+F1 also don't work

the /var/log/Xorg.0.log is attached below

SilentSam 03-12-2012 11:24 AM

I don't see the attached Xorg.0.log?

vitorsgoncalves 03-12-2012 11:28 AM

1 Attachment(s)
Sorry, looks like I forgot it.

NOW, it's attached

SilentSam 03-12-2012 11:39 AM

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
?

vitorsgoncalves 03-12-2012 11:49 AM

There's no xorg.conf file

Quote:

Originally Posted by SilentSam (Post 4624883)
Code:

pacman -Q | grep xf86-input

Can I run this through the ubuntu liveCD or I have to reboot with the arch CD?

vitorsgoncalves 03-12-2012 11:55 AM

1 Attachment(s)
Quote:

Originally Posted by vitorsgoncalves (Post 4624872)
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]Attachment 9223[/ATTACH]

SilentSam 03-12-2012 12:14 PM

Quote:

Originally Posted by vitorsgoncalves (Post 4624895)
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.

SilentSam 03-12-2012 12:22 PM

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.

vitorsgoncalves 03-12-2012 12:49 PM

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

vitorsgoncalves 03-12-2012 02:07 PM

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).

SilentSam 03-13-2012 09:06 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?

vitorsgoncalves 03-13-2012 09:58 AM

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

vitorsgoncalves 03-14-2012 12:11 PM

I reinstalled the system and it's working fine now.
Thank you very much for the interest in my case


All times are GMT -5. The time now is 10:42 PM.