psmouse: reset during probe?
Subsystems (2)
Hi,
A bunch of new Acer laptops have an EC which expects the PS/2 reset command before the touchpad is initialized.
On Linux, that means that currently the touchpad is unresponsive until suspend/resume, when psmouse_reconnect() resets the device.
It appears that Windows sends the reset command during boot. Should Linux do the same for all mice here?
Thanks
Daniel
--- drivers/input/mouse/psmouse-base.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/mouse/psmouse-base.c +1 -0
@@ -1546,6 +1546,7 @@ static int psmouse_connect(struct serio *serio, struct serio_driver *drv) psmouse->resync_time = parent ?0 : psmouse_resync_time; psmouse->smartscroll = psmouse_smartscroll; +psmouse_reset (psmouse);psmouse_switch_protocol (psmouse,NULL );psmouse_set_state (psmouse,PSMOUSE_CMD_MODE );
Signature · 1 line
2.11.0