Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i945G & Dual Monitor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
sfx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 92

PostPosted: Sat Feb 10, 2007 4:54 pm    Post subject: i945G & Dual Monitor Reply with quote

Здраствуйте! Помогите пожалуйста настроить видеовыход (D-SUB)на ноутбуке Dell 640m. Необходимо производить презентации, тоесть что бы работал и LCD дисплей ноутбуки, и шел клон экрана на Д-СУБ выход. (Монитор, проэктор). вот мой конфиг иксов (пытался сделать, кучу доков перерыл, не помогло, надежда на вас)

Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "AlwaysCore"

EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"

EndSection

Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/WinTTF"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/arphicfonts"
FontPath "/usr/share/fonts/jisx0213"
FontPath "/usr/share/fonts/shinonome"
FontPath "/usr/share/fonts/baekmuk-fonts"
FontPath "/usr/share/fonts/kacst-fonts"
FontPath "/usr/share/fonts/sgi-fonts"
FontPath "/usr/share/fonts/unfonts"
FontPath "/usr/share/fonts/default/ghostscript"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
FontPath "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
Load "ddc"
Load "vbe"
# Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "type1"
Load "freetype"
Load "record"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbVariant" "ru4"
EndSection


Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
#Option "Buttons" "5"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Protocol" "event"
Option "Device" "/dev/input/event1"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.10"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
Identifier "LCD"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932
Option "DPMS"
EndSection

Section "Monitor"
Identifier "External"
HorizSync 30 - 110
VertRefresh 50 - 160
Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +HSync +VSync
Modeline "1024x768" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +VSync
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "945-LCD"
Driver "vesa"
VendorName "All"
BoardName "All"
BusID "PCI:0:2:0"
Option "VBERestore" "true"
Option "MonitorLayout" "CRT,LFP"
Screen 0
EndSection

Section "Device"
Identifier "945-External"
Driver "vesa"
VendorName "all"
BoardName "all"
BusID "PCI:0:2:1"
Option "Display" "CRT"
Option "MonitorLayout" "CRT,LFP"
Screen 1

EndSection


Section "Screen"
Identifier "Screen0"
Device "945-LCD"
Monitor "LCD"
DefaultColorDepth 16
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900" #"1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "945-External"
Monitor "External"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection


Section "DRI"
Mode 0666
EndSection


PS: если у "945-External" указать девайс PCI:0:2:0 то икс-сервер ругается, что девайс занят.
lspci:

00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
Back to top
View user's profile Send private message
kj.synack
n00b
n00b


Joined: 08 Sep 2005
Posts: 8

PostPosted: Mon Feb 12, 2007 5:05 am    Post subject: Re: i945G & Dual Monitor Reply with quote

Code:


Section "Files"
    RgbPath   "/usr/share/X11/rgb"
    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/corefonts/"
    FontPath    "/usr/share/fonts/freefont/"
    FontPath    "/usr/share/fonts/sharefonts/"
    FontPath    "/usr/share/fonts/terminus/"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath    "/usr/share/fonts/unifont/"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/artwiz/"
    FontPath    "/usr/share/fonts/dejavu/"
    FontPath    "/usr/share/fonts/util/"
    FontPath    "/usr/share/fonts/encodings/"
    FontPath    "/usr/share/fonts/cyrillic/"
    FontPath   "/usr/share/fonts/intlfonts/"
    FontPath    "/usr/share/fonts/lfpfonts-fix/"
    FontPath    "/usr/share/fonts/lfpfonts-var/"
    FontPath    "/usr/share/fonts/tengwar-fonts/"
    FontPath    "/usr/share/fonts/urw-fonts/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
    # FontPath    "/files/mirror/TrueType"
EndSection

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

Section "Module"
    #Load   "dcc"
    #Load   "GLcore"
    Load   "bitmap"
    Load   "extmod"
    Load   "dbe"
    Load   "record"
    Load   "xtrap"
    Load   "dri"
    Load   "glx"
    Load   "type1"
    Load   "freetype"
EndSection


Section "ServerFlags"
    Option   "blank time"   "10"   # 10 minutes
    Option   "standby time"   "20"
    Option   "suspend time"   "30"
    Option   "off time"   "60"
    Option    "DontZap"    "yes"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option   "AutoRepeat"   "500 30"
    Option    "XkbLayout"   "us,ru(phonetic)"
    Option    "XKbOptions"   "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option   "Protocol"   "auto"
    Option   "Protocol"   "ImPS/2"
    Option   "Device"   "/dev/input/mice"
    Option   "ZAxisMapping"    "4 5"
EndSection

Section "Monitor"
    Identifier   "lcd"
    HorizSync   31.5 - 48.5
    VertRefresh 50-70
    DisplaySize 339 203
EndSection

Section "Monitor"
    Identifier  "crt"
    HorizSync   31 - 64
    VertRefresh 56-75
    Option   "DPMS"
EndSection

Section "Device"
    Identifier  "i915"
    Driver      "i810"
    VideoRam    131072
    Option      "VBERestore" "yes"
    Option      "MonitorLayout" "CRT,LFP"
    BusID      "PCI:0:2:0"
    Screen    0
EndSection


Section "Device"
    Identifier  "i9152"
    Driver      "i810"
    VideoRam    131072
    Option      "VBERestore" "no"
    Option      "MonitorLayout" "CRT,LFP"
    BusID       "PCI:0:2:0"
    Screen      1
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "i915"
    Monitor     "lcd"
    DefaultDepth 16

Subsection "Display"
    Depth       16
    Modes       "1280x768" "1024x768" "800x600"
    ViewPort    0 0
EndSubsection

Subsection "Display"
    Depth       24
    Modes       "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort    0 0
EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 2"
    Device      "i9152"
    Monitor     "crt"
    DefaultDepth 16

Subsection "Display"
    Depth 16
    Modes "1280x1024"
    ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen 0 "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier   "multi"
    Screen    0 "Screen 1" 0 0
    Screen    1 "Screen 2" RightOf "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection


Стартую Х'сы через: startx -- -layout multi +xinerama
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum