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

Re: New powerbooks support status (again)



On Sun, 2005-03-06 at 20:51 +0100, Colin Leroy wrote:
> On 06 Mar 2005 at 18h03, Antonio-M. Corbi Bellot wrote:
> 
> Hi, 
> 
> > Mar  5 21:02:27 localhost kernel: adt746x: Thermostat bus: 0, address:
> > 0x2e, limit_adjust: 0, fan_speed: -1
> > Mar  5 21:02:27 localhost kernel: adt746x: Thermostat failed to read
> > config from bus 0, addr 0x2e: rc=-19
> 
> Ben,
> the problem is read_reg() returns -ENODEV. It can't really figure out
> why, maybe you'd have an idea?

Are you sure of the chip type and the i2c address (especially the bus
number) ? The i2c busses are laid out differently on the new models.
Apple dropped their mecanism of adding 0x100 to the "reg" property for
devices on uni-n bus 1. Now, they have 2 sub-nodes  "i2c-bus@0" and
"i2c-bus@1" (iirc) and devices laid out below that. Maybe you are
mis-parsing the i2c address ?

Ben



Reply to: