xorg.conf

This board posts about running linux on your webdt366
Post Reply
quotaholic
Administrator
Administrator
Posts: 569
Joined: Tue Mar 24, 2009 9:11 pm

xorg.conf

Post by quotaholic »

Hey All,

Happy Saturday. Wondering if anyone has a DT running one of the linux images I have made? If so can you possible copy the xorg.conf file to a post here? During my recent move I lost track of a lot of files. Toying with Slackware 13 on a DT360 and I am too lazy to write it out manually.

Thanks in advance
quotaholic
quotaholic
Administrator
Administrator
Posts: 569
Joined: Tue Mar 24, 2009 9:11 pm

Re: xorg.conf

Post by quotaholic »

Lets see if the xorg.conf file from puppy will work.
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads xtrap extension, used by xrandr
    Load      "xtrap"

# This loads the GLX module (if present)
    Load      "glx"

# This loads dri module (if present)
    Load      "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath "/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath  "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
Identifier    "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Penmount" "AlwaysCore"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbRules" "xorg"
Option      "XkbModel" "pc102"
Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "IMPS/2" #mouse0protocol
Option     "Device" "/dev/mouse"
#Option      "Emulate3Buttons"
#Option      "Emulate3Timeout" "50"
Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "InputDevice"
Identifier "PenMount"
Driver "penmount"
Option "Protocol" "PM9000"
Option "Device" "/dev/ttyS0"
Option "PMode" "1"
Option "MinX" "10"
Option "MaxX" "1000"
Option "MinY" "10"
Option "MaxY" "1000"
Option "ADBit" "10"
Option "Baudrate" "19200"
Option "Beep" "0" #  0 = no beep, 1 = beep enabled
Option "PressVol" "100" #  volume of beep (press event)
Option "PressPitch" "880" #  pitch of beep (press event)
Option "PressDur" "15" #  length of beep in 10ms (press event)
Option "ReleaseVol" "0" #  volume of beep (release event)
Option "ReleasePitch" "1200" #  pitch of beep (release event)
Option "ReleaseDur" "10" #  len of beep in 10ms (release event)
Option "RightButton" "0" #  right button active in ms
Option "RightButtonStart" "500" #  right button active in ms
Option "RightButtonEnd" "900" #  right button inactive in ms
Option "PenDownMode" "0" #  0=stream mode, 1=point mode
EndSection

Section "Monitor"
Identifier  "Monitor0"
VendorName  "Monitor Vendor"
ModelName    "Monitor Model"
HorizSync    31.5-37
VertRefresh  40-70
#UseModes    "Modes0" #monitor0usemodes
Option      "PreferredMode" "800x600"
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option    "SWcursor"          # []
#Option    "HWcursor"          # []
#Option    "NoCompression"      # []
#Option    "NoAccel"            # []
#Option    "TV"                # []
#Option    "TV_Output"          # []
#Option    "TVOverscan"        # []
#Option    "TV_Encoder"        # []
#Option    "TV_Bus_Fmt"        # []
#Option    "TV_Flags"          # []
#Option    "TV_601_Flags"      # []
#Option    "TV_Vsync_Select"    # []
#Option    "TV_Conversion"      # []
#Option    "ShadowFB"          # []
#Option    "Rotate"            # []
#Option    "FlatPanel"          # []
#Option    "CrtEnable"          # []
#Option    "ColorKey"          #
#Option    "OSMImageBuffers"    #
#Option    "OSMColorExpBuffers" #
#Option    "CustomMode"        # []
#Option    "FPDestGeom"        # []
#Option    "FPActiveGeom"      # []
Identifier  "Card0"
Driver      "nsc" #card0driver
VendorName  "National Semiconductor Corporation"
BoardName  "Geode GX2 Graphics Processor"
BusID      "PCI:0:1:1"
EndSection

Section "Screen"
Identifier "Screen0"
Device    "Card0"
Monitor    "Monitor0"
    DefaultDepth 16
    Subsection "Display"
        Depth      16
        Modes      "800x600"
    EndSubsection
EndSection

#PuppyHardwareProfile=Advanced_Micro_Devices
quotaholic
Administrator
Administrator
Posts: 569
Joined: Tue Mar 24, 2009 9:11 pm

Re: xorg.conf

Post by quotaholic »

negative
volkswagner
Administrator
Administrator
Posts: 144
Joined: Sat Mar 28, 2009 2:27 am
Location: NewYork's 1st Capitol
Contact:

Re: xorg.conf

Post by volkswagner »

From Debian LXDE image....an early one.

Code: Select all

webdt@WebDT366:~$ uname -a
Linux WebDT366 2.6.26-1-486 #1 Sat Jan 10 17:46:23 UTC 2009 i586 GNU/Linux

Code: Select all

webdt@WebDT366:~$ cat /etc/X11/xorg.conf

Code: Select all

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# 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 "InputDevice"
  Identifier  "Penmount"
  Driver    "penmount"
  Option  "Device"           "/dev/ttyS0"
  Option  "Protocol"         "PM9000"
  Option  "BaudRate"         "19200"
  Option  "ADBit"            "10"
  Option  "ConfigFile"       "/etc/penmount.dat"
  Option  "Button2"          "3"  # 1=left, 2=middle, 3=right
  Option  "PenDownMode"      "0"  # 0=stream mode, 1=point mode
  Option  "HoldTime"         "325"  # how long ms to launch the 2nd button
  Option  "ScreenScale"      "0"  # screen scale enable/disable
  Option  "LockWindowRange"  "32"  # range for press and hold
  Option  "CalibHoldTime"    "750"  # hold time for calibration
  Option  "XMinOffset"       "10"  # edge compensation
  Option  "XMaxOffset"       "10"
  Option  "YMinOffset"       "10"
  Option  "YMaxOffset"       "10"
  Option  "StdXMin"          "30"  # standard calibration
  Option  "StdXMax"          "990"
  Option  "StdYMin"          "30"
  Option  "StdYMax"          "990"
  Option  "Beep"             "1"  # 0=off, 1=down, 2=up, 3=down+up
  Option  "PressVol"         "100"  # 0 = slience
  Option  "PressPitch"       "880"  # freq. (Hz)
  Option  "PressDur"         "15"  # duration (1~255)
  Option  "ReleaseVol"       "0"  # 0 = slience
  Option  "ReleasePitch"     "1200"  # freq. (Hz)
  Option  "ReleaseDur"       "10"  # duration (1~255)
  Option  "AveragePoint"     "0"  # average point (0,4,8)
  Option  "Rotation"         "1"  # rotation (1,2,4,8)
  Option  "DebugLevel"       "0"  # debug
EndSection

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

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
        DefaultDepth 24
          SubSection "Screen"
              Depth 16
              Modes "800x600"
          EndSubSection
          SubSection "Screen"
              Depth 24
              Modes "800x600"
          EndSubSection
       
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
  

  InputDevice  "Penmount" "SendCoreEvents"
EndSection
Hope it helps. 
Nothing is ever easy, but if it is difficult you must be doing it wrong.
My Wife's invention Doll Carrier
quotaholic
Administrator
Administrator
Posts: 569
Joined: Tue Mar 24, 2009 9:11 pm

Re: xorg.conf

Post by quotaholic »

Thank you Volkswagner! This got me on track.
DyncNene73
Newbie
Newbie
Posts: 8
Joined: Tue Sep 08, 2009 10:43 am
Location: United States
Contact:

xorg conf

Post by DyncNene73 »

When I exec cmd
Code:Xorgor
Code:startxI have a problem screen size or refrash rate my display, I dont see on display console, Im see only warning message on the monitor screen.

When I exec cmd
Code:Xorg -config /root/xorg.conf.newThis is config file crate exec cmd
Code:Xorg -configureWhen locate a default config file Xorg?
quotaholic
Administrator
Administrator
Posts: 569
Joined: Tue Mar 24, 2009 9:11 pm

Re: xorg.conf

Post by quotaholic »

That would mean that you are using a configuration that the hardware does not support or that there are contextual errors in the xorg.conf file. The onboard ability that some distros have to make an xorg file will not work on the DT366 as they often allow a 1024x768 resolution pass and that will not work for us as the DT366/360 is 800x600 only.
Post Reply