Hello,

I am trying to configure xorg.conf on a HP Pavilion N3330 to show one instance 
of X on its tilt-up screen and another instance of X on its external monitor.  
Currently, the external monitor shows the same content that the screen shows.

Here is the transcribed output of Xorg -scanpci:
(0:0:0) VIA Technologies, Inc. VT8501 [Apollo MVP4]
(0:1:0) VIA Technologies, Inc. VT8501 [Apollo MVP4 AGP]
(0:7:0) VIA Technologies, Inc. VT82C686 [Apollo Super South]
(0:7:1) VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus 
Master IDE
(0:7:2) unknown card (0x0925/0x1234) using a VIA Technologies, Inc. VT82xxxxx 
UHCI USB 1.1 Controller
(0:7:4) VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(0:10:0) unknown card (0x1801/0x0000) using a 02 Micro, Inc. 0Z6812 CardBus 
Controller
(0:13:0) unknown card (0x103c/0x000e) using a ESS Technology ES1983S Maestro-3i 
PCI Audio Accelerator
(0:13:1) unknown card (0x103c/0x000e) using a ESS Technology ES1983S Maestro-3i 
PCI Modem Accelerator
(1:0:0) unknown card (0x103c/0x000f) using a Trident Microsystems CyberBlade/i7d

lspci -v outputs...
00:00.0 Class 0600: 1106:0501 (rev 04)
        Flags: bus master, medium devsel, latency 16
        Memory at 20000000 (32-bit, prefetchable) [size=32M]
        Capabilities: [a0] AGP version 2.0

00:01.0 Class 0604: 1106:8501
        Flags: bus master, 66Mhz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: 40000000-470fffff
        Prefetchable memory behind bridge: 48000000-4f0fffff

00:07.0 Class 0601: 1106:0686 (rev 22)
        Flags: bus master, stepping, medium devsel, latency 0

00:07.1 Class 0101: 1106:0571 (rev 10) (prog-if 8a [Master SecP PriP])
        Flags: bus master, stepping, medium devsel, latency 64
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable)
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable)
        I/O ports at 1100 [size=16]
        Capabilities: [c0] Power Management version 2

00:07.2 Class 0c03: 1106:3038 (rev 10)
        Subsystem: 0925:1234
        Flags: bus master, medium devsel, latency 128, IRQ 10
        I/O ports at 3000 [size=32]
        Capabilities: [80] Power Management version 2

00:07.4 Class 8006: 1106:3057 (rev 30)
        Flags: medium devsel, IRQ 9
        Capabilities: [68] Power Management version 2

00:0a.0 Class 0607: 1217:6872 (rev 05)
        Subsystem: 103c:0016
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
        Memory at 22002000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 24000000-27fff000 (prefetchable)
        Memory window 1: 28000000-2bfff000
        I/O window 0: 00001800-000018ff
        I/O window 1: 00001c00-00001cff
        16-bit legacy interface ports at 0001

00:0d.0 Class 0401: 125d:1998
        Subsystem: 103c:000e
        Flags: bus master, medium devsel, latency 128, IRQ 5
        I/O ports at 3100 [size=256]
        Memory at 22000000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [c0] Power Management version 2

00:0d.1 Class 0780: 125d:1999
        Subsystem: 103c:000e
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at 3200 [size=256]
        Capabilities: [c0] Power Management version 2

01:00.0 Class 0300: 1023:8420 (rev 5d)
        Subsystem: 103c:000f
        Flags: bus master, 66Mhz, medium devsel, latency 8, IRQ 5
        Memory at 40000000 (32-bit, non-prefetchable) [size=8M]
        Memory at 40800000 (32-bit, non-prefetchable) [size=128K]
        Memory at 41000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 48000000 [disabled] [size=64K]
        Capabilities: [80] AGP version 1.0
        Capabilities: [90] Power Management version 1

lspci -t outputs...
-[00]-+-00.0
      +-01.0-[01]----00.0
      +-07.0
      +-07.1
      +-07.2
      +-07.4
      +-0a.0
      +-0d.0
      \-0d.1

I temporarily created entries for the external monitor by creating new sections 
for "Screen1", "Monitor1", and "Device1" in xorg.conf as shown immediately 
below, but  startx changed the driver entries in the device section from 
"trident" to "vesa".  This xorg.conf causes the errors shown in the log far 
below.
#Special base config file used in Puppy Linux.

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

# 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 <Crtl><Alt><Fn> 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"
        InputDevice "Synaptics Mouse" "AlwaysCore"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" "Above" "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
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" "auto" #mouse0protocol
        Option      "Device" "/dev/mouse"
        #Option      "Emulate3Buttons"
        #Option      "Emulate3Timeout" "50"
        #Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "InputDevice"
        Identifier "Synaptics Mouse"
        Driver "synaptics"
        Option "Device" "/dev/psaux"
        Option "Protocol" "auto-dev"
        Option "LeftEdge" "1700"
        Option "RightEdge" "5300"
        Option "TopEdge" "1700"
        Option "BottomEdge" "4200"
        Option "FingerLow" "25"
        Option "FingerHigh" "30"
        Option "MaxTapTime" "220"
        Option "MaxTapMove" "220"
        Option "VertScrollDelta" "100"
        Option "MinSpeed" "0.10"
        Option "MaxSpeed" "0.30"
        Option "AccelFactor" "0.0030"
        Option "SHMConfig" "on"
        #Option "Repeater" "/dev/ps2mouse"
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 "Monitor"
        Identifier   "Monitor1"
        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: <i>: integer, <f>: float, <bool>: "True"/"False",
        # <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        # [arg]: arg optional
        #Option     "AccelMethod"               # [<str>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "PciRetry"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SetMClk"                   # <freq>
        #Option     "MUXThreshold"              # <i>
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "NoMMIO"                    # [<bool>]
        #Option     "NoPciBurst"                # [<bool>]
        #Option     "MMIOonly"                  # [<bool>]
        #Option     "CyberShadow"               # [<bool>]
        #Option     "CyberStretch"              # [<bool>]
        #Option     "XvHsync"                   # <i>
        #Option     "XvVsync"                   # <i>
        #Option     "XvBskew"                   # <i>
        #Option     "XvRskew"                   # <i>
        #Option     "FpDelay"                   # <i>
        #Option     "Display1400"               # [<bool>]
        #Option     "Display"                   # [<str>]
        #Option     "GammaBrightness"           # [<str>]
        #Option     "TVChipset"                 # [<str>]
        #Option     "TVSignal"                  # <i>
        Identifier  "Card0"
        Driver      "vesa" #card0driver
        VendorName  "Trident Microsystems"
        BoardName   "CyberBlade/i7d"
        BusID       "PCI:1:0:0"
        Screen  0
EndSection

Section "Device"
        # Available Driver options are:-
        # Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        # <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        # [arg]: arg optional
        #Option     "AccelMethod"               # [<str>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "PciRetry"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SetMClk"                   # <freq>
        #Option     "MUXThreshold"              # <i>
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "NoMMIO"                    # [<bool>]
        #Option     "NoPciBurst"                # [<bool>]
        #Option     "MMIOonly"                  # [<bool>]
        #Option     "CyberShadow"               # [<bool>]
        #Option     "CyberStretch"              # [<bool>]
        #Option     "XvHsync"                   # <i>
        #Option     "XvVsync"                   # <i>
        #Option     "XvBskew"                   # <i>
        #Option     "XvRskew"                   # <i>
        #Option     "FpDelay"                   # <i>
        #Option     "Display1400"               # [<bool>]
        #Option     "Display"                   # [<str>]
        #Option     "GammaBrightness"           # [<str>]
        #Option     "TVChipset"                 # [<str>]
        #Option     "TVSignal"                  # <i>
        Identifier  "Card1"
        Driver      "vesa" #card0driver
        VendorName  "Trident Microsystems"
        BoardName   "CyberBlade/i7d"
        BusID       "PCI:1:0:0"
        Screen 1
EndSection

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

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes       "800x600"
    EndSubsection
EndSection

#PuppyHardwareProfile=Copyright_1998_TRIDENT

------------------
-------Log--------
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux puppypc 2.6.25.16 #1 Tue Aug 26 10:45:53 GMT-8 
2008 i586
Build Date: 28 November 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec  6 22:49:32 2008
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 87 of section ServerLayout in file /etc/X11/xorg.conf
        The Screen keyword must be followed by an optional number, a screen name
        in quotes, and optional position/layout information.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor

Thank you in advance for your help.

Guy

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to