sys node for g sensor KXT_9
2014-01-03 14:37
309 查看
This is the gsensor KXT_9 driver sysfs interface, any suggestion is welcome
Usage: enable g sensor
Usage: get g sensor adc data
Sysfs Nodes | Attr | Description | Comment |
interval | r/w | Get/Set g sensor polling rate | |
enable | r/w | Enable/Disable g sensor | |
tilt | r/w | Enable/Disable Tilt Position function | |
wake | r/w | Enable/Disable Wake Up (motion detection) function | |
tap | r/w | Enable/Disable Directional Tap fucntion | |
data | r | Get g sensor adc data | |
selftest | w | 1: Electrostatic actuation of the accelerometer, results in a DC shift of the X, Y and Z axis outputs. 0 : return the accelerometer to normal operation |
echo 1 > |
cat /sys/devices/virtual/input/input3/adc |
echo 1 16 22 32 64 128 260 580 800 1024 > adc_table |
相关文章推荐
- MindNode for mac 思维导图
- How to add the selinux policy access for the new created linux file node.
- Modify Ip For Node
- no sys_hba.conf entry for host "192.168.16.28"
- nowjs for Node - Directly call remote functions in Javascript
- [Ubuntu] Access denied for user ‘debian-sys-maint’@'localhost’ (using password: YES)
- Node.js Request Module…sending json in body for api request with put
- WARNING: Subscription for node down event still pending
- No mapping found for HTTP request with URI [/ordermealsys/index.html]
- 解决方案:The method getTextContent() is undefined for the type Node
- python-2.7.6 编译 node_gyp_header_files_for_hex_1.1.6_1621_windows32 库进行生成C++项目为什么报错,是缺少什么东西么。
- Adding timeout support for http request in Node.JS
- Image Sensor Fundamentals for Beginners 录像学习简记
- Nodejs+express For mac
- No data type for node
- HomeBrew for mac to install node npm
- 【转】Oracle 11.2.0.4/12C新特性Valid Node Checking For Registration (VNCR)
- TinyOS: Operating System Design for Wireless Sensor Networks
- libc/sysdeps/linux/common/sendfile.c:20: error: conflicting types for 'sendfile64'
- Install Client Node for Cloudera Manager Hadoop Cluster