lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver
Date
From
Hi Jonathan,

Thanks for the response!

> Just for reference this chip is definitely on my list of ones to
support
> via the Industrial I/O (iio) framework, I just haven't managed to get
hold
> of one as yet!

If you need a sample set, let me know off the mailing list. I may be
able
to ship a couple to you ... need to check our available stock. I think
ours are BGAs, in case you have the intention of soldering by hand. :-)

> What are you actually doing with it? If you aren't doing hardware
> monitoring then I would expect you aren't going to receive a
favourable
> response on here.

The ADXL345 is a 3D accelerometer. It's very similar to the following
chips already in the HWMON section of the kernel:

- SENSORS_LIS3LV02D
- SENSORS_APPLESMC

The driver provides 3D axis data when the user polls the chip via the
sysfs
interface.

The ADXL345 has the additional capability of being a "tap-touch"
detector --
almost like an input device, if you will -- but this driver doesn't
expose
that functionality. Maybe in the future.

> I'll take a look at the actual code tomorrow. Always good to see
another
> accelerometer driver.

Thanks! Looking forward to the feedback.

Chris


\
 
 \ /
  Last update: 2009-07-01 21:21    [W:0.124 / U:9.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site