Comments (4)
First of all there is a document ijn the library folder called PS2 Keyboard.pdf (also viewable from here under the code section).
NO on the many keyboards myself and ohers who have used this library have found there is NO multiple or constant 0xAA, there is ONE. with CORRECT parity.
To get multiple 0xAA whether oarity right or wrong is a DIFFERENT fault, normally bad power connections or power dipping because keyboard draws too much power from +5V. Causing keyboard to reset multiple times. Either that or you have a very old XT keyboard with different protocol, or it is using a strange NOT PS2 mode or a very strange Scan Code set.
0xAA is ONLY used for Power Up and Self Test PASSED with CORRECT parity.
0xFE (from either end) is resend last byte and not acknowledge for PS2 keyboards Usually resend due to parity ERRORS.
Lights/LEDs going On then Off is NOT part of PS2 keyboard initialisation, it is a Windows/BIOS/UEFI action to SEND commands to do this, see document mentioned above, page 17 Initialisation from an i8042 controller in a PC.
This is the FIRST time someone claimed multiple 0xAA at power up.
I suspect strange or faulty keyboard or faulty power (wiring or not enough current available).
from ps2keyadvanced.
Thank you for the feedback. I'll continue to analyze this set of messages on my keyboard and try to pinpoint its origin.
from ps2keyadvanced.
Hey @SteveGuidi I'm having the same issue- did you find a solution?
from ps2keyadvanced.
@skrinsky Sorry, I have not had a chance to resume working on my project yet. I would like to try the suggestion of powering the keyboard from an external regulated 5V supply next. I'm using the regulated supply on the Arduino Nano right now, and although it should be capable of providing the required 100mA, testing with an external supply will help eliminate variables.
For what its worth, my keyboard is very likely a dual PS/2 and USB keyboard. I have replaced the PS/2 connector with a USB-A connector (wired as if the PS/2 connector were going through a passive adapter) and my computer detects and enables it without any problems.
from ps2keyadvanced.
Related Issues (20)
- Analog Input, is it possible? HOT 2
- Support for STM8S mcu (SDUINO) HOT 9
- Toggle typematic on/off entirely? HOT 2
- CODE AA error HOT 6
- Hold CAPS HOT 3
- Host-to-Device: Initial Clock low too short HOT 3
- increase buffer ?? HOT 3
- ESP32 garbage values HOT 9
- Arduino Nano Every ( MegaAVR board) Serial HOT 1
- My board does not work with this library
- ` and ~ keys and Keyboard . does not work HOT 1
- Send own bytes to keyboard HOT 3
- Pause key gives wrong code. setLock(.) doesn't work in setup() HOT 19
- 2 keyboards in 1 board HOT 3
- After pressing the NUMLOCK key, there is no response when any key is pressed. HOT 17
- weird mapping in some cases and no shift
- Missing release `V1.0.10`? HOT 2
- Keyboard almost working
- Parity in argument bytes sent from host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ps2keyadvanced.