Re: [ltp] IBM HDAPS Someone interested? (Accelerometer)

Lenz Grimmer
2005-06-27T14:51:29Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Vojtech, thanks for the great description.

Vojtech Pavlik wrote:

> Every PC has a small microprocessor on the mainboard, descended from
> the ancient Intel i8042. It is primarily intended to take care of
> the keyboard and mouse, but in notebooks the input functionality is
> overshadowed by other uses.
>
> Those often include: Battery monitoring and communication, display
> backlight control, power on/off, and similar stuff.
>
> It is usually accessible through ACPI, and ACPI calls it the EC -
> embedded controller. ACPI doesn't mandate the EC to be the 8042, they
> could be separate, but for cost reasons, they usually are the same
> chip.
>
> Since the 8042 is the chip where you attach stuff that no other chip
> wants, it's probably the primary choice for connecting the ADXL
> output.
>
> A small problem is that the 8042 normally doesn't have any ADCs,
> however, I assume most of the 8042 implementations in modern
> notebooks do have at least a few ADCs, for battery monitoring, etc.

Hmm, but isn't that exactly the kind of data that is printed by the
ibm_acpi kernel module in "/proc/acpi/ibm/ecdump" then?

According to the README "this feature dumps the values of 256 embedded
controller registers." So shouldn't the reading of the accelerometers
be included in these values as well?

Or could this mean that the embedded controller might have more than
these 256 registers that could be read out? Or does it need to be "told"
to poll the accelerometer for these values repeatedly?

Many register values in there change automatically (e.g. fan speed), but
so far we have not seen a pattern of register value changes that look
like they are related to acceleration of the laptop in any direction.

Bye,
LenZ
- --
- ------------------------------------------------------------------
Lenz Grimmer <lenz@grimmer.com> -o)
[ICQ: 160767607 | Jabber: LenZGr@jabber.org] /\\
http://www.lenzg.org/ V_V
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCv/IeSVDhKrJykfIRAokmAJ45VnDjUXgopPJrlatdXs1DXoArqACfaJKD
sQgfJr0mZ0JLmypk7HmfxYk=
=qcpP
-----END PGP SIGNATURE-----