Current-Users archive

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

Re: Config problem - invalid device name



On Sat, Sep 06, 2008 at 08:45:43PM -0700, Paul Goyette wrote:
> Having scanned my i2c bus (by removing the '#ifdef notyet' in  
> src/sys/dev/i2c/i2c.c) I discovered a device responding at I2C address  
> 0x2e.  This appears to correspond to the ADT 7463.
>
> {102} grep ADDR *.h | grep '2[eE]'
> adt7463reg.h:#define ADT7463_ADDR3                      0x2E
> {103}
>
> Looking through src/sys/dev/i2c/files.i2c I find:
>
> # Analog Devices ADT 7463 thermal monitor / fan controller
> define adt7463c {}
> device adt7463c: sysmon_envsys
> attach adt7463c at iic
> file dev/i2c/adt7463.c                  adt7463c
>
> But when I add 'adt7463c at iic0' to my kernel config file:
>
> {106} grep -n adt /build/src/sys/arch/amd64/conf/SPEEDY
> 265:adt7463c    at iic1 addr 0x2e

You want "adt7463c0 here".

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp1Krr2_XC_1.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index