RE: [lm-sensors] [PATCH] adxl345 accelerometer hwmon driver

From: Chris Verges
Date: Wed Jul 01 2009 - 15:19:31 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/