AnsweredAssumed Answered

Setting ADXL345 range once kernel has been built

Question asked by shekharlav on Feb 22, 2012
Latest reply on Feb 24, 2012 by Aaronwu

Hi,

 

I am using TLL6527M , with 2011R1-RC3 distribution.

 

I understand that the initialization settings for ADXL345 (ADXL43X configuration) are done in the platform file :

 

linux-2.6.x/arch/blackfin/mach-bf527/boards/tll6527m.c

 

I was wondering if there was a way to change the range (+/- 2g, +/- 4g, +/- 8g, +/- 16g) of ADXL345 dynamically, i.e once kernel has been built and booted on the target.

 

I explored the sysfs interface for ADXL345 but found that the "range" parameter has not been exposed.

 

Regards,

Shekhar

Outcomes