edt-ft5x06.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. EDT ft5x06 based Polytouch devices
  2. ----------------------------------
  3. The edt-ft5x06 driver is useful for the EDT "Polytouch" family of capacitive
  4. touch screens. Note that it is *not* suitable for other devices based on the
  5. focaltec ft5x06 devices, since they contain vendor-specific firmware. In
  6. particular this driver is not suitable for the Nook tablet.
  7. It has been tested with the following devices:
  8. * EP0350M06
  9. * EP0430M06
  10. * EP0570M06
  11. * EP0700M06
  12. The driver allows configuration of the touch screen via a set of sysfs files:
  13. /sys/class/input/eventX/device/device/threshold:
  14. allows setting the "click"-threshold in the range from 20 to 80.
  15. /sys/class/input/eventX/device/device/gain:
  16. allows setting the sensitivity in the range from 0 to 31. Note that
  17. lower values indicate higher sensitivity.
  18. /sys/class/input/eventX/device/device/offset:
  19. allows setting the edge compensation in the range from 0 to 31.
  20. /sys/class/input/eventX/device/device/report_rate:
  21. allows setting the report rate in the range from 3 to 14.
  22. For debugging purposes the driver provides a few files in the debug
  23. filesystem (if available in the kernel). In /sys/kernel/debug/edt_ft5x06
  24. you'll find the following files:
  25. num_x, num_y:
  26. (readonly) contains the number of sensor fields in X- and
  27. Y-direction.
  28. mode:
  29. allows switching the sensor between "factory mode" and "operation
  30. mode" by writing "1" or "0" to it. In factory mode (1) it is
  31. possible to get the raw data from the sensor. Note that in factory
  32. mode regular events don't get delivered and the options described
  33. above are unavailable.
  34. raw_data:
  35. contains num_x * num_y big endian 16 bit values describing the raw
  36. values for each sensor field. Note that each read() call on this
  37. files triggers a new readout. It is recommended to provide a buffer
  38. big enough to contain num_x * num_y * 2 bytes.
  39. Note that reading raw_data gives a I/O error when the device is not in factory
  40. mode. The same happens when reading/writing to the parameter files when the
  41. device is not in regular operation mode.