home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / xserver-xorg-input-synaptics / README.alps < prev    next >
Encoding:
Text File  |  2006-04-16  |  2.4 KB  |  72 lines

  1. It is possible to use this driver with an ALPS Glidepoint device. If
  2. you use a 2.6 linux kernel, you need to apply the ALPS kernel patch 
  3. in the alps.patch file. See http://www.kernelnewbies.org/faq/ for
  4. information about how to apply kernel patches and compile kernels.
  5.  
  6. Note! If you use kernel 2.6.11 or later, the alps patch is already
  7. included, so you don't have to patch your kernel.
  8.  
  9. Since ALPS touchpads don't have the same resolution as Synaptics
  10. touchpads, you probably have to change some parameter values. Here is
  11. an example InputDevice section for the X configuration file.
  12.  
  13. Section "InputDevice"
  14.   Driver      "synaptics"
  15.   Identifier      "Mouse[1]"
  16.   Option    "Device"          "/dev/psaux"
  17.   Option    "Protocol"        "auto-dev"
  18.   Option    "LeftEdge"        "120"
  19.   Option    "RightEdge"        "830"
  20.   Option    "TopEdge"        "120"
  21.   Option    "BottomEdge"        "650"
  22.   Option    "FingerLow"        "14"
  23.   Option    "FingerHigh"        "15"
  24.   Option    "MaxTapTime"        "180"
  25.   Option    "MaxTapMove"        "110"
  26.   Option    "EmulateMidButtonTime"    "75"
  27.   Option    "VertScrollDelta"    "20"
  28.   Option    "HorizScrollDelta"    "20"
  29.   Option    "MinSpeed"        "0.3"
  30.   Option    "MaxSpeed"        "0.75"
  31.   Option    "AccelFactor"        "0.015"
  32.   Option    "EdgeMotionMinSpeed"    "200"
  33.   Option    "EdgeMotionMaxSpeed"    "200"
  34.   Option    "UpDownScrolling"    "1"
  35.   Option    "CircularScrolling"    "1"
  36.   Option    "CircScrollDelta"    "0.1"
  37.   Option    "CircScrollTrigger"    "2"
  38. EndSection
  39.  
  40. If you use a 2.4 linux kernel, you don't need to patch the kernel, but
  41. you should instead set "Device" and "Protocol" like this:
  42.  
  43.   Option    "Protocol"        "alps"
  44.  
  45.  
  46. On some (all?) ALPS hardware, it is not possible to disable tapping
  47. unless you apply the patch below. However, some users have reported
  48. that this patch breaks tap-and-drag operations, which is why the patch
  49. is not included in the main alps.patch file.
  50.  
  51. --- linux/drivers/input/mouse/alps.c~alps-test3    2004-02-28 20:46:34.000000000 +0100
  52. +++ linux-petero/drivers/input/mouse/alps.c    2004-02-28 20:49:12.000000000 +0100
  53. @@ -87,6 +87,10 @@ static void ALPS_process_packet(struct p
  54.      y = (packet[4] & 0x7f) | ((packet[3] & 0x70)<<(7-4));
  55.      z = packet[5];
  56.  
  57. +    if (packet[2] & 1) {
  58. +        z = 35;
  59. +    }
  60. +
  61.      if (z > 0) {
  62.          input_report_abs(dev, ABS_X, x);
  63.          input_report_abs(dev, ABS_Y, y);
  64. @@ -97,7 +101,6 @@ static void ALPS_process_packet(struct p
  65.      if (z > 30) input_report_key(dev, BTN_TOUCH, 1);
  66.      if (z < 25) input_report_key(dev, BTN_TOUCH, 0);
  67.  
  68. -    left  |= (packet[2]     ) & 1;
  69.      left  |= (packet[3]     ) & 1;
  70.      right |= (packet[3] >> 1) & 1;
  71.      if (packet[0] == 0xff) {
  72.