appletouch.txt 3.2 KB

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