Hi,
uname -a
Linux raspberrypi 3.12.18+ #0 PREEMPT Tue May 6 17:26:42 UTC 2014 armv6l GNU/Linux
I'm using correct kernel.
I'll try to use your.
Thank you, It seems to work on your kernel!
but i found something strange:
sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: ADXL34x accelerometer
/dev/input/event1: ADXL34x acceleromete
why there are two accelerometers if you used files I attached ?
I want to understand what i did wrong.
And second thing:
Event: time 1399634926.699600, -------------- SYN_REPORT ------------
Event: time 1399634926.701478, type 3 (EV_ABS), code 2 (ABS_Z), value 252
Event: time 1399634926.701478, type 3 (EV_ABS), code 1 (ABS_Y), value 0
Event: time 1399634926.701478, type 3 (EV_ABS), code 2 (ABS_Z), value 248
Event: time 1399634926.701478, type 3 (EV_ABS), code 0 (ABS_X), value 28
Event: time 1399634926.701478, type 3 (EV_ABS), code 1 (ABS_Y), value -18
Event: time 1399634926.701478, type 3 (EV_ABS), code 2 (ABS_Z), value 234
Event: time 1399634926.701478, type 3 (EV_ABS), code 0 (ABS_X), value 22
Event: time 1399634926.701478, type 3 (EV_ABS), code 1 (ABS_Y), value -16
Event: time 1399634926.701478, type 3 (EV_ABS), code 2 (ABS_Z), value 246
Event: time 1399634926.701478, type 3 (EV_ABS), code 1 (ABS_Y), value -22
Event: time 1399634926.701478, type 3 (EV_ABS), code 2 (ABS_Z), value 234
why there are couple acceleration changes in same time ? is it because FIFO buffer ?