[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

working xorg.conf i promised



# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Then it was modified by hand merging with ppc xorg.conf that worked and
# further editing to include framebuffer modes (output of fbset -x).
# so far it only works on my q630 and FAILS on my q605
# also only tested with unstable/xorg7.2 (etch is 7.1) .... BCM 5/29/07
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
       RgbPath      "/usr/share/X11/rgb"
       ModulePath   "/usr/lib/xorg/modules"
       FontPath     "/usr/share/fonts/X11/misc/"
       FontPath     "/usr/share/fonts/X11/TTF/"
       FontPath     "/usr/share/fonts/X11/OTF"
       FontPath     "/usr/share/fonts/X11/Type1/"
       FontPath     "/usr/share/fonts/X11/CID/"
#       FontPath     "/usr/share/fonts/X11/100dpi/"
       FontPath     "/usr/share/fonts/X11/75dpi/"
EndSection


Section "Module"
       Load  "extmod"
       Load  "dbe"
       Load  "dri"
       Load  "glx"
       Load  "record"
       Load  "xtrap"
       Load  "freetype"
       Load  "type1"
EndSection

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "kbd"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "macintosh"
       Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/psaux"
#       Option          "Protocol"              "PS/2"
       Option          "Protocol"              "auto"
       Option          "Emulate3Buttons"       "true"
       Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Device"
       Identifier      "FB"
       Option  "ShadowFB"      "true"
       Driver          "fbdev"
       Option          "UseFBDev"              "true"
       VideoRam              600
EndSection

Section "Monitor"
       Identifier      "emachines"
       DisplaySize 35 22
       UseModes                "800x600"
       UseModes                "640x480"
       HorizSync 28-70
       VertRefresh 40-120
#       Gamma 2.075 2.025 1.375
       Option          "DPMS"
EndSection
Section "Modes"
       Identifier "800x600"
#
#       fbset 800x600-60
#       !test this first : "fbi some_pic.jpg"
   Mode "800x600-60"
   # D: 40.000 MHz, H: 37.879 kHz, V: 60.317 Hz
   DotClock 40.001
   HTimings 800 856 984 1056
   VTimings 600 601 605 628
   Flags    "+HSync" "+VSync"
        EndMode
EndSection
# the 15 bit mode actually does not work right now.
Section "Modes"
       Identifier "640x480"
       #fbset 640x480-72
   Mode "640x480-66"
   # D: 29.999 MHz, H: 34.722 kHz, V: 66.136 Hz
   DotClock 30.000
   HTimings 640 720 784 864
   VTimings 480 483 486 525
   Flags    "-HSync" "-VSync"
        EndMode
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Device          "FB"
       Monitor         "emachines"
       DefaultDepth    8
       SubSection "Display"
               Viewport   0 0
               Virtual 800 600
#                Visual "GrayScale"
               Depth           8
       EndSubSection
       SubSection "Display"
               Viewport   0 0
               Depth           15
               Virtual 640 480
       EndSubSection
EndSection

Section "ServerLayout"
       Identifier      "Default Layout"
       Screen          "Default Screen"
       InputDevice     "Generic Keyboard"
       InputDevice     "Configured Mouse"
EndSection



Reply to: