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/08/2005 10:20:36
--Signature_Sat__8_Oct_2005_10_20_36_-0400_b/WgDlC1braUD8Y3
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
Hello,
> name accelerometer
> device_type accelerometer
> compatible AAPL, accelerometer_1
> accelerometer
>=20
> builtin
> reg 00000000b0
Hmm, so they're not overly helpful here. Probably some custom-made chip.
> ...
>=20
> platform-accel-int-1 /pci@f2000000/mac-io@17/gpio@50/accelerator-1@13
> platform-accel-int-2 /pci@f2000000/mac-io@17/gpio@50/accelerator-2@14
This is more interesting though - too bad I don't have the hardware ;)
> > 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.
> >=20
> > > iic1 at ki2c1: I2C bus
> > > codec at ki2c1 address 0x6a not configured
> >=20
> > 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
> > )
>=20
> For this one, aain, replacing ki2c by i2c:
> name codec
> device_type codec
> compatible tas3004
> codec
Ok, that's the same as in my iBook, but there it's called 'deq' so
that's why it doesn't attach. More code to change.
One last thing - what's the 'compatible' property of mac-io/i2s ? The
current driver only knows about 'snapper', maybe they're similar enough.
At least both use the same codec/mixer/equalizer chip ( Texas
Instruments TAS3004 )
> Of course, both probably contains typos, since i copied it by hand ;-(
Thanks for looking it up.
have fun
Michael
--Signature_Sat__8_Oct_2005_10_20_36_-0400_b/WgDlC1braUD8Y3
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQ0fVu8pnzkX8Yg2nAQIXiAf/cssXJ2iiSkaaH+kBycdht+Xew+eR+Rdj
IY+w97lXXJEbaU0VCe06NNeVruA3Zd9dwcy5NrDaH6IWFtDU2WvYu8wCDXkwuSlO
WEYVut9jpOboeHChDA7+L6eBWsPVZyEEKv5+5eQOmNECuqBjVSra/ZIT4UZ53Ugz
J3607Wx8Wg1GtYo2O9+qMqEP6CUfJK/+K61fXbBRVni0FltVctV8tncvXoVHFrJs
g4//yelaDeJw9rrBFZqutXAsRu77V8PPXrumAmi7SoF7oW2mWP16EFnkDDiZYSB/
kf3rCuHuqdHawBWLfjCaDVfqSn/ltWTH1sBl0k9j2Qqopoy8ccaQ3Q==
=qhUA
-----END PGP SIGNATURE-----
--Signature_Sat__8_Oct_2005_10_20_36_-0400_b/WgDlC1braUD8Y3--