home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15970 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  3.8 KB

  1. Path: sparky!uunet!utcsri!turing.toronto.edu!ruhtra
  2. Newsgroups: comp.os.linux
  3. From: ruhtra@turing.toronto.edu (Arthur Tateishi)
  4. Subject: Re: X with ATI Wonder 28800-2
  5. Message-ID: <1992Nov7.032438.10230@jarvis.csri.toronto.edu>
  6. Organization: CSRI, University of Toronto
  7. References: <1992Nov6.234021.868@news.Hawaii.Edu>
  8. Date: 7 Nov 92 08:24:38 GMT
  9. Lines: 92
  10.  
  11. In article <1992Nov6.234021.868@news.Hawaii.Edu> lee@Hawaii.Edu (Greg Lee) writes:
  12. >
  13. >ruhtra@turing.toronto.edu (Arthur Tateishi) wrote:
  14. >
  15. >}I've got XFree86-1.1 working on my ATI VGA Charger(28800-4), recognized
  16. >}as V6. With the help of Wayne Hayes, we have pinpointed it to
  17. >}the first value in the extraPlusXLAndOrMasks array in driver.c.
  18. >}The 28 needs to be changed to 31.
  19. >
  20. >This also works for my version of the ATI VGA Wonder, which X recognizes
  21. >as:
  22. >  ATI BIOS Information Block:
  23. >   Signature code:                31 = VGA WONDER
  24. >   Chip version:                  3 =  ATI 28800-2
  25. >   BIOS version:                  1.3
  26. >   Byte at offset 0x42 =          0x11
  27. >   Byte at offset 0x44 =          0x49
  28. >
  29. >  This video adapter is a:        VGA WONDER PLUS (V6)
  30. >  Amount of RAM on video adapter: 512k
  31. >
  32.  
  33. **Sappy Gushing on**
  34. When I first heard about Linux about a year ago, it sounded
  35. (as an outsider) like Linus was doing a solo. I got involved
  36. back in July after getting a decent new machine and I currently
  37. see Linux as an incredibly successful international project
  38. with many builders.
  39. I'd just like to echo the many accolades we regularly see
  40. and express my thanks to the many many contributors.
  41. **Sappy Gushing off**
  42.  
  43. I figure it's good enough news to let the world know.
  44. It's feasible to patch the binary X386 image to get things
  45. to work with the Wonder Plus set of cards. I've copied one
  46. of my recent mailings below. Ric Faith has incorporated the
  47. tweak into the XFree86 sources so it should be in the next
  48. release. However, I'm presuming that won't be for a little
  49. while. Meanwhile, you can apply the fix to the binary directly.
  50.  
  51. Ok, I have yet another data point for my patch. Martin Rex informs
  52. me that (not surprisingly) the location is different for the
  53. two versions of x11 v2.0 and v2.1. I've repeated my message to Martin
  54. below with part of his response inserted. Use whatever means you have
  55. to do the byte patch. Just make a backup copy of X386 to be safe.
  56.  
  57. arthur
  58.  
  59. The byte that needs changing is offset 0xbf4dc, I believe.
  60. Change the 0x28 there to a 0x31. I've never patched binaries
  61. before so I have no idea if this will work.
  62.  
  63. From:    mrex@aix01.rz.fht-mannheim.de (Martin Rex)
  64.     Ok, your patch was for the binary of x11_v2.0, the offset is different
  65.     for xfree86_1.1 (=x11_v2.1).  If you search for the byte sequence
  66.     00D9280187 in the X-Server binary "X386", then you find the right
  67.     location in both Versions.
  68.  
  69.     locate in original Code:    00D9280187
  70.                     ^^
  71.     replace sequence with this: 00D9310187
  72.  
  73. You should also setup your clocks in the Xconfig as in the following.
  74. #
  75. # The graphics drivers
  76. #
  77. vga256
  78.   Virtual    800 655
  79.   ViewPort      0 0
  80.   Modes            "640x480" "800x600d"
  81.   Clocks 18 22 25 28 36 44 50 56
  82.      30 32 37 39 40 0  75 65
  83.   Pseudocolor
  84.   Chipset    "ati"
  85.   Videoram    512
  86.  
  87. ModeDB
  88. # clock  horzontal timing      vertical timing
  89.  "640x480"   25     640  672  768  800    480  490  492  525
  90.  "640x480a"  28     640  672  768  800    480  490  492  525
  91.  
  92.  "800x600d"  36     800  824  896 1024    600  608  610  633
  93.  "800x600"   36     800  816  952 1056    600  608  610  633
  94.  "800x600a"  36     800  832  966  966    600  600  609  631
  95.              39     800  872  968 1104    600  600  606  624
  96.  
  97.  
  98. -- 
  99. "The first fact to face is that UNIX was not developed with security, in any
  100. reliable sense, in mind; this fact alone guarantees a vast number of holes."
  101.     -- "On the Security of UNIX", Dennis M. Ritchie
  102. Arthur Tateishi                 ruhtra@turing.utoronto.ca
  103.