Re: Fan control on iBook2
On Fri, Aug 06, 2004 at 21:41:05 +0200, Luca Bigliardi - shammash wrote:
> On Fri, Aug 06, 2004 at 10:06 PM, Harri J?rvi wrote:
> > How can I find out if there is a fan and what chip is used for
> > controlling it?
>
> "cat /proc/device-tree/uni-n/i2c/fan/device_type" on my ibook 2.2
> returns "adm1030"
>
> note: you must have CONFIG_I2C_KEYWEST=y
I have CONFIG_I2C_KEYWEST=y, but I just don't have fan-entry in that
directory. This is what I got:
habazi@kirja:/usr/src/kernel-source-2.6.7/drivers$ ls -l
/proc/device-tree/uni-n/i2c/
yhteensä 11
-r--r--r-- 1 root root 4 2004-08-06 23:17 AAPL,address
-r--r--r-- 1 root root 4 2004-08-06 23:17 AAPL,address-step
-r--r--r-- 1 root root 11 2004-08-06 23:17 AAPL,driver-name
-r--r--r-- 1 root root 4 2004-08-06 23:17 AAPL,i2c-rate
-r--r--r-- 1 root root 0 2004-08-06 23:17 built-in
dr-xr-xr-x 2 root root 0 2004-08-06 23:17 cereal/
-r--r--r-- 1 root root 12 2004-08-06 23:17 compatible
-r--r--r-- 1 root root 4 2004-08-06 23:17 device_type
-r--r--r-- 1 root root 4 2004-08-06 23:17 interrupt-parent
-r--r--r-- 1 root root 8 2004-08-06 23:17 interrupts
-r--r--r-- 1 root root 4 2004-08-06 23:17 linux,phandle
-r--r--r-- 1 root root 4 2004-08-06 23:17 name
-r--r--r-- 1 root root 8 2004-08-06 23:17 reg
Yours,
Harri
Reply to: