[lkml]   [2005]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ltp] IBM HDAPS Someone interested? (Userspace accelerometer viewer)
    On Sun, 3 Jul 2005, Alejandro Bonilla wrote:
    > PLEASE read the following article, it has the data of a guy that made a
    > driver in IBM for Linux and he described the driver he made.

    Yesterday evening, I used my time here at Debconf5 constructively! ;-) (43kB) (27kB)

    The sensor gives us two 10-bit AD values (corresponding to 0..1 volts on the
    ADI chip), temperature (Celsius) and three status bits indicating:

    * lid open/closed
    * keyboard activity
    * nipple movement

    On the X40 I borrowed (thanks Robert McQueen), at rest the outputs hover
    around 512 (0x200). Gravity is supposed to fall off in a sine-wave during
    rotation, but I found that:

    theta = (N - 512) * 0.5

    provides a surprisingly good approximation for pitch/roll values in degrees
    in the range (-90..+90) so I think the sensor can do ~= +/-2.5G . (9kB)


    PS. Coincidently, the name of the machine I borrowed is 'theta'...
    Mostly it snows here. Helsinki, FI

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-07-11 11:46    [W:0.019 / U:9.156 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site