You are not logged in.

#1 2009-06-16 20:28:54

fmma
Member
From: London
Registered: 2008-07-25
Posts: 25

help external monitor on a netbook (HP2133)

Dear Arch Users,

maybe someone knows the answer for my problem. I have installed Arch on a HP netbook (HP 2133). Openchrome driver doesn't work, so I use the vesa X11 driver. The default screen has a very high resolution for a 8.9 inch display 1200x768. I need to give presentations and would like to connect a beamer to the external VGA port.
I can't get the output on the VGA port at all. F2 key which should direct the screen to the VGA doesn't work. See below my x11 conf file.

I hope someone has an suggestion.


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
#        InputDevice    "USB Mouse" "CorePointer"
        InputDevice    "SynapticsTouchpad" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "record"
        Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
#
   Identifier  "SynapticsTouchpad"
   Driver      "synaptics"
   Option      "AlwaysCore"        "true"  # send events to CorePointer
  #Option      "Device"            "/dev/input/mice"
   Option      "Device"            "/dev/psaux"
   Option      "Protocol"          "auto-dev"
   Option      "SHMConfig"         "false" # configurable at runtime? security risk
   Option      "LeftEdge"          "1700"  # x coord left
   Option      "RightEdge"         "5300"  # x coord right
   Option      "TopEdge"           "1700"  # y coord top
   Option      "BottomEdge"        "4200"  # y coord bottom
   Option      "FingerLow"         "25"    # pressure below this level triggers release
   Option      "FingerHigh"        "30"    # pressure above this level triggers touch
   Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
   Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
   Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
   Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
   Option      "CoastingSpeed"     "0.30"  # corner coasting speed
   Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
   Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
   Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
   Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
   Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
   Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
   Option      "HorizTwoFingerScroll"  "true"    # horizontal scroll anywhere with two fingers
   Option      "TapButton1" "1"
   Option      "TapButton2" "2"
   Option      "TapButton3" "3"
#
#        Identifier  "SynapticsTouchpad"
#        Driver      "synaptics"
#        Option      "AlwaysCore"   "true"
#        Option      "Device"   "/dev/psaux"
#        Option      "Protocol"   "auto-dev"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
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     "PrintVGARegs"           # [<bool>]
        #Option     "PrintTVRegs"            # [<bool>]
        #Option     "I2CScan"                # [<bool>]
        #Option     "VBEModes"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ExaNoComposite"         # [<bool>]
        #Option     "ExaScratchSize"         # <i>
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoRAM"               # <i>
        #Option     "ActiveDevice"           # [<str>]
        #Option     "BusWidth"               # [<str>]
        #Option     "Center"                 # [<bool>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForcePanel"             # [<bool>]
        #Option     "TVDotCrawl"             # [<bool>]
        #Option     "TVDeflicker"            # <i>
        #Option     "TVType"                 # [<str>]
        #Option     "TVOutput"               # [<str>]
        #Option     "DisableVQ"              # [<bool>]
        #Option     "DisableIRQ"             # [<bool>]
        #Option     "EnableAGPDMA"           # [<bool>]
        #Option     "NoAGPFor2D"             # [<bool>]
        #Option     "NoXVDMA"                # [<bool>]
        #Option     "VbeSaveRestore"         # [<bool>]
        #Option     "DisableXvBWCheck"       # [<bool>]
        #Option     "MaxDRIMem"              # <i>
        #Option     "AGPMem"                 # <i>
    Identifier  "Card0"
#    Driver      "unichrome"
#    Driver      "openchrome"
    Driver      "vesa"
    VendorName  "VIA Technologies, Inc."
    BoardName   "CN896/VN896/P4M900 [Chrome 9 HC]"
    BusID       "PCI:1:0:0"
EndSection
Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Offline

#2 2009-06-17 11:36:54

kowalski
Member
Registered: 2009-05-07
Posts: 82

Re: help external monitor on a netbook (HP2133)

Hi,

you might want to try

echo 1 > /proc/acpi/video/VID/DOS

This is what got things working on my laptop (Dell M1530).
This gives control over the video output "back" to the BIOS, at least for what I know.


He who says A doesn't have to say B. He can also recognize that A was false.

Offline

#3 2009-06-17 13:56:33

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: help external monitor on a netbook (HP2133)

Openchrome from the repo does not work.  Build the latest SVN and it will be fine.

It will clone the display by default.  You need to have the monitor plugged in when starting X.  Otherwise, half the cloned display lies outside the scan range.

You'll want to remove 90% of that xorg.conf file.  Most of it is unnecessary under automatic hotplugging.  Configure the touchpad through the appropriate fdi file.

Here is mine.  About half of it has no effect, since Openchrome does not do 3D.

Section "ServerFlags"
    Option "AllowMouseOpenFail" "1"
    Option "DontZap" "no"
EndSection

Section "Module"
    Load "glx"
    Load "synaptics"
    Load "dri"
EndSection

Section "Extensions"
    Option "Composite"        "Enable"
EndSection

Section "DRI"
    Group "video"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
EndSection

Section "Files"
    FontPath "/usr/share/fonts/local"
EndSection

Section "Device"
    Identifier "Device0"
    Driver    "openchrome"
    Option "ActiveDevice"        "LCD CRT"
    Option "AGPMem"                 "65536"
    Option "MigrationHeuristic"     "greedy"
    Option "EnableAGPDMA"        "1"
    
    #Option "AccelMethod"            "XAA"
    #Option "XaaNoImageWriteRect"    "1"
    
    Option "AccelMethod"        "EXA"
    Option "ExaScratchSize"        "8192"
    Option "MaxDRIMem"        "16384"
    Option "ExaNoComposite"        "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "LCD"
EndSection

Section "Monitor"
        Identifier      "LCD"
        Option "Ignore" "0"
        Option "DPMS"   "1"
        DisplaySize     194 116 # 168 DPI @ 1280x768
        #ModeLine "1280x768" 77.37 1280 1344 1480 1680 768 769 772 794
EndSection

Section "Monitor"
        Identifier      "CRT"
        Option "Ignore" "0"
        Option "DPMS"   "1"
EndSection

Last edited by keenerd (2009-06-17 14:02:08)

Offline

#4 2009-06-17 20:11:11

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: help external monitor on a netbook (HP2133)

Just out of curiosity, have you tried "xrandr -q" to see if your
external monitor is detected.

I use lxrandr -- it's a nice little GUI frontend to xrandr that allows
you to switch monitors easily.

Offline

#5 2009-06-17 23:11:00

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: help external monitor on a netbook (HP2133)

The openchrome driver does not support xrandr.

Offline

Board footer

Powered by FluxBB