History log of /haiku/src/add-ons/kernel/bus_managers/ps2/ps2_elantech.cpp
Revision Date Author Comments
# 5e596efe 15-Jul-2022 Augustin Cavalier <waddlesplash@gmail.com>

Refactor touchpad movement generation by migrating MovementMaker to userland.

This considerably overhauls touchpad event generation, simplifying and
cleaning it up considerably:

* Return the touchpad specifications through the MS_IS_TOUCHPAD ioctl.

* There is now a dedicated MS_READ_TOUCHPAD ioctl, as touchpads
can either return touchpad_movement structures or mouse_movement
ones depending on what mode they are operating in.

* Event repeating on timeouts is now handled in MovementMaker and
the input_server control thread, so MS_READ_TOUCHPAD takes
a timeout value. This means we can drop all the EventProducers.

* Use the real floating-point math functions in MovementMaker now
that we are running in userland.

* Drop unused structures, constants, headers, and other things
related to touchpad support.

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


# a3d84aba 18-Jun-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

ps2: improve tracing

Change-Id: I3991e1974ac4af2ba00d692284bfcf00e5b4cc84
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5386
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# fdbbdccc 04-Sep-2021 Adrien Destugues <pulkomandy@pulkomandy.tk>

ps2: allow more selective tracing

In some cases, we don't need the full tracking of every byte received at
the PS2 level, but higher level traces from specific devices will be
enough.

Change-Id: I31984e6b7784b5d033b457f43f3793f772213f4a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4423
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 12d046d0 16-Jul-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

PVS V547: always false conditions

Change-Id: I389c081331b1c5ef67bef9ffcac9055573e1ebf5
Reviewed-on: https://review.haiku-os.org/c/1605
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# 003a1997 23-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

ps2/elantech: Initialize variables to shut up GCC.


# c87601b8 03-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

ps2: Fix Werrors.


# 3431cf5b 03-Nov-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

PS2 Elantech mostly working still disabled

Does handle coords correctly, but two finger jumps position somewhere
We can also report actual buttons, but not sure how movementmaker handles
it.

Will do cleanup once working

To test or help out return B_OK in probe_elantech


# 177f5fac 23-May-2018 Jérôme Duval <jerome.duval@gmail.com>

kernel drivers: have timer hooks return B_HANDLED_INTERRUPT.

* 0 means B_UNHANDLED_INTERRUPT.
* uses int32 as return type.


# ebdb22de 10-May-2018 Zoltán Mizsei <zmizsei@extrowerk.com>

Fix ps2 debug build on x86_64

Change-Id: I579656b6b0619b44aa4a02c87720762cb5dd1415


# 0cfd77ac 10-Apr-2017 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Print elantech touchpad version.


# 044cab8e 09-Apr-2017 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Activate Elantech toucpad probe but fail.

Now we can see who has Elantech touchpad.
Driver is currently in very bad shape on my hw:
* mouse jumps
* mouse clicks maps to wrong button
* keyboard not working properly when enabled
* power button only works in force shutdown mode


# fe2557b6 21-Feb-2016 S K <sylvain_kerjean@hotmail.com>

PS/2: fix warnings, enable -Werror

- elantech: Remove unused variables and functions.
- "movement maker": float/int confusions
- debugger keymap: don't use multi-byte chars in preprocessor to avoid
warnings with gcc2 (even with -Wno-multichar)

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12658


# 6e536502 25-Feb-2014 Philippe Saint-Pierre <stpere@gmail.com>

Fix missing break statement (CID #1108253)


# 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


# 6e536502db54b4d43c31b2331757b813e65d6718 25-Feb-2014 Philippe Saint-Pierre <stpere@gmail.com>

Fix missing break statement (CID #1108253)


# 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