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

Re: Fan control Thecus N2100/Debian Lenny



On Wed, 23 Jan 2008 22:22:33 +0000
Colin Tuckley <colin@tuckley.org> wrote:


> My version of the script (which works) is based on the one on the
> Debonaires site and uses the tree from /sys/devices/platform *not*
> from /sys/class

Here's what I show:

from /sys/devices/platform/IOP3xx-I2C.0 I have the following symlink:
   i2c-adapter:i2c-0 -> ../../../class/i2c-adapter/i2c-0

Which results in the /sys/class/i2c-adapter/i2c-0/0-002e path.

So this is the same as:
 /sys/devices/platform/IOP3xx-I2C.0/i2c-adapter:i2c-0/0-002e

The results of  find /sys/ | grep pwm:

/sys/class/i2c-adapter/i2c-0/0-002e/pwm2
/sys/class/i2c-adapter/i2c-0/0-002e/pwm1

So these are the only .pwm files in /sys.

I've modified the script with the correct paths for my machine, and it
will write the changes to the .pwm files, but the fan never changes
speed, even with zero values in both .pwm files.

Al


Reply to: