home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20875 < prev    next >
Encoding:
Text File  |  1992-12-18  |  2.0 KB  |  42 lines

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