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

Configure Feed

Select the types of activity you want to include in your feed.

lis3: fix documentation to fit into 80 columns

Fix lis3 documentation to fit into 80 columns.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Pavel Machek and committed by
Linus Torvalds
219beb29 9e0c7978

+17 -13
+17 -13
Documentation/hwmon/lis3lv02d
··· 13 13 Description 14 14 ----------- 15 15 16 - This driver provides support for the accelerometer found in various HP laptops 17 - sporting the feature officially called "HP Mobile Data Protection System 3D" or 18 - "HP 3D DriveGuard". It detect automatically laptops with this sensor. Known models 19 - (for now the HP 2133, nc6420, nc2510, nc8510, nc84x0, nw9440 and nx9420) will 20 - have their axis automatically oriented on standard way (eg: you can directly 21 - play neverball). The accelerometer data is readable via 16 + This driver provides support for the accelerometer found in various HP 17 + laptops sporting the feature officially called "HP Mobile Data 18 + Protection System 3D" or "HP 3D DriveGuard". It detect automatically 19 + laptops with this sensor. Known models (for now the HP 2133, nc6420, 20 + nc2510, nc8510, nc84x0, nw9440 and nx9420) will have their axis 21 + automatically oriented on standard way (eg: you can directly play 22 + neverball). The accelerometer data is readable via 22 23 /sys/devices/platform/lis3lv02d. 23 24 24 25 Sysfs attributes under /sys/devices/platform/lis3lv02d/: 25 26 position - 3D position that the accelerometer reports. Format: "(x,y,z)" 26 - calibrate - read: values (x, y, z) that are used as the base for input class device operation. 27 - write: forces the base to be recalibrated with the current position. 27 + calibrate - read: values (x, y, z) that are used as the base for input 28 + class device operation. 29 + write: forces the base to be recalibrated with the current 30 + position. 28 31 rate - reports the sampling rate of the accelerometer device in HZ 29 32 30 33 This driver also provides an absolute input class device, allowing ··· 42 39 * When the laptop is horizontal the position reported is about 0 for X and Y 43 40 and a positive value for Z 44 41 * If the left side is elevated, X increases (becomes positive) 45 - * If the front side (where the touchpad is) is elevated, Y decreases (becomes negative) 42 + * If the front side (where the touchpad is) is elevated, Y decreases 43 + (becomes negative) 46 44 * If the laptop is put upside-down, Z becomes negative 47 45 48 - If your laptop model is not recognized (cf "dmesg"), you can send an email to the 49 - authors to add it to the database. When reporting a new laptop, please include 50 - the output of "dmidecode" plus the value of /sys/devices/platform/lis3lv02d/position 51 - in these four cases. 46 + If your laptop model is not recognized (cf "dmesg"), you can send an 47 + email to the authors to add it to the database. When reporting a new 48 + laptop, please include the output of "dmidecode" plus the value of 49 + /sys/devices/platform/lis3lv02d/position in these four cases. 52 50