Subject: Re: hardware monitors on newer iBooks/PowerBooks
To: Antoine Reilles <Antoine.Reilles@loria.fr>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 10/07/2005 19:44:52
--Signature_Fri__7_Oct_2005_19_44_52_-0400_f6a562QfwzCPYQrS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > ki2c0 at uni_n0 address 0xf8001000
> > iic0 at ki2c0: I2C bus
> > i2c-bus at ki2c0 address 0x1 not configured
> I had that (was in the thread about touchpad for newer macs)

That's where I copied this from ;)

> Now in my dmesg:
>=20
> [snip]
> uni_n0 at mainbus0 address 0xf8000000
> hw-clock at uni_n0 not configured
> ki2c0 at uni_n0 address 0xf8001000
> iic0 at ki2c0: I2C bus
> adt7467c0 at ki2c0 ADT7467 thermal monitor and fan controller

That's exactly what I wanted to see :)

> accelerometer at ki2c0 address 0xb0 not configured

Hmm, this is probably the motion sensor. Could you please have a look
which properties the OF node defines?  Since I don't know how familiar
you are with OpenFirmware:=20
dev /uni_n/ki2c/i2c-bus/accelerometer=20
.properties

the most interesting bit is the 'compatible' property, it will hopefully
tell us what kind of device this really is and maybe help me find a
datasheet.

> iic1 at ki2c1: I2C bus
> codec at ki2c1 address 0x6a not configured

Same here - please tell us what the compatible property of this thing
says. It's probably the mixer part of the audio chip.
( try this:
dev mac-io
dev ki2c/i2c-bus/codec
.properties
)

> $ envstat
>  case temperature  CPU temperature  GPU temperature         voltage0 =20
          fan0
>              degC             degC             degC                V =20
           RPM
>             46.00            58.00            44.00             1.45 =20
          3043
>=20
> Thank you, it looks great !

good, I guess I can commit this now :)

have fun
Michael

--Signature_Fri__7_Oct_2005_19_44_52_-0400_f6a562QfwzCPYQrS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ0cId8pnzkX8Yg2nAQI58QgAjZ70ET/RXlCQdpSSHyY60xRxdUTMVyNH
6M1+S+Ep/k1EQHjYx6AtDSFTDk8nT8eoz8rjqnQLRV0Wf5o4IHZLCrYN1jCCkshC
q20V85EWQ+oca4Sy4J7N1uiSDPpRQokBaH5Dm+q6WrQav4sufJMn5bacu23j+Szc
X+KVo6DkbcON4pIDuMK9qFpetj34vba2wrfgs+3ghmyNZ3FvnmPeLLWaXk0L3IGD
l+Its3RXRNIuaF4o8IlqmmiEZl/2yNqKBMeuru8h0WRZjxIsyBeENv6v85rizrhA
UyhSV9jUNe9La6MtGlr3jxb6nqQQBLYNie2nYOjPk1ESPitRf1E03Q==
=naDY
-----END PGP SIGNATURE-----

--Signature_Fri__7_Oct_2005_19_44_52_-0400_f6a562QfwzCPYQrS--