SHR-U Accelerometer data

Neil Brown neilb at
Thu Dec 17 23:07:30 CET 2009

On Thu, 17 Dec 2009 12:32:46 -0500
"Iain B. Findleton" <ifindleton at> wrote:

> > Let me remind you that the driver has changed wrt. RELATIVE and
> > ABSOLUTE. These days, upon opening the device, only the first report is
> > a full report. Subsequent reports only contain changed axes.
> >     
> I got that about the ABSOLUTE. The changes only thing does not look to
> come from
> the driver code. Is that something associated with the linux input
> system interface?

Yes - for absolute events, the linux input layer only forwards them when they

You can get the current values at any time using an 'ioctl'.
EBIOCGABS returns a 'struct input_absinfo' - see /usr/include/linux/input.h


More information about the community mailing list