Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: docs/README.alps

Issue 6475005: Revert "Import files from .tar.gz that are missing from upstream git repo." (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/xf86-input-synaptics.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « depcomp ('k') | docs/tapndrag.dia » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 It is possible to use this driver with an ALPS Glidepoint device. If
2 you use an older 2.6 linux kernel which has no ALPS input driver, you
3 need to apply the ALPS kernel patch in the alps.patch file. See
4 http://www.kernelnewbies.org/faq/ for information about how to apply
5 kernel patches and compile kernels.
6
7 Note! If you use kernel 2.6.11 or later, the alps patch is already
8 included, so you don't have to patch your kernel.
9
10 Since ALPS touchpads don't have the same resolution as Synaptics
11 touchpads, you probably have to change some parameter values. Here is
12 an example InputDevice section for the X configuration file.
13
14 Section "InputDevice"
15 Driver "synaptics"
16 Identifier "Mouse[1]"
17 Option "Device" "/dev/psaux"
18 Option "Protocol" "auto-dev"
19 # enable SHMConfig if you want to enable synclient
20 # NB: enabling SHMConfig is insecure, since any user can invoke it
21 # Option "SHMConfig" "on"
22 Option "LeftEdge" "120"
23 Option "RightEdge" "830"
24 Option "TopEdge" "120"
25 Option "BottomEdge" "650"
26 Option "FingerLow" "14"
27 Option "FingerHigh" "15"
28 Option "MaxTapTime" "180"
29 Option "MaxTapMove" "110"
30 Option "EmulateMidButtonTime" "75"
31 Option "VertScrollDelta" "20"
32 Option "HorizScrollDelta" "20"
33 Option "CornerCoasting" "1"
34 Option "CoastingSpeed" "3"
35 Option "MinSpeed" "0.3"
36 Option "MaxSpeed" "0.75"
37 Option "AccelFactor" "0.015"
38 Option "EdgeMotionMinSpeed" "200"
39 Option "EdgeMotionMaxSpeed" "200"
40 Option "UpDownScrolling" "1"
41 Option "CircularScrolling" "1"
42 Option "CircScrollDelta" "0.1"
43 Option "CircScrollTrigger" "2"
44 EndSection
45
46 If you use a 2.4 linux kernel, you don't need to patch the kernel, but
47 you should instead set "Protocol" like this:
48
49 Option "Protocol" "alps"
50
51
52 On some (all?) ALPS hardware, it is not possible to disable tapping
53 unless you apply the patch below. However, some users have reported
54 that this patch breaks tap-and-drag operations, which is why the patch
55 is not included in the main alps.patch file.
56
57 --- linux/drivers/input/mouse/alps.c~alps-test3 2004-02-28 20:46:34.000000000 +0 100
58 +++ linux-petero/drivers/input/mouse/alps.c 2004-02-28 20:49:12.000000000 +0 100
59 @@ -87,6 +87,10 @@ static void ALPS_process_packet(struct p
60 y = (packet[4] & 0x7f) | ((packet[3] & 0x70)<<(7-4));
61 z = packet[5];
62
63 + if (packet[2] & 1) {
64 + z = 35;
65 + }
66 +
67 if (z > 0) {
68 input_report_abs(dev, ABS_X, x);
69 input_report_abs(dev, ABS_Y, y);
70 @@ -97,7 +101,6 @@ static void ALPS_process_packet(struct p
71 if (z > 30) input_report_key(dev, BTN_TOUCH, 1);
72 if (z < 25) input_report_key(dev, BTN_TOUCH, 0);
73
74 - left |= (packet[2] ) & 1;
75 left |= (packet[3] ) & 1;
76 right |= (packet[3] >> 1) & 1;
77 if (packet[0] == 0xff) {
OLDNEW
« no previous file with comments | « depcomp ('k') | docs/tapndrag.dia » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698