Gentoo Archives: gentoo-user

From: Qiangning Hong <hongqn@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Synaptics touchpad not work under X
Date: Fri, 12 Aug 2005 16:00:12
Message-Id: 42FCC4E7.3050209@gmail.com
1 My synaptics touchpad works well under console. But when I under X, it
2 is not working at all.
3
4 The touchpad is connected with /dev/input/event1. I confirm this using
5 'cat /dev/input/event1' in console.
6
7 /var/log/Xorg.0.log contains these lines:
8
9 (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
10 (II) XINPUT: Adding extended input device "USBMouse" (type: MOUSE)
11 (II) XINPUT: Adding extended input device "Trackpoint" (type: MOUSE)
12 (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE)
13 Synaptics DeviceInit called
14 SynapticsCtrl called.
15 Synaptics DeviceOn called
16 (--) Touchpad touchpad found
17 (II) Trackpoint: ps2EnableDataReporting: succeeded
18 (II) USBMouse: ps2EnableDataReporting: succeeded
19 Could not init font path element /usr/share/fonts/CID/, removing from list!
20 SynapticsCtrl called.
21 SynapticsCtrl called.
22 SetClientVersion: 0 9
23 SetKbdSettings - type: -1 rate: 30 delay: 500 snumlk: 0
24
25
26 The following is my /etc/X11/xorg.conf
27
28 Section "ServerLayout"
29 Identifier "X.org Configured"
30 Screen 0 "Screen0" 0 0
31 InputDevice "Touchpad" "CorePointer"
32 InputDevice "Trackpoint" "CorePointer"
33 InputDevice "USBMouse" "CorePointer"
34 # InputDevice "Mouse0" "CorePointer"
35 InputDevice "Keyboard0" "CoreKeyboard"
36 Option "BlankTime" "5" # Blank the screen
37 Option "StandbyTime" "10" # Turn off screen
38 Option "SuspendTime" "20"
39 Option "OffTime" "30"
40 EndSection
41
42 Section "Files"
43 RgbPath "/usr/lib/X11/rgb"
44 ModulePath "/usr/lib/modules"
45 FontPath "/usr/share/fonts/misc/"
46 FontPath "/usr/share/fonts/TTF/"
47 FontPath "/usr/share/fonts/Type1/"
48 FontPath "/usr/share/fonts/CID/"
49 FontPath "/usr/share/fonts/75dpi/"
50 FontPath "/usr/share/fonts/100dpi/"
51 EndSection
52
53 Section "Module"
54 Load "glx"
55 Load "extmod"
56 Load "xtrap"
57 Load "record"
58 Load "dbe"
59 Load "dri"
60 Load "freetype"
61 Load "type1"
62 Load "synaptics"
63 EndSection
64
65 Section "InputDevice"
66 Identifier "Keyboard0"
67 Driver "kbd"
68 EndSection
69
70 Section "InputDevice"
71 Identifier "Touchpad"
72 Driver "synaptics"
73 Option "SendCoreEvents"
74 Option "Device" "/dev/input/event1" # eventX number may vary
75 depending
76 # on the laptop model.
77 Option "Protocol" "event"
78 # Next line required only if you want to disable the mousepad while
79 # typing:
80 Option "SHMConfig" "on"
81 # The rest of options are NOT required, just a default similar
82 to the
83 # Windows drivers with non of the extra features.
84 Option "LeftEdge" "1900"
85 Option "RightEdge" "5400"
86 Option "TopEdge" "1400"
87 Option "BottomEdge" "4500"
88 Option "FingerLow" "25"
89 Option "FingerHigh" "30"
90 Option "MaxTapTime" "180"
91 Option "MaxTapMove" "220"
92 Option "MaxDoubleTapTime" "180"
93 Option "ClickTime" "100"
94 Option "FastTaps" "0"
95 Option "EmulateMidButtonTime" "75"
96 Option "VertScrollDelta" "0"
97 Option "HorizScrollDelta" "0"
98 Option "MinSpeed" "0.06"
99 Option "MaxSpeed" "0.18"
100 Option "AccelFactor" "0.001"
101 Option "EdgeMotionMinZ" "30"
102 Option "EdgeMotionMaxZ" "160"
103 Option "EdgeMotionMinSpeed" "1"
104 Option "EdgeMotionMaxSpeed" "400"
105 Option "EdgeMotionUseAlways" "0"
106 Option "UpDownScrolling" "1"
107 Option "TouchpadOff" "1"
108 Option "GuestMouseOff" "0"
109 Option "LockedDrags" "0"
110 Option "RTCornerButton" "2"
111 Option "RBCornerbutton" "3"
112 Option "LTCornerButton" "0"
113 Option "LBCornerButton" "0"
114 Option "TapButton1" "1"
115 Option "TapButton2" "2"
116 Option "TapButton3" "3"
117 Option "CircularScrolling" "1"
118 Option "CircScrollDelta" "0.195"
119 Option "CircScrollTrigger" "0"
120 Option "CircularPad" "0"
121 Option "PalmDetect" "1"
122 Option "PalmMinWidth" "10"
123 Option "PalmMinZ" "200"
124 Option "CoastingSpeed" "0"
125 EndSection
126
127
128 Section "InputDevice"
129 Identifier "Trackpoint"
130 Driver "mouse"
131 Option "SendCoreEvents" # needed for multiple devices
132 Option "Protocol" "ExplorerPS/2"
133 Option "Device" "/dev/input/mouse1"
134 EndSection
135
136
137 Section "InputDevice"
138 Identifier "USBMouse"
139 Driver "mouse"
140 Option "SendCoreEvents" # needed for multiple devices
141 Option "Protocol" "ExplorerPS/2"
142 Option "Device" "/dev/input/mouse2"
143 Option "ZAxisMapping" "4 5" # for scroll wheel
144 EndSection
145
146
147 #Section "InputDevice"
148 # Identifier "Mouse0"
149 # Driver "mouse"
150 # Option "Protocol" "auto"
151 # Option "Device" "/dev/input/mice"
152 # Option "Buttons" "7"
153 # Option "ZAxisMapping" "4 5"
154 # Option "ZAxisMapping" "6 7"
155 #EndSection
156
157 Section "Monitor"
158 Identifier "Monitor0"
159 VendorName "Monitor Vendor"
160 ModelName "Monitor Model"
161 Option "DPMS" "true"
162 EndSection
163
164 Section "Device"
165 ### Available Driver options are:-
166 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
167 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
168 ### [arg]: arg optional
169 #Option "NoAccel" # [<bool>]
170 #Option "SWcursor" # [<bool>]
171 #Option "ColorKey" # <i>
172 #Option "CacheLines" # <i>
173 #Option "Dac6Bit" # [<bool>]
174 #Option "DRI" # [<bool>]
175 #Option "NoDDC" # [<bool>]
176 #Option "ShowCache" # [<bool>]
177 #Option "XvMCSurfaces" # <i>
178 #Option "PageFlip" # [<bool>]
179 Identifier "Card0"
180 Driver "i810"
181 VendorName "Intel Corporation"
182 BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
183 BusID "PCI:0:2:0"
184 EndSection
185
186 Section "Screen"
187 Identifier "Screen0"
188 Device "Card0"
189 Monitor "Monitor0"
190 DefaultDepth 24
191 SubSection "Display"
192 Viewport 0 0
193 Depth 1
194 EndSubSection
195 SubSection "Display"
196 Viewport 0 0
197 Depth 4
198 EndSubSection
199 SubSection "Display"
200 Viewport 0 0
201 Depth 8
202 EndSubSection
203 SubSection "Display"
204 Viewport 0 0
205 Depth 15
206 EndSubSection
207 SubSection "Display"
208 Viewport 0 0
209 Depth 16
210 EndSubSection
211 SubSection "Display"
212 Viewport 0 0
213 Depth 24
214 EndSubSection
215 EndSection
216
217 Section "DRI"
218 Mode 0666
219 EndSection
220
221 Section "Extensions"
222 # Option "Composite" "On"
223 EndSection
224
225
226
227 --
228 Qiangning Hong
229
230 I'm usually annoyed by IDEs because, for instance, they don't use VIM
231 as an editor. Since I'm hooked to that, all IDEs I've used so far have
232 failed to impress me.
233 -- Sybren Stuvel @ c.l.python
234
235 Get Firefox!
236 <http://www.spreadfirefox.com/?q=affiliates&amp;id=67907&amp;t=1>
237 --
238 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Synaptics touchpad not work under X Espen Lorentzen <esplor@×××××.com>