I did everything like Peetah in this topic :http://ez.analog.com/message/130856?tstart=0#130856 (thanks men)
but there is a problem.
Sudo evtest /dev/input/event0 returns proper values but in less than a minute it freeze and doesn't returns anything. If i try to run evtest again it returns the last value from previous test. Do you have any ideas about possible causes?
ps. Is it possible to connect more than one adxl345 on spi to raspberry with this driver?
ps2. On low ODR (0.39hz - rate set to 2) it seems to work fine for couple hours, but i need much higher ODR (3200hz)...
How to change g- range of this accelerometer?