atkbd keys missing

Brad Boyer flar at allandria.com
Sat Dec 3 06:43:02 EST 2005


On Fri, Dec 02, 2005 at 06:49:37PM +0000, Ken Moffat wrote:
>  Hi, my powermac G5 SMU now runs nicely with 2.6.15-rc4 (ignoring sound, 
> of course) except for one awkward problem - I'm using a PC PS/2 keyboard 
> (108 keys, if I can count) through a kvm switch, then a PS2-to-usb 
> adaptor.  This is a British keyboard, and two of the keys don't work 
> (nothing at all shows from them, not even scancodes).
> 
>  I'm at a loss to know where to look to try to fix this - there are no 
> logged messages from atkbd about unknown keys (although atkbd is built 
> in to my config), and the keycode tables in drivers/char/keyboard.c and 
> drivers/input/keyboard/atkbd.c seem to be constant for almost all 
> architectures.
> 
>  Is there a powerpc(64) keyboard driver that I'm overlooking, or has 
> anybody any pointers to where I should be looking, please ?

Since you are running it through a USB adaptor, I would expect it to
show up as a USB keyboard to the system. The atkbd driver is for a
keyboard directly connected to an AT or PS/2 style port on the system,
which actually acts more like a normal serial port. Take a look at
usbhid (in drivers/usb/input) to see if that is where it's actually
getting handled. You probably have messages in the logs from the USB
detection code if that is the case. Here's some from one of my boxes:

input: USB HID v1.00 Keyboard [Macally Macally iKey     ] on usb-0001:02:0b.1-2.2.5.1

The name will probably be the model of the adapter, whereas I have a
directly connected USB keyboard in this case. It is possible the
adapter is eating the keypress, but it's hard to say without more
investigation of the problem.

	Brad Boyer
	flar at allandria.com




More information about the Linuxppc64-dev mailing list