Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65056 - /etc/init.d/numlock locks up keyboard in kdm
Summary: /etc/init.d/numlock locks up keyboard in kdm
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 02:58 UTC by Ole Christensen
Modified: 2004-09-29 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Christensen 2004-09-23 02:58:02 UTC
When I enable /etc/init.d/numlock the keyboard is dead in kdm. Using the mouse to restart the X-Server solves the problem. It also helps to disconnect the (PS/2) keyboard and reconnect it. So I guess the 8042 or/and the kernel driver gets confused. I have only reproduced the problem on the config below (Kernel 2.6.7, SIS 741). It does *not* occur on my other box (Kernel 2.6.5, VIA KT600, USB Keyboard).

Reproducible: Always
Steps to Reproduce:
1. Just boot into default runlevel with /etc/init.d/numlock enabled
2.
3.

Actual Results:  
Cannot type anything. 

Expected Results:  
Hey, let me type my password :-)

Gentoo 2004.2 with no "emerge sync" afterwards
Kernel 2.6.7
SIS 741 based board
PS/2 keyboard
Xorg X-Server

Message "atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86,
might be trying access hardware directly" in syslog. Guess this is due to setleds.

Disabling or enabling legacy USB support in BIOS does not change anything.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-09-26 07:10:46 UTC
Can you please try 2.6.9-rc2 or newer? I believe that there are lots of i8042 fixes in there.
Comment 2 Ole Christensen 2004-09-26 11:13:44 UTC
Daniel,

thanks for your hint. I applied the patches up to (including) 2.6.9-rc2 from kernel.org to my 2.6.7 vanilla kernel. And it doesn't change anything. The keyboard locks up in kdm when /etc/init.d/numlock is active. And again "atkbd.c: Spurious ACK on isa0060/serio0...".

Shouldn't the kbd driver expect the ACK after issueing some LED command to the keyboard? BTW: I am currently using a different keyboard now.

Thanx for your help anyway.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-09-29 02:21:06 UTC
So has using a different keyboard solved the problem? Are you still connecting it in the same way?
Comment 4 Ole Christensen 2004-09-29 02:27:31 UTC
Daniel,

no, changing the keyboard does not solve the problem. Everything as with the other keyboard. This is what I intended to express.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2004-09-29 15:45:22 UTC
The Spurious ACK message is quite common and isn't really a problem. Have you always had this problem, or did it just break in a kernel upgrade? Perhaps you could try a different version of Xorg?

I'd suggest that you remove numlock from your runlevel, and find the exact command which breaks it for you (man setleds). You could then file a bug at http://bugzilla.kernel.org as this appears to be an upstream issue.