Synaptics TouchPad seems to go back to Relative Mode after the call

to set_controller_command_byte() call; by issueing a Read Mode Byte
command, the touchpad is in Absolute Mode again.

This problem occursed at least on Asus V6V laptops.
This commit is contained in:
Jean-Sébastien Pédron 2007-02-04 12:47:52 +00:00
parent f4bce9c11d
commit 5a10830e1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166492

View File

@ -1251,6 +1251,16 @@ psmprobe(device_t dev)
endprobe(ENXIO);
}
/*
* Synaptics TouchPad seems to go back to Relative Mode after
* the previous set_controller_command_byte() call; by issueing
* a Read Mode Byte command, the touchpad is in Absolute Mode
* again.
*/
if (sc->hw.model == MOUSE_MODEL_SYNAPTICS) {
mouse_ext_command(sc->kbdc, 1);
}
/* done */
kbdc_set_device_mask(sc->kbdc, mask | KBD_AUX_CONTROL_BITS);
kbdc_lock(sc->kbdc, FALSE);