home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
- Subject: Re: keyboard problems - v.99
- Message-ID: <1992Dec17.210800.13612@klaava.Helsinki.FI>
- Organization: University of Helsinki
- References: <1992Dec17.155617.1581@saifr00.cfsat.honeywell.com> <1992Dec17.195705.10601@unislc.uucp>
- Date: Thu, 17 Dec 1992 21:08:00 GMT
- Lines: 31
-
- In article <1992Dec17.195705.10601@unislc.uucp> erc@unislc.uucp (Ed Carp) writes:
- >Dean Troyer (troyer@saifr00.cfsat.honeywell.com) wrote:
- >
- >: Port 61 is listed in my BIOS reference as being the PS/2 System Port B, although
- >: it's not unique to PS/2s. It's uses include the speaker hardware & timer
- >: control bits. Check out the Mach sources kd.h. The bummer is that I can't
- >: find the purpose of bit 7 documented anywhere! I suspect it controls one
- >: of the keyboard controller's input pins.
- >
- >Bit 7: input - 1=IRQ 0 reset (timer 0 output latch)
- > output- Parity check state (1=parity check occurred)
- >
- >This is from "The Programmer's PC Sourcebook" by Thom Hogan. An absolute
- >*must* if you're going to be mucking about with the hardware. :)
-
- You can stop wondering about it: somebody pointed out that it was needed
- only for the original PC to accnowledge the character, so I removed it
- and it works just fine. So as of 0.99.1 there won't be any playing
- around with port 0x61 in the keyboard driver.
-
- And if somebody is wondering, then no, I haven't had much experience
- with PC hardware before linux. So most of the drivers are a collection
- of info gleaned from various sources, glued together by prayers and
- trial-and-error. Or something like that. I remember beating my head
- against the wall for a week before I got the first serial drivers
- working: I had the chipset data-sheets, but they didn't mention the
- PC'ism of enabling interrupts by setting the out_2 bit... I finally
- found the info in a comment from some PD communications software that
- came with source.
-
- Linus
-