I tried adding vt7 to the right line in /etc/kde3/kdm/Xservers and that fixed the problem of my keyboard not responding in kdm.
I tried adding ServerVTs=-7 to the [General] section of /etc/kde3/kdm/kdmrc and that also fixed the problem of my keyboard not responding in kdm. Thanks for posting such great tips for us all Adeodato. I noticed that this problem would happen immediately after I booted up my ThinkPad 390x. I would be using the built-in keyboard. (never tried it using an external ) I'm using XFree86 from unstable, version 4.3.0.dfsg or what ever it is. I'm using the mostly default configuration options of a pc104 key us keyboard. I've noticed that besides your tips about editing the config files, there's another solution which works for me, and is very simple. I'm able to get kdm working just by using the menu to go to a console login, then wait a little while and when kdm takes over the display after a few seconds the keyboard works again! I hope this helps with the debugging. - Tom