Re: synaptics: PS/2 touchpad isn't detected if a keyboard key is helddown on boot

From: Andrey Moiseev
Date: Sat Dec 07 2013 - 08:47:16 EST


I inserted a printk into ps2_handle_response(struct ps2dev *ps2dev,
unsigned char data) in "drivers/input/serio/libps2.c" and other
functions in the file.
It really eats scancodes from the keyboard, as I see (0x23 is the 'H'
press scancode). Seems like the scancodes are mixed with reasonable
values. Is it a bug in the controller? Got all this on Lenovo Ideapad
Y550P notebook with Synaptics PS/2 touchpad.

PS2 init
PS2 begin command
PS2 command
PS2 send byte
PS2 end command
PS2 begin command
PS2 command
PS2 send byte
PS2 end command
PS2 init
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0xfa
PS2 handle responce 0x23
PS2 adjust timeout
PS2 end command
PS2 init
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0xfa
PS2 handle responce 0xab
PS2 adjust timeout
PS2 handle responce 0x41
PS2 end command
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0xfa
PS2 end command
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0x23
PS2 handle ack 0xfa
PS2 send byte
PS2 handle ack 0xfa
PS2 end command
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0xfa
PS2 send byte
PS2 handle ack 0xfa
PS2 end command
PS2 begin command
PS2 command
PS2 send byte
PS2 handle ack 0xfa
PS2 end command

On Sat, Dec 7, 2013 at 3:01 PM, Andrey Moiseev <o2g.org.ru@xxxxxxxxx> wrote:
> psmouse module is not loaded when I hold down a key on boot (when
> GRUB2 says "loading vmlinuz"), and, in its turn, the PS/2 touchpad
> doesn't work. Latest mainline kernel, latest stable one and probably
> many older ones. I guess i8042's buffer gets full and that confuses
> drivers somehow.
>
> On Fri, Dec 6, 2013 at 9:22 PM, Andrey Moiseev <o2g.org.ru@xxxxxxxxx> wrote:
>> This is an ancient bug, I noticed it since I bought my notebook.
>> Synaptics PS/2 touchpad is not detected and is not shown in
>> /dev/input/event* if I hold a keyboard key down when booting just
>> started.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/