Lets modify cable wirings.
The PC"s keyboard implements a bi-directional protocol. The keyboard can send data (so called scan codes, unique for each button - one for button pressed, another for button released) to the Host and the Host can send data to the Keyboard. The keyboard is free to send data to the host when both the KBD Data and KBD Clock lines are high (Idle). The KBD Clock line can be used as a Clear to Send line. If the host takes the KBD Clock line low, the keyboard will buffer any data until the KBD Clock is released, i.e. goes high. Should the Host take the KBD Data line low, then the keyboard will prepare to accept a command from the host. The transmission of data in the forward direction, i.e. Keyboard to Host is done with a frame of 11 bits. The first bit is a Start Bit (Logic 0) followed by 8 data bits (LSB First), one Parity Bit (Odd Parity) and a Stop Bit (Logic 1). The Keyboard will generate the clock, typical frequency of the clock signal ranges from 20 to 30 Khz.
It's good practice to pull up data/clock lines with some resistors of 10k or so. Especially when connecting to newer motherboards. In some cases signal has levels between 1.5 and 2.5 volts, and mouse don't work. Pulling up helps in that situations and doesn't harm if unnecessary.
ReplyDelete