LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Afther update no mouse and keyboard! (https://www.linuxquestions.org/questions/slackware-14/afther-update-no-mouse-and-keyboard-924820/)

tech_soul8 01-20-2012 10:41 AM

Afther update no mouse and keyboard!
 
Yesterday I updated my sysetem useing slackpkg. I ran slackpkg update and than slackpg update-all command. Beside everything elese kernel was upgraded too from 2.6.37.6 to 2.6.38.7. When I run uname -r it says that I'm still using 2.6.37.6 kernel. With pkgtool I checked installed packages and there's too kernel 2.6.38.7 listed. The problem is that after upgradeing my system I can't use my keyboard and mouse anymore. After boot compleates and splash screen appears I cannot log in to my pc (I use kde desktop environment). I tryed to boot pc with slack installation dvd and change run level from 4 to 3 but still unable to log in to pc. There's no keyboard and mouse! I thought that if kernel was upgraded maybe I need to rebuild my initrd file so I tryed even that but it didn't helped. I also removed symbolic links from /boot partition and created new links pointing to new kernel.
Any idas what could go wrong? Thanks

camorri 01-21-2012 06:20 AM

Have a look at /etc/X11 and see if you have a xorg.conf file. Also note if you have any backup versions of the file there.

Without knowing what packages were updated, it is a little difficult to know for sure what borked the keyboard/mouse.

You can have a look at any backups. There will be sections for mouse and keyboard. Compare to the current xorg.conf. The sections of interest will look something like this -

Quote:

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
These are from my system, so some parameters may/will be different. If you know what should go in each section, you can edit the xorg.conf file, and then restart the xserver with 'startx' Ctrl + Alt + Backspace kills the xserver.

The other way is to run 'xorgsetup' This may generate a working xorg.conf file.

If it all fails, post some details about the keyboard and mouse you are using.

Some more thoughts, you didn't say what video hardware you have. If its Nvidia, the install of a new Nvidia driver can generate a xorg.conf file. In Slackware you have to install it from Nvidia, they are not in slackpkg.

Check to see in xorg.conf what video driver is running. Is it the correct one for your hardware?

tech_soul8 01-21-2012 08:40 AM

I looked at xorg.conf setup and there's InputSection for keyboard but not for mouse and I think that nothing changed there. Tryed to run xorgsetup just in case that I'm wrong but it ends up with some error "...terminating signal 11" and than it stops. I have ATI graphic card so I tryed to run aticonfig --initial too. It recreates xorg.conf file but keyboard and mouse still doesn't work. Keyboard and mouse are from Logitech and they are both connected through usb interface. I'm using slackware 13.37. Thanks for help

H_TeXMeX_H 01-21-2012 08:50 AM

You have to re-install the ATI drivers after installing a different kernel. However, if you can't login even on the console, then the problem is greater than this.

tech_soul8 01-21-2012 09:45 AM

Well I was thinking about reinstalling ati drivers becouse in boot process I see some errors related to fglrx but when it comes to splash screen the picture is normal (the resolution is ok etc...) so I decided first to post some questions here before going into reinstallation of anything. I'll try to rebuild fglrx module in hope to get rid of those error messages but I don't think it will solve the main problem related to keyboard and mouse :(

Yes, can't even log in into the console. Keyboard is dead :(


All times are GMT -5. The time now is 07:29 PM.