LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-29-2005, 09:01 AM   #1
TonyPul
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Kernel 2.6 Keyboard/Mouse problems


Hi

My keyboard and mouse stopped working completely in kernel 2.6.9 but they work fine in 2.4. They're both ps/2

Any ideas?
 
Old 01-29-2005, 09:48 AM   #2
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Check kernel configuration and X configuration

What do you have marked off in your kernel config in the following the section:

Device Drivers --->
Input device support --->


I have the following in mine:

Device Drivers --->
Input device support --->[*] Provide legacy /dev/psaux device
(1024) Horizontal screen resolution
(768) Vertical screen resolution
< > Joystick interface
< > Touchscreen interface
< > Event interface
< > Event debugging
--- Input I/O drivers
< > Gameport support
< > Serial port line discipline
< > ct82c710 Aux port controller
< > Parallel port keyboard adapter
< > PCI PS/2 keyboard and PS/2 mouse
< > Raw access to serio ports
--- Input Device Drivers
--- Keyboards
< > Sun Type 4 and Type 5 keyboard support
< > DECstation/VAXstation LK201/LK401 keyboard support
< > XT Keyboard support
< > Newton keyboard[*] Mice
<*> PS/2 mouse
< > Serial mouse
< > DEC VSXXX-AA/GA mouse and VSXXX-AB tablet
[ ] Joysticks
[ ] Touchscreens[*] Misc
<M> PC Speaker support
< > User level driver support


and everything seems to work fine.

Also, does your computer boot into a graphical loggin screen or to the console? If it's the GUI then maybe it's an X configuration issue. Maybe see what's toward the end of log file for X (if you're using xorg, then the log file is in /var/log/Xorg.0.log).

-- the dudeman
 
Old 01-29-2005, 10:19 AM   #3
TonyPul
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I have pretty much the same config for the kernel.
It boots into a graphical login like the 2.4 does.

The XFree86 log says:
Code:
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "ExplorerPS/2"
(**) Generic Mouse: Protocol: "ExplorerPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "CorePointer"
(**) Generic Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "true"
(**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Generic Mouse: ZAxisMapping: buttons 4 and 5
(**) Generic Mouse: Buttons: 5
(II) XINPUT: Adding extended input device "Generic Mouse" (type: MOUSE)
(II) Generic Mouse: ps2EnableDataReporting: succeeded
And this is from the XF86Config-4

Code:
Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "keyboard"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc102"
	Option	    "XkbLayout" "se"
EndSection

Section "InputDevice"
	Identifier  "Generic Mouse"
	Driver      "mouse"
	Option	    "SendCoreEvents" "true"
	Option	    "Device" "/dev/psaux"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Emulate3Buttons" "true"
	Option	    "ZAxisMapping" "4 5"
EndSection
 
Old 01-29-2005, 11:06 AM   #4
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Is everything for the mouse compiled into the kernel, or as a module (you DO NOT want it as a module)?
 
Old 01-29-2005, 11:57 AM   #5
TonyPul
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by linuxLuser
Is everything for the mouse compiled into the kernel, or as a module (you DO NOT want it as a module)?
Yes, they are compiled in.
 
Old 01-29-2005, 12:43 PM   #6
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Well, that just about rules out anything "normal" to check, as it looks like it's loading everything right and setup correctly.

A little (desparate) googling revealed a few things:

lkml.org suggests disabling "Legacy USB keyboard/mouse" support in the BIOS.

lists.debian.org seems to suggest that X might be picky with what kind of keyboard and possibly mouse settings you have (which may not make sense in your situation as it works with the olde kernel).

linuxforums.org seems to indicate a device issue. Check /dev/ for the /dev/psaux. If it doesn't exist then that's probably your problem. See if you can find mouse or input/mouse0 or something.
If you wanted to go through the trouble of finding which device it is (I don't have FC3 so I don't know), you could boot into single-user runlevel and just "cat" a device to see if it's working. For example, add a boot entry in LILO or GRUB which appends "-single" as part of a kernel parameter. Then it'll boot in single user mode (no GUI). You can log int and type:
Code:
# cat /dev/mouse
at the prompt. Then move your mouse and you should see jibberish on the screen. If you don't, it's not getting any input from the mouse. Try a different device.

I hope that's not too confusing. I don't know what your level of knowledge is. I can elaborate more on any point if you need. I'm just kind of grabbing at straws and thinking of everything there is to check.

-- the dudeman
 
  


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
Mouse and Keyboard lagging with Linux Kernel 2.6.11 Goldsticknt Linux - Hardware 1 09-14-2005 07:18 AM
Kernel 2.6.8 - No USB-Keyboard and mouse chili_666 Debian 4 09-09-2004 07:48 AM
New kernel won't recognize my USB mouse and keyboard R00ts Linux - Software 5 07-20-2004 02:41 AM
No keyboard or mouse after kernel 2.4 configuration Mrcdm Linux - Distributions 2 05-02-2004 05:23 AM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM

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

All times are GMT -5. The time now is 07:30 AM.

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