提交 554fc193 编写于 作者: A Alon Ziv 提交者: Dmitry Torokhov

Input: psmouse - reset harder during probe

Some rodents appear to be extra-finicky, and require both PSMOUSE_RESET_DIS
and PSMOUSE_RESET_BAT before they are unconfused enough to be probed.
Signed-off-by: NAlon Ziv <lkml@nolaviz.org>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 b9d2d110
...@@ -648,9 +648,10 @@ static int psmouse_extensions(struct psmouse *psmouse, ...@@ -648,9 +648,10 @@ static int psmouse_extensions(struct psmouse *psmouse,
/* /*
* Reset to defaults in case the device got confused by extended * Reset to defaults in case the device got confused by extended
* protocol probes. Note that we do full reset becuase some mice * protocol probes. Note that we follow up with full reset because
* put themselves to sleep when see PSMOUSE_RESET_DIS. * some mice put themselves to sleep when they see PSMOUSE_RESET_DIS.
*/ */
ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_RESET_DIS);
psmouse_reset(psmouse); psmouse_reset(psmouse);
if (max_proto >= PSMOUSE_IMEX && im_explorer_detect(psmouse, set_properties) == 0) if (max_proto >= PSMOUSE_IMEX && im_explorer_detect(psmouse, set_properties) == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册