-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pc-tty: add PS/2 mouse support and kbd/mouse vdevs #512
Open
adamgreloch
wants to merge
3
commits into
master
Choose a base branch
from
adamgreloch/RTOS-896
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
4 times, most recently
from
August 21, 2024 16:10
7a9d162
to
8a01d03
Compare
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
2 times, most recently
from
August 22, 2024 08:40
8bb3c00
to
e5227cb
Compare
ziemleszcz
reviewed
Aug 26, 2024
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
2 times, most recently
from
August 26, 2024 13:32
b6690a2
to
41e575c
Compare
ziemleszcz
reviewed
Aug 27, 2024
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
from
August 27, 2024 09:19
41e575c
to
a8060a5
Compare
ziemleszcz
reviewed
Aug 30, 2024
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
from
August 30, 2024 11:12
a8060a5
to
87244ad
Compare
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
from
September 17, 2024 12:03
87244ad
to
165e50b
Compare
14 tasks
Adds PS/2 mouse support. Because PS/2 keyboard and mouse share the same I/O port, this required some heavy refactoring of ttypc_kbd driver. It also adds /dev/kbd and /dev/mouse virtual devices, which can be used for input event capturing by applications, for instance by an X server, as part of RTOS-864. Mouse support and virtual devices are opt-in and can be enabled via board_config.h. JIRA: RTOS-896
Mouse events outputed on /mouse/dev are now always aligned in accordance to PS/2 protocol spec. Additionally, configurations steps must be skipped on real hardware, as they seem to be done by the real BIOS already (enabling mouse, enabling IRQ12 interrupt etc.) and redoing them may lead to blocking the controller. JIRA: RTOS-896
adamgreloch
force-pushed
the
adamgreloch/RTOS-896
branch
from
November 18, 2024 08:43
165e50b
to
6883a01
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA: RTOS-896, RTOS-864
Description
Adds PS/2 mouse support. Because PS/2 keyboard and mouse share the same I/O port, this required some heavy refactoring of ttypc_kbd driver. It also adds
/dev/kbd
and/dev/mouse
virtual devices, which can be used for input event capturing by applications, for instance by an X server, as part of RTOS-864.Mouse support and virtual devices are opt-in and can be enabled via
board_config.h
.Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment
_projects/ia32-generic-qemu: add pc-tty mouse/vdevs config options phoenix-rtos-project#1135