Skip to content
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

PS/2 Driver #4

Open
thejpster opened this issue Jun 25, 2021 · 6 comments
Open

PS/2 Driver #4

thejpster opened this issue Jun 25, 2021 · 6 comments

Comments

@thejpster
Copy link
Member

We need a generic PS/2 driver that works on GPIO pins and interrupts. We can then stand up two of them - one for keyboard, one for mouse.

@thejpster
Copy link
Member Author

Requires #6 so the devices get power

@thejpster
Copy link
Member Author

Note that pins must be inputs floating whilst the DC PSU is off, to avoid back-powering the PS/2 device.

@thejpster
Copy link
Member Author

#17 brings in pc-keyboard. This might need splitting into a generic PS/2 transport, and then a keyboard decoder.

@thejpster
Copy link
Member Author

This is a good guide to how the PC keyboard controller works.

https://www.win.tue.nl/~aeb/linux/kbd/scancodes-11.html#ss11.1

@thejpster
Copy link
Member Author

Keyboard reads work but need write support to alter LEDs and also to turn the mouse on.

@thejpster
Copy link
Member Author

Also consider turning off PS/2 port when we're busy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant