Giter Site home page Giter Site logo

Comments (4)

techpaul avatar techpaul commented on July 23, 2024

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.

SteveGuidi avatar SteveGuidi commented on July 23, 2024

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.

skrinsky avatar skrinsky commented on July 23, 2024

Hey @SteveGuidi I'm having the same issue- did you find a solution?

from ps2keyadvanced.

SteveGuidi avatar SteveGuidi commented on July 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.