diff options
author | Matt Wilson <msw@redhat.com> | 2000-06-20 06:52:25 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-06-20 06:52:25 +0000 |
commit | 33efa0a036e37e797806089e019ef59e39e5da6a (patch) | |
tree | be271fdebd544e9df7dd441e70d69fce37a6782c /xf86config.py | |
parent | d0144760863d7c48797562a766a2b156dbf988e0 (diff) | |
download | anaconda-33efa0a036e37e797806089e019ef59e39e5da6a.tar.gz anaconda-33efa0a036e37e797806089e019ef59e39e5da6a.tar.xz anaconda-33efa0a036e37e797806089e019ef59e39e5da6a.zip |
step 1 of getting X on sparc again
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py index f6fbd66b2..4e722d6e5 100644 --- a/xf86config.py +++ b/xf86config.py @@ -144,6 +144,8 @@ Section "Monitor" 480 491 493 525 EndSection +%(fbProbedMonitor)s + Section "Monitor" Identifier "%(monitorID)s" VendorName "Unknown" @@ -537,7 +539,7 @@ class XF86Config: self.monName = None self.monHoriz = "31.5" self.monVert = "60" - self.monSect = None + self.monSect = "" self.monID = "Unprobed Monitor" self.devID = None self.probed = 0 @@ -958,7 +960,9 @@ Section "Device" if len(modes) > 0 and string.atoi(depth) > maxdepth: maxdepth = string.atoi(depth) - if self.monID == "Unprobed Monitor": + if self.monSect: + monitor = "Probed Monitor" + elif self.monID == "Unprobed Monitor": monitor = "Generic Monitor" else: monitor = self.monID @@ -1003,6 +1007,7 @@ Section "Screen" "monitorID" : self.monID, "monitorHoriz" : self.monHoriz, "monitorVert" : self.monVert, + "fbProbedMonitor" : self.monSect, "files" : self.files } if iutil.getArch() == "sparc": info["autorepeat"] = "# AutoRepeat 200 20" |