contents

VGN-T91PSY de Xorg 7.4

  • 2009年02月06日(金)

FreeBSDで、Xorg 7.4がドカンと入ってきて、えらく様子が変わったようだ。

いつまでもXが使えない状態も困るので、あちこち見ながら設定を調整する。

こいつでは、Xorg -configureで設定を自動生成すると、なぜかDeviceもScreenも二つ生えてくる。 で、そのうち一つは消さないと立ち上がらない。

  • /etc/X11/xorg.conf
vaio [ /etc/X11 ] % diff -u xorg.conf.new.20090204 /etc/X11/xorg.conf     
--- xorg.conf.new.20090204      2009-02-04 14:04:11.000000000 +0900
+++ /etc/X11/xorg.conf  2009-02-06 20:30:21.000000000 +0900
@@ -1,7 +1,6 @@
 Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
-       Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection
@@ -73,28 +72,6 @@
        BusID       "PCI:0:2: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     "NoAccel"                  # [<bool>]
-        #Option     "SWcursor"                 # [<bool>]
-        #Option     "ColorKey"                 # <i>
-        #Option     "CacheLines"               # <i>
-        #Option     "Dac6Bit"                  # [<bool>]
-        #Option     "DRI"                      # [<bool>]
-        #Option     "NoDDC"                    # [<bool>]
-        #Option     "ShowCache"                # [<bool>]
-        #Option     "XvMCSurfaces"             # <i>
-        #Option     "PageFlip"                 # [<bool>]
-       Identifier  "Card1"
-       Driver      "intel"
-       VendorName  "Intel Corporation"
-       BoardName   "82852/855GM Integrated Graphics Device"
-       BusID       "PCI:0:2:1"
-EndSection
-
 Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
@@ -124,34 +101,3 @@
                Depth     24
        EndSubSection
 EndSection
-
-Section "Screen"
-       Identifier "Screen1"
-       Device     "Card1"
-       Monitor    "Monitor1"
-       SubSection "Display"
-               Viewport   0 0
-               Depth     1
-       EndSubSection
-       SubSection "Display"
-               Viewport   0 0
-               Depth     4
-       EndSubSection
-       SubSection "Display"
-               Viewport   0 0
-               Depth     8
-       EndSubSection
-       SubSection "Display"
-               Viewport   0 0
-               Depth     15
-       EndSubSection
-       SubSection "Display"
-               Viewport   0 0
-               Depth     16
-       EndSubSection
-       SubSection "Display"
-               Viewport   0 0
-               Depth     24
-       EndSubSection
-EndSection
-

あとは、mousedからhaldに移行する。

  • /etc/rc.conf
vaio [ /etc ] % diff -u rc.conf.20090201 /etc/rc.conf
--- rc.conf.20090201    2009-02-06 20:39:55.000000000 +0900
+++ /etc/rc.conf        2009-02-06 20:40:04.000000000 +0900
@@ -7,11 +7,14 @@
 hostname="vaio"
 keymap="us.pc-ctrl"
 linux_enable="YES"
-moused_enable="YES"
 sshd_enable="YES"
 # iwi0
 # ppp
 ppp_profile="au"
+# hald
+## moused_enable="YES"
+dbus_enable="YES"
+hald_enable="YES"
 #
 #
 #

haldの設定も、CtrlとCaps Lockを入れ替えるようにした。

  • /usr/local/etc/hal/fdi/policy/610-mykeyboard.fdi
vaio [ /etc ] % cat /usr/local/etc/hal/fdi/policy/610-mykeyboard.fdi 
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
 <device>
  <match key="info.capabilities" contains="input.keyboard">
   <merge key="input.x11_options.XkbOptions" type="string">ctrl:swapcaps</merge>
  </match>
 </device>
</deviceinfo>
Last modified: 2009-02-06
Post-it: New Post-it (help)

Text color: [_][_][_][_]

Background: [_][_][_][_][_][_]

Draw Line:

x: y: