Searched hist:fb1d7157d2218f1e8cc37fa2bf7e7aff01345e65 (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_common.h | fb1d7157d2218f1e8cc37fa2bf7e7aff01345e65 Sun Jul 10 09:14:11 UTC 2022 PulkoMandy <pulkomandy@pulkomandy.tk> ps2: do not publish keyboard device until mouse probing is complete
For mouse probing to work reliably, it's important that we don't simultaneously send commands to the keyboard as well. This normally happens because we don't publish the keyboard device until the probing is complete.
However, if the mouse probing results in the keyboard sending some replies, this can be detected as a "hot plugin" and leads to publishing the keyboard device a lot earlier.
To prevent this, disable the "hot plugin" feature until we are done initializing. This way the keyboard device is published only after we are done with the probing.
Fixes #17806
Change-Id: Ia6a2b031550c845fa305df5b5f4d513d5c7931d6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5388 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
H A D | ps2_common.cpp | fb1d7157d2218f1e8cc37fa2bf7e7aff01345e65 Sun Jul 10 09:14:11 UTC 2022 PulkoMandy <pulkomandy@pulkomandy.tk> ps2: do not publish keyboard device until mouse probing is complete
For mouse probing to work reliably, it's important that we don't simultaneously send commands to the keyboard as well. This normally happens because we don't publish the keyboard device until the probing is complete.
However, if the mouse probing results in the keyboard sending some replies, this can be detected as a "hot plugin" and leads to publishing the keyboard device a lot earlier.
To prevent this, disable the "hot plugin" feature until we are done initializing. This way the keyboard device is published only after we are done with the probing.
Fixes #17806
Change-Id: Ia6a2b031550c845fa305df5b5f4d513d5c7931d6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5388 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
H A D | ps2_dev.cpp | fb1d7157d2218f1e8cc37fa2bf7e7aff01345e65 Sun Jul 10 09:14:11 UTC 2022 PulkoMandy <pulkomandy@pulkomandy.tk> ps2: do not publish keyboard device until mouse probing is complete
For mouse probing to work reliably, it's important that we don't simultaneously send commands to the keyboard as well. This normally happens because we don't publish the keyboard device until the probing is complete.
However, if the mouse probing results in the keyboard sending some replies, this can be detected as a "hot plugin" and leads to publishing the keyboard device a lot earlier.
To prevent this, disable the "hot plugin" feature until we are done initializing. This way the keyboard device is published only after we are done with the probing.
Fixes #17806
Change-Id: Ia6a2b031550c845fa305df5b5f4d513d5c7931d6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5388 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|