Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Keyboard
- To: tlug@example.com
- Subject: Re: Keyboard
- From: Christopher SEKIYA <wileyc@example.com>
- Date: Mon, 26 Mar 2001 12:17:00 +0900
- Content-Disposition: inline
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <00f701c0b5a1$05fe06f0$0f01a8c0@example.com>; from Norman.Diamond@example.com on Mon, Mar 26, 2001 at 12:00:41PM +0900
- References: <20010324151016.A28449@example.com> <003501c0b56b$5f19ac20$0f01a8c0@example.com> <20010326112727.A13406@example.com> <00f701c0b5a1$05fe06f0$0f01a8c0@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <KG3FhD.A.bvH.1brv6@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.2.5i-jp0
On Mon, Mar 26, 2001 at 12:00:41PM +0900, SN_Diamond wrote: > OK, you haven't seen the two I've used, and I haven't seen most or all of > the ones you've seen. Fair enough. > So they're smarter than most OSes and BIOSes? They have to be. From the comp.sys.ibm.pc.hardware FAQ, section 3.26: The AT uses a 5-pin DIN and the PS/2 uses a smaller connector with the same signals: 1 CLK/CTS (open-collector) 2 RxD/TxD/RTS (open-collector) 3 Not connected or Reset 4 GND 5 +5V Now the interface is bi-directional. When the computer wants to send a byte to the keyboard, it asserts RTS and releases CTS. If you're lucky, the keyboard isn't deciding to transmit at the same time and it responds by giving 10 clock pulses (at about 10000 baud) on the CLK line. The computer shifts a frame out on TxD on rising clock edges. The frame format is now 1 start bit, 8 data bits and 1 odd parity bit. The keyboard takes RTS being held low as the first start bit, and the first data bit should be sent on TxD after the first clock edge is received. Yes, now you need a full UART for the keyboard interface since you have to both transmit and receive and generate and check parity (but it's still not RS-232- that would have been too logical). Why do you need parity checking on a three foot long keyboard cable? Because collisions can occur since the lines are so overloaded with signals with different meanings and parity provides the means for detecting these collisions. (end included text) The USB keyboard spec is an encapsulation of the above. -- Chris
- References:
- Keyboard
- From: Tobias Diedrich <ranma@example.com>
- Re: Keyboard
- From: "SN_Diamond" <Norman.Diamond@example.com>
- Re: Keyboard
- From: Christopher SEKIYA <wileyc@example.com>
- Re: Keyboard
- From: "SN_Diamond" <Norman.Diamond@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Keyboard
- Next by Date: ISDN
- Prev by thread: Re: Keyboard
- Next by thread: ISDN
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links