Gentoo Archives: gentoo-amd64

From: Saphirus Sage <saphirus497@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Xorg upgrade and synaptics driver
Date: Sun, 12 Apr 2009 08:20:00
Message-Id: 49E1A429.8000705@gmail.com
In Reply to: Re: [gentoo-amd64] Xorg upgrade and synaptics driver by Mansour Al Akeel
1 Mansour Al Akeel wrote:
2 > Martin, thank you for the fast reply. I just tried recompiling the
3 > drivers under x11-driver/* but still no luck.
4 >
5 >
6 >
7 >
8 > On Sun Apr 12,2009 09:55 am, Martin Herrman wrote:
9 >
10 >> On Sun, Apr 12, 2009 at 9:48 AM, Mansour Al Akeel
11 >> <[1]mansour.alakeel@×××××.com> wrote:
12 >>
13 >> Hello all:
14 >>
15 >> Hi,
16 >>
17 >> today I did "emerge --update --newuse --deep world" in order to get
18 >> the latest. However, I had to fight a bit to get x11 working, but
19 >> after many attempts the mouse pad scrolling is still not working. I
20 >> have xf86-input-synaptics-1.0.0 , I am not using hal, and I would
21 >> like not to. On the other hand, when I do
22 >> mansour@localhost ~ $ syndaemon
23 >> Can't access shared memory area. SHMConfig disabled?
24 >> I don't understand why it reports that SHMConfig is disabled ! it's
25 >> enabled in my xorg.conf . Here's my xorg.conf .
26 >>
27 >> I had some problems after the upgrade as well, but eventually noticed
28 >> that you have to rebuild the input-devices. So maybe 'emerge
29 >> xf86-input-synaptics-1.0.0' might solve this.
30 >>
31 >> Section "ServerLayout"
32 >> Identifier "X.org Configured"
33 >> Screen 0 "Screen0" 0 0
34 >> InputDevice "Mouse0" "CorePointer"
35 >> InputDevice "Synaptics Touchpad" "CorePointer"
36 >> InputDevice "Keyboard0" "CoreKeyboard"
37 >> EndSection
38 >> Section "Files"
39 >> ModulePath "/usr/lib64/xorg/modules"
40 >> FontPath "/usr/share/fonts/misc/"
41 >> FontPath "/usr/share/fonts/TTF/"
42 >> FontPath "/usr/share/fonts/OTF"
43 >> FontPath "/usr/share/fonts/Type1/"
44 >> FontPath "/usr/share/fonts/100dpi/"
45 >> FontPath "/usr/share/fonts/75dpi/"
46 >> EndSection
47 >> Section "Module"
48 >> Load "extmod"
49 >> Load "record"
50 >> Load "dbe"
51 >> Load "xtrap"
52 >> Load "dri"
53 >> Load "glx"
54 >> Load "wfb"
55 >> EndSection
56 >>
57 >> You can remove (or comment) the module lines, Xorg will load them
58 >> automatically.
59 >> HTH,
60 >> Martin
61 >>
62 >> Section "InputDevice"
63 >> Identifier "Keyboard0"
64 >> Driver "kbd"
65 >> EndSection
66 >> Section "InputDevice"
67 >> Identifier "Mouse0"
68 >> Driver "mouse"
69 >> Option "Protocol" "auto"
70 >> Option "Device" "/dev/input/mice"
71 >> Option "ZAxisMapping" "4 5 6 7"
72 >> EndSection
73 >> Section "InputDevice"
74 >> Identifier "Synaptics Touchpad"
75 >> Driver "synaptics"
76 >> Option "Protocol" "auto-dev"
77 >> Option "Device" "/dev/input/eventX"
78 >> Option "SHMConfig" "True"
79 >> Option "SendCoreEvents" "True"
80 >> EndSection
81 >> Section "Monitor"
82 >> Identifier "Monitor0"
83 >> VendorName "Monitor Vendor"
84 >> ModelName "Monitor Model"
85 >> EndSection
86 >> Section "Device"
87 >> ### Available Driver options are:-
88 >> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
89 >> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
90 >> ### [arg]: arg optional
91 >> #Option "SWcursor" # [<bool>]
92 >> #Option "HWcursor" # [<bool>]
93 >> #Option "NoAccel" # [<bool>]
94 >> #Option "ShadowFB" # [<bool>]
95 >> #Option "UseFBDev" # [<bool>]
96 >> #Option "Rotate" # [<str>]
97 >> #Option "VideoKey" # <i>
98 >> #Option "FlatPanel" # [<bool>]
99 >> #Option "FPDither" # [<bool>]
100 >> #Option "CrtcNumber" # <i>
101 >> #Option "FPScale" # [<bool>]
102 >> #Option "FPTweak" # <i>
103 >> #Option "DualHead" # [<bool>]
104 >> Identifier "Card0"
105 >> Driver "nvidia"
106 >> VendorName "nVidia Corporation"
107 >> BoardName "C51 [Geforce 6150 Go]"
108 >> BusID "PCI:0:5:0"
109 >> #Option "NoLogo" "True"
110 >> EndSection
111 >> Section "Screen"
112 >> Identifier "Screen0"
113 >> Device "Card0"
114 >> Monitor "Monitor0"
115 >> Option "AddARGBGLXVisuals" "True"
116 >> Option "DisableGLXRootClipping" "True"
117 >> Option "RenderAccel" "True"
118 >> Option "AllowGLXWithComposite" "True"
119 >> Option "backingstore" "True"
120 >> Option "TripleBuffer" "True"
121 >> SubSection "Display"
122 >> Viewport 0 0
123 >> Depth 1
124 >> EndSubSection
125 >> SubSection "Display"
126 >> Viewport 0 0
127 >> Depth 4
128 >> EndSubSection
129 >> SubSection "Display"
130 >> Viewport 0 0
131 >> Depth 8
132 >> EndSubSection
133 >> SubSection "Display"
134 >> Viewport 0 0
135 >> Depth 15
136 >> EndSubSection
137 >> SubSection "Display"
138 >> Viewport 0 0
139 >> Depth 16
140 >> EndSubSection
141 >> SubSection "Display"
142 >> Viewport 0 0
143 >> Depth 24
144 >> EndSubSection
145 >> EndSection
146 >>
147 >> References
148 >>
149 >> 1. mailto:mansour.alakeel@×××××.com
150 >>
151 >
152 >
153 I had a similar issue when I upgraded xorg last where my synaptic touch
154 pad completely stopped working. I later found it was because I had
155 previously been using evdev rather than the actual synaptics driver.
156 I've included my currently working synaptics section of my xorg.conf,
157 maybe it'll work for you. Be warned, you may have to tweak the scroll
158 speed, I've mine set to something most call insane. Also, I'm using the
159 xf86-input-synaptics-1.0.0 driver.
160
161 Section "InputDevice"
162 Identifier "Synaptics"
163 Driver "synaptics"
164 Option "Protocol" "event"
165 Option "Device" "/dev/input/event1"
166 Option "LeftEdge" "1900"
167 Option "RightEdge" "5400"
168 Option "TopEdge" "1900"
169 Option "BottomEdge" "4000"
170 Option "FingerLow" "25"
171 Option "FingerHigh" "30"
172 Option "MaxTapTime" "180"
173 Option "MaxTapMove" "220"
174 Option "VertScrollDelta" "100"
175 Option "MinSpeed" "0.80"
176 Option "MaxSpeed" "0.90"
177 Option "AccelFactor" "0.0010"
178 Option "SHMConfig" "enable"
179 EndSection

Replies

Subject Author
Re: [gentoo-amd64] Xorg upgrade and synaptics driver Martin Herrman <martin@×××××××.nl>