Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

HID: ntrig: document sysfs interface

Add sysfs documentation for N-Trig touchscreens under Documentation/ABI.
Descriptions have been collected from code comments.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Aishwarya Pant and committed by
Jiri Kosina
b55dc1dc 09f3fe40

+70
+70
Documentation/ABI/testing/sysfs-driver-hid-ntrig
··· 1 + What: /sys/bus/hid/drivers/ntrig/<dev>/activate_slack 2 + Date: May, 2010 3 + KernelVersion: 2.6.35 4 + Contact: linux-input@vger.kernel.org 5 + Description: 6 + (RW) Number of contact frames ignored before acknowledging the 7 + start of activity (activating touch). 8 + 9 + 10 + What: /sys/bus/hid/drivers/ntrig/<dev>/decativate_slack 11 + Date: May, 2010 12 + KernelVersion: 2.6.35 13 + Contact: linux-input@vger.kernel.org 14 + Description: 15 + (RW) Number of empty (no contact) frames ignored before 16 + acknowledging the end of activity (deactivating touch). 17 + 18 + When the last finger is removed from the device, it sends a 19 + number of empty frames. By holding off on deactivation for a few 20 + frames false erroneous disconnects can be tolerated, where the 21 + sensor may mistakenly not detect a finger that is still present. 22 + 23 + 24 + What: /sys/bus/hid/drivers/ntrig/<dev>/activation_width 25 + What: /sys/bus/hid/drivers/ntrig/<dev>/activation_height 26 + Date: May, 2010 27 + KernelVersion: 2.6.35 28 + Contact: linux-input@vger.kernel.org 29 + Description: 30 + Threholds to override activation slack. 31 + 32 + activation_width: (RW) Width threshold to immediately 33 + start processing touch events. 34 + 35 + activation_height: (RW) Height threshold to immediately 36 + start processing touch events. 37 + 38 + 39 + What: /sys/bus/hid/drivers/ntrig/<dev>/min_width 40 + What: /sys/bus/hid/drivers/ntrig/<dev>/min_height 41 + Date: May, 2010 42 + KernelVersion: 2.6.35 43 + Contact: linux-input@vger.kernel.org 44 + Description: 45 + Minimum size contact accepted. 46 + 47 + min_width: (RW) Minimum touch contact width to decide 48 + activation and activity. 49 + 50 + min_height: (RW) Minimum touch contact height to decide 51 + activation and activity. 52 + 53 + 54 + What: /sys/bus/hid/drivers/ntrig/<dev>/sensor_physical_width 55 + What: /sys/bus/hid/drivers/ntrig/<dev>/sensor_physical_height 56 + Date: May, 2010 57 + KernelVersion: 2.6.35 58 + Contact: linux-input@vger.kernel.org 59 + Description: 60 + (RO) These are internal ranges not used for normal events but 61 + useful for tuning. 62 + 63 + 64 + What: /sys/bus/hid/drivers/ntrig/<dev>/sensor_logical_width 65 + What: /sys/bus/hid/drivers/ntrig/<dev>/sensor_logical_height 66 + Date: May, 2010 67 + KernelVersion: 2.6.35 68 + Contact: linux-input@vger.kernel.org 69 + Description: 70 + (RO) The range for positions reported during activity.