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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 27, 2005 at 02:33:36PM +0200, Lenz Grimmer wrote:

> 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?

Not necessarily. The registers are just a way to communicate with the
EC. For example on the amd8111 chipset, the SMBus is accessed through
the EC, and it takes several writes and reads to initiate an SMBus
transaction.

Similarly here, reading the accelerometer may take more than just
reading the register values.

> Or could this mean that the embedded controller might have more than
> these 256 registers that could be read out?

Unlikely, I believe it's byte addressed. But there may be address and
data registers among those, for accessing specific functionality.

> Or does it need to be "told"
> to poll the accelerometer for these values repeatedly?

Quite possibly.

> 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.

It really depends on how IBM implemented it.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux