DynaGATE 10-12 User manual Rev. 0-14
11 How to access interfaces under Linux
11.16.3
For further information
For further information on Linux support for watchdog, see:
www.kernel.org/doc/Documentation/watchdog/watchdog-api.txt
11.17 Accelerometer
The DynaGATE 10-12 is provided with an accelerometer sensor.
To print the information from the accelerometer, including an update every time movement is
detected, use the following command:
evtest /dev/input/event0
Example output:
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x159 version 0x0
Input device name: "ADXL34x accelerometer"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 330 (Touch)
Event type 3 (Absolute)
Event code 0 (X)
Value 0
Min -4096
Max 4096
Fuzz 3
Flat 3
Event code 1 (Y)
Value -8
Min -4096
Max 4096
Fuzz 3
Flat 3
Event code 2 (Z)
Value -262
Min -4096
Max 4096
Fuzz 3
Flat 3
Testing ... (interrupt to exit)
Event: time 1325419699.822493, type 3 (Absolute), code 2 (Z), value -254
Event: time 1325419699.822493, -------------- Report Sync ------------
Event: time 1325419699.863461, type 3 (Absolute), code 2 (Z), value -263
Event: time 1325419699.863461, -------------- Report Sync ------------
Event: time 1325419699.904445, type 3 (Absolute), code 2 (Z), value -265
Event: time 1325419699.904445, -------------- Report Sync ------------
Event: time 1325419699.945433, type 3 (Absolute), code 2 (Z), value -263
Event: time 1325419699.945433, -------------- Report Sync ------------
Event: time 1325419700.109388, type 3 (Absolute), code 2 (Z), value -264
Event: time 1325419700.109388, -------------- Report Sync ------------
Event: time 1325419700.232362, type 3 (Absolute), code 2 (Z), value -263
Event: time 1325419700.232362, -------------- Report Sync ------------
77 / 94
Summary of Contents for DynaGate 10-12 Series
Page 10: ...This page has been intentionally left blank...
Page 12: ...This page has been intentionally left blank...
Page 14: ...This page has been intentionally left blank...
Page 16: ...This page has been intentionally left blank...
Page 22: ...This page has been intentionally left blank...
Page 28: ...This page has been intentionally left blank...
Page 60: ...This page has been intentionally left blank...
Page 62: ...This page has been intentionally left blank...
Page 82: ...This page has been intentionally left blank...
Page 88: ...This page has been intentionally left blank...
Page 90: ...This page has been intentionally left blank...
Page 92: ...This page has been intentionally left blank...
Page 93: ...DynaGATE 10 12 User manual Rev 0 14 Notes NOTES 93 94...