From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Feb 11 12:51:57 2009
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id n1B3pvK10517;
	Wed, 11 Feb 2009 12:51:57 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mv-osn-hcb002.ocn.ad.jp (mv-osn-hcb002.ocn.ad.jp [60.37.51.7])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id n1B3puq10512
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 11 Feb 2009 12:51:56 +0900 (JST)
	(envelope-from t-matubara@miracle.ocn.ne.jp)
Received: from vcmiracle.ocn.ne.jp (mv-osn-hcb002 [60.37.51.7])
	by mv-osn-hcb002.ocn.ad.jp (Postfix) with ESMTP id 403AD3400F
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 11 Feb 2009 12:51:56 +0900 (JST)
Received: from localhost (p6003-ipad202okayamaima.okayama.ocn.ne.jp [123.221.221.3])
	by vcmiracle.ocn.ne.jp (Postfix) with ESMTP
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 11 Feb 2009 12:51:56 +0900 (JST)
Message-Id: <20090211.125157.02307949.t-matubara@miracle.ocn.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Takashi Matsubara <t-matubara@miracle.ocn.ne.jp>
X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 11 Feb 2009 12:51:57 +0900
X-Sequence: FreeBSD-users-jp 92061
Subject: [FreeBSD-users-jp 92061] xorg7.4+hal+synaptics
 =?ISO-2022-JP?B?GyRCRjA6bkpzOXAbKEI=?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: t-matubara@miracle.ocn.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209


$B$O$8$a$^$7$F!">>86$H?=$7$^$9!#(B
$B6lO+$7$F$d$C$H%^%&%9%Q%C%H$,(BHAL$B7PM3$GF0:n$7$^$7$?!#(B
$B$_$J$5$s$N>pJs$K$J$l$P$H;W$$!"F0:nJs9p$$$?$7$^$9!#(B


$B!&4D6-(B
OS:FreeBSD 8.0 CURRENT(20090210$B;~E@(B)
$B5!<o(B:IBM THINKPAD T42

xorg-server-1.5.3_5,1
libpciaccess-0.10.5_4
hal-0.5.11_17
xf86-input-synaptics-0.99.3

1)rc.conf$B$K(Bhal$BF0:n$N$?$a$K2<5-$rDI2C(B

dbus_enable="YES"
hald_enable="YES"

2)loder.conf$B$K2<5-$rDI2C(B
hw.psm.synaptics_support=1

3)/usr/local/etc/hal/fdi/policy $B$K2<5-$N%U%!%$%k!"FbMF$GDI2C(B

$B%U%!%$%kL>(B:11-x11-synaptics.fdi

$BFbMF(B:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
        <merge key="input.x11_driver" type="string">synaptics</merge>

        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->

        <merge key="input.x11_options.Protocol" type="string">psm</merge>

        <merge key="input.x11_options.SHMConfig" type="string">false</merge>

        <merge key="input.x11_options.LeftEdge" type="string">1700</merge>
        <merge key="input.x11_options.RightEdge" type="string">5300</merge>
        <merge key="input.x11_options.TopEdge" type="string">1700</merge>
        <merge key="input.x11_options.BottomEdge" type="string">4200</merge>

        <merge key="input.x11_options.FingerLow" type="string">25</merge>
        <merge key="input.x11_options.FingerHigh" type="string">30</merge>

        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">220</merge>

        <merge key="input.x11_options.VertScrollDelta" type="string">100</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">100</merge>

        <merge key="input.x11_options.MinSpeed" type="string">0.06</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.06</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.0010</merge>

        <merge key="input.x11_options.ScrollButtonRepeat" type="string">100</merge>
        <merge key="input.x11_options.UpDownScrolling" type="string">true</merge>
        <merge key="input.x11_options.UpDownRepeat" type="string">true</merge>
        <merge key="input.x11_options.LeftRightScrolling" type="string">true</merge>
        <merge key="input.x11_options.LeftRightRepeat" type="string">true</merge>

    </match>
  </device>
</deviceinfo>


($BJdB->pJs(B)
1)lshal $B$N%^%&%9G'<1ItJ,$G$9!#(B

udi = '/org/freedesktop/Hal/devices/psm_0'
  freebsd.device_file = '/dev/psm0'  (string)
  freebsd.driver = 'psm'  (string)
  freebsd.unit = 0  (0x0)  (int)
  info.addons = {'hald-addon-mouse-sysmouse'} (string list)
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input.mouse'  (string)
  info.parent = '/org/freedesktop/Hal/devices/atkbdc_0'  (string)
  info.product = 'PS/2 Mouse'  (string)
  info.subsystem = 'platform'  (string)
  info.udi = '/org/freedesktop/Hal/devices/psm_0'  (string)
  input.device = '/dev/psm0'  (string)
  input.x11_driver = 'synaptics'  (string)
  input.x11_options.AccelFactor = '0.0010'  (string)
  input.x11_options.BottomEdge = '4200'  (string)
  input.x11_options.FingerHigh = '30'  (string)
  input.x11_options.FingerLow = '25'  (string)
  input.x11_options.HorizScrollDelta = '100'  (string)
  input.x11_options.LeftEdge = '1700'  (string)
  input.x11_options.LeftRightRepeat = 'true'  (string)
  input.x11_options.LeftRightScrolling = 'true'  (string)
  input.x11_options.MaxSpeed = '0.06'  (string)
  input.x11_options.MaxTapMove = '220'  (string)
  input.x11_options.MaxTapTime = '180'  (string)
  input.x11_options.MinSpeed = '0.06'  (string)
  input.x11_options.Protocol = 'psm'  (string)
  input.x11_options.RightEdge = '5300'  (string)
  input.x11_options.SHMConfig = 'false'  (string)
  input.x11_options.ScrollButtonRepeat = '100'  (string)
  input.x11_options.TopEdge = '1700'  (string)
  input.x11_options.UpDownRepeat = 'true'  (string)
  input.x11_options.UpDownScrolling = 'true'  (string)
  input.x11_options.VertScrollDelta = '100'  (string)
  platform.id = 'psm.0'  (string)

2)xorg.conf $B$G$9!#(B

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "AIGLX" "true" # ADD 2009/02/07
EndSection

#Section "ServerFlags"
#       Option "AutoAddDevices" "off" # 2009/01/26
#EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/local/"          # ADD 2009/01/27
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"       # ADD 2009/01/27
        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  "extmod"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        Load  "freetype"
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   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Option      "AGPSize" "4"
        Option      "EnablePageFlip"            "true"

        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 [Mobility Radeon 9600 M10]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        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

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
       Option  "Composite"     "true"
EndSection



-$B0J>e(B- $BNI$$(BFreeBSD$B%i%$%U$r(B!
