List Info

Thread: Re: X Window problem




Re: X Window problem
country flaguser name
Hong Kong
2007-05-27 11:34:29
Hi Matthieu,


> First we need to know more about your hardware. 

Pls advise what additional information you need.

> Please send the
> /var/log/Xorg.0.log after a failed attempt to run X
(with or without
a 
> configuration file

Tks for reminding me to look at Xorg.0.log w/o a config
file.  I found
it needs "vesa" driver NOT "vga" driver.
 Now X Window starts with
correct resolution but the mouse pointer jumps around on
screen beyond
my control.


# cat /etc/X11/xorg.conf
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't
initialise the DGA
extension
    EndSubSection

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

EndSection


Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath  
"/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath  
"/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath  
"/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

#    Option     "Protocol"     
"Xqueue"

    Option "AutoRepeat" "500 30"


    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection


Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"      
# IntelliMouse PS/2
    Option "Device"      "/dev/wsmouse"
    Option "ZAxisMapping"   "4 5"

EndSection


Section "Monitor"

    Identifier  "My Monitor"

     HorizSync   31.5 - 60

     VertRefresh 56.2 - 75.1

EndSection

#
************************************************************
**********
# Graphics device section
#
************************************************************
**********

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be
used to
override
# the driver's chipset detection, and should not normally be
specified.

#   Chipset     "generic"

    Driver     "seva"

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "My Video Card"
    Driver      "seva"
    # unsupported card
    VideoRam    16384
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "My Video Card"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and
optionally
# the relative position of other screens.  The four names
after
# primary screen name are the screens to the top, bottom,
left and
right
# of the primary screen.  In this example, screen 2 is
located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section
name and
# optionally some options to specify the way the device is
to be
# used.  Those options include "CorePointer",
"CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1"
"CoreKeyboard"

EndSection
* end *


Any advice?  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yah
oo.com 


Re: X Window problem
country flaguser name
Canada
2007-05-27 13:07:42
Stephen Liu wrote:
> Hi Matthieu,
> 
> 
>> First we need to know more about your hardware. 
> 
> Pls advise what additional information you need.
> 
>> Please send the
>> /var/log/Xorg.0.log after a failed attempt to run X
(with or without
> a 
>> configuration file
> 
> Tks for reminding me to look at Xorg.0.log w/o a config
file.  I found
> it needs "vesa" driver NOT "vga"
driver.  Now X Window starts with
> correct resolution but the mouse pointer jumps around
on screen beyond
> my control.
> 
> 
> # cat /etc/X11/xorg.conf
> Section "Module"
> 
> # This loads the DBE extension module.
> 
>     Load        "dbe"   # Double buffer
extension
> 
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"   # don't
initialise the DGA
> extension
>     EndSubSection
> 
> # This loads the font modules
>     Load        "type1"
> #    Load        "speedo"
>     Load        "freetype"
> #    Load        "xtt"
> 
> EndSection
> 
> 
> Section "Files"
> 
>     RgbPath     "/usr/X11R6/lib/X11/rgb"
> 
>     FontPath  
"/usr/X11R6/lib/X11/fonts/misc/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/TTF/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/Type1/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/CID/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/75dpi/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/100dpi/"
>     FontPath  
"/usr/X11R6/lib/X11/fonts/local/"
> #    FontPath  
"/usr/X11R6/lib/X11/fonts/Speedo/"
> #    FontPath  
"/usr/X11R6/lib/X11/fonts/TrueType/"
> #    FontPath  
"/usr/X11R6/lib/X11/fonts/freefont/"
> 
> # The module search path.  The default path is shown
here.
> 
> #    ModulePath "/usr/X11R6/lib/modules"
> 
> EndSection
> 
> 
> Section "InputDevice"
> 
>     Identifier  "Keyboard1"
>     Driver      "kbd"
> 
> #    Option     "Protocol"     
"Xqueue"
> 
>     Option "AutoRepeat" "500 30"
> 
> 
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "pc101"
>     Option "XkbLayout"  "us"
> 
> EndSection
> 
> 
> Section "InputDevice"
> 
> # Identifier and driver
> 
>     Identifier  "Mouse1"
>     Driver      "mouse"
>     Option "Protocol"    "IMPS/2"  
    # IntelliMouse PS/2
		           ^^^^^^^
change that to "wsmouse".

>     Option "Device"     
"/dev/wsmouse"
>     Option "ZAxisMapping"   "4 5"
> 
> EndSection
> 
> 
> Section "Monitor"
> 
>     Identifier  "My Monitor"
> 
>      HorizSync   31.5 - 60
> 
>      VertRefresh 56.2 - 75.1
> 
> EndSection
> 
> #
>
************************************************************
**********
> # Graphics device section
> #
>
************************************************************
**********
> 
> # Standard VGA Device:
> 
> Section "Device"
>     Identifier  "Standard VGA"
>     VendorName  "Unknown"
>     BoardName   "Unknown"
> 
> # The chipset line is optional in most cases.  It can
be used to
> override
> # the driver's chipset detection, and should not
normally be specified.
> 
> #   Chipset     "generic"
> 
>     Driver     "seva"
                  ^^^^^^
                  typo ?
> 
> EndSection
> 
> # Device configured by xorgconfig:
> 
> Section "Device"
>     Identifier  "My Video Card"
>     Driver      "seva"
                    ^^^^
		   Ugh ?

>     # unsupported card
>     VideoRam    16384
> EndSection
> 
> 
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "My Video Card"
>     Monitor     "My Monitor"
>     DefaultDepth 24
> 
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
> 
> 
> Section "ServerLayout"
> 
> # The Identifier line must be present
>     Identifier  "Simple Layout"
> 
> # Each Screen line specifies a Screen section name, and
optionally
> # the relative position of other screens.  The four
names after
> # primary screen name are the screens to the top,
bottom, left and
> right
> # of the primary screen.  In this example, screen 2 is
located to the
> # right of screen 1.
> 
>     Screen "Screen 1"
> 
> # Each InputDevice line specifies an InputDevice
section name and
> # optionally some options to specify the way the device
is to be
> # used.  Those options include "CorePointer",
"CoreKeyboard" and
> # "SendCoreEvents".
> 
>     InputDevice "Mouse1"
"CorePointer"
>     InputDevice "Keyboard1"
"CoreKeyboard"
> 
> EndSection
> * end *
> 
> 
> Any advice?  TIA
> 
> 
> B.R.
> Stephen
> 
> Send instant messages to your online friends http://uk.messenger.yah
oo.com 


-- 
Matthieu Herrb


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )