appletouch.rst 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .. include:: <isonum.txt>
  2. ----------------------------------
  3. Apple Touchpad Driver (appletouch)
  4. ----------------------------------
  5. :Copyright: |copy| 2005 Stelian Pop <stelian@popies.net>
  6. appletouch is a Linux kernel driver for the USB touchpad found on post
  7. February 2005 and October 2005 Apple Aluminium Powerbooks.
  8. This driver is derived from Johannes Berg's appletrackpad driver [#f1]_,
  9. but it has been improved in some areas:
  10. * appletouch is a full kernel driver, no userspace program is necessary
  11. * appletouch can be interfaced with the synaptics X11 driver, in order
  12. to have touchpad acceleration, scrolling, etc.
  13. Credits go to Johannes Berg for reverse-engineering the touchpad protocol,
  14. Frank Arnold for further improvements, and Alex Harper for some additional
  15. information about the inner workings of the touchpad sensors. Michael
  16. Hanselmann added support for the October 2005 models.
  17. Usage
  18. -----
  19. In order to use the touchpad in the basic mode, compile the driver and load
  20. the module. A new input device will be detected and you will be able to read
  21. the mouse data from /dev/input/mice (using gpm, or X11).
  22. In X11, you can configure the touchpad to use the synaptics X11 driver, which
  23. will give additional functionalities, like acceleration, scrolling, 2 finger
  24. tap for middle button mouse emulation, 3 finger tap for right button mouse
  25. emulation, etc. In order to do this, make sure you're using a recent version of
  26. the synaptics driver (tested with 0.14.2, available from [#f2]_), and configure
  27. a new input device in your X11 configuration file (take a look below for an
  28. example). For additional configuration, see the synaptics driver documentation::
  29. Section "InputDevice"
  30. Identifier "Synaptics Touchpad"
  31. Driver "synaptics"
  32. Option "SendCoreEvents" "true"
  33. Option "Device" "/dev/input/mice"
  34. Option "Protocol" "auto-dev"
  35. Option "LeftEdge" "0"
  36. Option "RightEdge" "850"
  37. Option "TopEdge" "0"
  38. Option "BottomEdge" "645"
  39. Option "MinSpeed" "0.4"
  40. Option "MaxSpeed" "1"
  41. Option "AccelFactor" "0.02"
  42. Option "FingerLow" "0"
  43. Option "FingerHigh" "30"
  44. Option "MaxTapMove" "20"
  45. Option "MaxTapTime" "100"
  46. Option "HorizScrollDelta" "0"
  47. Option "VertScrollDelta" "30"
  48. Option "SHMConfig" "on"
  49. EndSection
  50. Section "ServerLayout"
  51. ...
  52. InputDevice "Mouse"
  53. InputDevice "Synaptics Touchpad"
  54. ...
  55. EndSection
  56. Fuzz problems
  57. -------------
  58. The touchpad sensors are very sensitive to heat, and will generate a lot of
  59. noise when the temperature changes. This is especially true when you power-on
  60. the laptop for the first time.
  61. The appletouch driver tries to handle this noise and auto adapt itself, but it
  62. is not perfect. If finger movements are not recognized anymore, try reloading
  63. the driver.
  64. You can activate debugging using the 'debug' module parameter. A value of 0
  65. deactivates any debugging, 1 activates tracing of invalid samples, 2 activates
  66. full tracing (each sample is being traced)::
  67. modprobe appletouch debug=1
  68. or::
  69. echo "1" > /sys/module/appletouch/parameters/debug
  70. .. Links:
  71. .. [#f1] http://johannes.sipsolutions.net/PowerBook/touchpad/
  72. .. [#f2] `<http://web.archive.org/web/*/http://web.telia.com/~u89404340/touchpad/index.html>`_