home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21463 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!sgiblab!bridge2!gilligan!camerons
  2. From: cls@truffula.sj.ca.us (never mind)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Serial driver issues
  5. Summary: wire-OR circuit
  6. Keywords: hack chop scrape gouge
  7. Message-ID: <1435@bridge2.NSD.3Com.COM>
  8. Date: 22 Dec 92 22:28:33 GMT
  9. References: <1992Dec22.055745.25095@athena.mit.edu>
  10. Sender: news@bridge2.NSD.3Com.COM
  11. Reply-To: cls@truffula.sj.ca.us
  12. Lines: 59
  13. Nntp-Posting-Host: gilligan.nad.3com.com
  14.  
  15.  
  16. In article 25095@athena.mit.edu, tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  17. >This needs to be added to the Serial FAQ!
  18. >
  19. >Due to limitations in the ISA hardware bus, it is *not* possible for two
  20. >serial ports (to wit, COM1 and COM3) to share an IRQ simultaneously.
  21. >You need to take one of your serial boards and rejumper it to use
  22. >another IRQ, such as IRQ 2 or IRQ 5.  Otherwise, it simply won't work.
  23. >
  24. >It is true that there are some hardware hacks around that allow two
  25. >boards to share an IRQ simulatenously.  Most of them are not reliable,
  26. >and will just get you into trouble; therefore, I do not recommend them.
  27. >
  28. >                            - Ted
  29.  
  30.  
  31. I agree with Theodore: wire-ORing the interrupt is
  32. an ugly hack!  But for those who insist, here's a
  33. relatively reliable way to do it.
  34.  
  35. 1.  Banish all thought from your mind of faking 
  36. this with diodes, relays, or bits of string! 
  37.  
  38. 2.  Break the IRQ trace you intend to share. 
  39. Insert a 74LS241 (3-state line driver chip) in the
  40. broken trace:
  41.         
  42.   +5V     11  |~~~\  9  new IRQ 
  43.     ----------|    >---------------(___) card edge    
  44.               |___/   
  45.                 | 
  46.    old IRQ      | 19    
  47.     ------------+  
  48.  
  49. The 'LS241 requires +5V on pin 20 and ground on pin 10. 
  50. You can leave the remaining pins (15 of them) unconnected. 
  51. (Mechanical details are left to you.  Make sure the
  52. '241 is physically secure and not shorting to anything.) 
  53. Do this to each card you are hacking.  Do not mix
  54. hacked and unhacked cards on the same IRQ.
  55. Do not use anything but a 74LS241.
  56.  
  57. 3.  Pick *one* of the hacked cards and add a 470 ohm 
  58. resistor from the new (shared) IRQ to ground.  This
  59. swamps the pullup on the motherboard, we hope.
  60.  
  61. WARNING:  Nobody will respect your warranty once they 
  62. catch you doing stuff like this, and I can't say I 
  63. blame them! 
  64.  
  65. DISCLAIMER:  Your hardware will be destroyed if you
  66. attempt this!  Go back!  Danger!  This article does not
  67. represent my employer's opinion, or mine, or anybody's.
  68. I never posted it!  What article?
  69.  
  70. Cameron
  71. (I'll be away for a week.  Happy Holidays and thanks to
  72. all the kind folks who've helped make this system real!)
  73.  
  74.