Chinaunix首页 | 论坛 | 博客
  • 博客访问: 133927
  • 博文数量: 57
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 580
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-04 22:57
文章分类

全部博文(57)

文章存档

2011年(1)

2010年(1)

2009年(55)

我的朋友

分类: BSD

2009-04-14 16:09:47

1:机器配置Compaq nx6120/Intel i915GM/FreeBSD 7.0-RELEASE
2:参考资料和
3:利用Xorg -configure生成一个现成的配置文件
4:修改要点需要2个Device,2个Monitor,2个Screen,设置ServerLayout节中2个Screen的排列关系,添加ServerFlags节中的Xinerama属性


Section "ServerFlags"
    Option "Xinerama" "true"
EndSection

Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath "/usr/local/share/X11/rgb"
    ModulePath "/usr/local/lib/xorg/modules"
    FontPath "/usr/local/lib/X11/fonts/misc/"
    FontPath "/usr/local/lib/X11/fonts/TTF/"
    FontPath "/usr/local/lib/X11/fonts/OTF"
    FontPath "/usr/local/lib/X11/fonts/Type1/"
    FontPath "/usr/local/lib/X11/fonts/100dpi/"
    FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

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

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

Section "Monitor"
    Identifier "Monitor0"
    VendorName "VSC"
    ModelName "VA521"
    HorizSync 30.0 - 62.0
    VertRefresh 50.0 - 75.0
    Option     "DPMS"
EndSection

Section "Monitor"
    Identifier "Monitor1"
    VendorName "VSC"
    ModelName "VA521"
    HorizSync 30.0 - 62.0
    VertRefresh 50.0 - 75.0
    Option     "DPMS"
EndSection

Section "Device"
    Identifier "Card0"
    Driver "i810"
    VendorName "Intel Corporation"
    BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID "PCI:0:2:0"
    Option        "MonitorLayout" "CRT,LFP"
    Screen        0
EndSection
Section "Device"
    Identifier "Card1"
    Driver "i810"
    VendorName "Intel Corporation"
    BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID "PCI:0:2:0"
    Option        "MonitorLayout" "CRT,LFP"
    Screen        1
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
        Viewport 0 0
        Depth 24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device "Card1"
    Monitor "Monitor1"
    SubSection "Display"
        Viewport 0 0
        Depth 24
    EndSubSection
EndSection

阅读(966) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~