History log of /haiku/src/add-ons/kernel/bus_managers/ps2/ps2_defs.h
Revision Date Author Comments
# e866d6e9 18-Jun-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

ps2: disable keyboard during multiplexing probing

My machine does not have an AUX/Mouse port at all. As a result, the
commands all get sent to the keyboard, which confuses the keyboard and
it eventually resets. This is generally harmless, but it ends up
resetting the keyboard, which cancels the effect of the commands to set
the repeat rate and delay during boot.

By disabling the keyboard during this step, we can avoid interference
with it.

Change-Id: Ic0513972a31e030a15577477c3d3fe32d4ce9bd3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5387
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# f0d09d49 04-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

ps2: rename a constant also used in pads


# 4c78b73b 22-Sep-2013 Jérôme Duval <jerome.duval@gmail.com>

ps2: added initial support for elantech pads.

* also added a license to ps2_alps.h
* added ps2_dev_sliced_command()
* moved some ps2 commands definitions to ps2_defs.h


# 7f4deb44 26-Jun-2011 Siarzhuk Zharski <zharik@gmx.li>

* Implemented PS2_CMD_RESEND command handlig;

* Workaround for touchpad reset timeouts on some HP/Compaq KBCs. Looks like such
KBC marks the mouse reset request (xFF) as correctly sent (by xFA answer) but
does not wait enough time for the answer from touchpad. So complete answer
finally contains xFE xAA x00 bytes. The workaround detects this xFE xAA answer
and issues the RESEND (xFE) request to touchpad. This forces touchpad to resend
the last packet of data (xAA x00) that can be processed normally by the host;

* Fix for handling passthrough_command() call. The parent device was disabled at
start of processing command and was not re-enabled back in case any error return.
This fixes the touchpad "pass-through" feature handling on the same HP/Compaq HW.
This KBC has the "pass-through" capability marked ON but cannot handle it as
currently implemented - there is no answer from corresponding port. The parent
device stay in disabled state after this;

* Fix ps2_dev_publish() for handling passthrough devices (parent_dev != NULL)
This workaround postpone the publishing such device until the parent device
finishes it's opening and set the PS2_ENABLED_FALG. It prevent from mixing
the Synaptics multi-command sequences from synaptics_open() and ps2_dev_publish()
routines and failing both initializations;

Fixes #2867 #3594 #4315



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42325 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b78920b3 27-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Work in progress on a ALPS touchpad driver. The driver is roughly working but disabled at the moment. Its
more or less a copy of the synaptics driver. Next step is to refactor the movement generation and share the
code with the synaptics driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41124 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a586cdf2 10-Jun-2010 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added ricatech netbook touchpad recognition. works ok now. hope nobody minds..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37082 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6849a228 01-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Clemens Zeilder:
* Implemented Synaptics touchpad support in the PS2 bus_manager by
refactoring/splitting the structure some and adding touchpad device
handling.
* Implemented Touchpad input_server device add-on
* Created Touchpad preflet for configuring advances Synaptics touchpad
options like scroll region (both horizontal and vertical) as well
as other neat stuff

Thanks a lot, Clemens!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28416 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5deac87d 27-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

prepared hotplug support


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16903 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c03dcec1 19-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 21af4fdb 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Implemented keyboard probing using reset and self test.
Implemented setting of typematic rate and delay support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da68da3e 23-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

To differentiate legacy and multiplexed mode, in legacy mode "aux" instead of "mouse" is printed in the debug output


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16050 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 487f6591 16-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

converted ps2_hid driver into ps2 bus manager


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d61a52a7 16-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

copied some files from ps2_hid driver


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15982 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f0d09d4925c304099c45c2404da7945b72ce812b 04-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

ps2: rename a constant also used in pads


# 4c78b73b8a5411d19320e31510654e42815178db 22-Sep-2013 Jérôme Duval <jerome.duval@gmail.com>

ps2: added initial support for elantech pads.

* also added a license to ps2_alps.h
* added ps2_dev_sliced_command()
* moved some ps2 commands definitions to ps2_defs.h


# 7f4deb4400434bb3c210a7b0333eddd4800290bf 26-Jun-2011 Siarzhuk Zharski <zharik@gmx.li>

* Implemented PS2_CMD_RESEND command handlig;

* Workaround for touchpad reset timeouts on some HP/Compaq KBCs. Looks like such
KBC marks the mouse reset request (xFF) as correctly sent (by xFA answer) but
does not wait enough time for the answer from touchpad. So complete answer
finally contains xFE xAA x00 bytes. The workaround detects this xFE xAA answer
and issues the RESEND (xFE) request to touchpad. This forces touchpad to resend
the last packet of data (xAA x00) that can be processed normally by the host;

* Fix for handling passthrough_command() call. The parent device was disabled at
start of processing command and was not re-enabled back in case any error return.
This fixes the touchpad "pass-through" feature handling on the same HP/Compaq HW.
This KBC has the "pass-through" capability marked ON but cannot handle it as
currently implemented - there is no answer from corresponding port. The parent
device stay in disabled state after this;

* Fix ps2_dev_publish() for handling passthrough devices (parent_dev != NULL)
This workaround postpone the publishing such device until the parent device
finishes it's opening and set the PS2_ENABLED_FALG. It prevent from mixing
the Synaptics multi-command sequences from synaptics_open() and ps2_dev_publish()
routines and failing both initializations;

Fixes #2867 #3594 #4315



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42325 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b78920b3f15866e9e833be60d1a57b6ecdf4dbee 27-Mar-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Work in progress on a ALPS touchpad driver. The driver is roughly working but disabled at the moment. Its
more or less a copy of the synaptics driver. Next step is to refactor the movement generation and share the
code with the synaptics driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41124 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a586cdf275b12c5f57e2106493596c9b2a103fad 10-Jun-2010 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added ricatech netbook touchpad recognition. works ok now. hope nobody minds..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37082 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6849a22864a9edc90482d16a5fd35f64f671b3b9 01-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Clemens Zeilder:
* Implemented Synaptics touchpad support in the PS2 bus_manager by
refactoring/splitting the structure some and adding touchpad device
handling.
* Implemented Touchpad input_server device add-on
* Created Touchpad preflet for configuring advances Synaptics touchpad
options like scroll region (both horizontal and vertical) as well
as other neat stuff

Thanks a lot, Clemens!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28416 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5deac87dd27ab91f566980a339c054c69b8df427 27-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

prepared hotplug support


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16903 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c03dcec18af6d5a0440b5345eeefa51735145a1c 19-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 21af4fdbff559a1588897fb5a3ea4cf5815ec13e 12-Feb-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Implemented keyboard probing using reset and self test.
Implemented setting of typematic rate and delay support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16361 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da68da3e1bf2427fc5e1c8cad5d5f9193ea119cb 23-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

To differentiate legacy and multiplexed mode, in legacy mode "aux" instead of "mouse" is printed in the debug output


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16050 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 487f65913b5901349b64b0c15d881486c644381c 16-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

converted ps2_hid driver into ps2 bus manager


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15987 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d61a52a78d8c7aaf674e9e8d5483e4dfe8b6e6ab 16-Jan-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

copied some files from ps2_hid driver


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15982 a95241bf-73f2-0310-859d-f6bbb57e9c96