i2c settings

install i2c-tools to set and read i2c devices

Bus 0

@002d winbond w83792d (+ 0049 + 004d)

Settings:
storage:~# cat /etc/modprobe.d/sensor 
# 0x47: set fan divisor
# 0x59: set thermistors
install w83792d  /usr/sbin/i2cset -y 0 0x2d 0x47 0x12 b &&  /usr/sbin/i2cset -y 0 0x2d 0x59 0x0 b &&  /sbin/modprobe --ignore-install w83792d
  • Fan diviser at /4. This can be done from the w83792d driver.
  • all sensors are thermistors. This must be done with i2cset.

Fan settings

The fan needs DC control and not PWM: storage:/sys/class/hwmon/hwmon0/device# echo 0 > pwm1_mode storage:/sys/class/hwmon/hwmon0/device# echo 2 > pwm1_enable

@0032 rs5c372a

Works.

@0037 fintek F7511

Init the fintek for plain linkled control:
storage:~# cat fintek  
#!/bin/sh

fw() {
        i2cset -y 0 0x37 "$@"
}

finit() {
        fw 0x03 0x0d b
        fw 0x04 0x24 b
        fw 0x05 0x04 b
        fw 0x40 0x0f b
        fw 0x41 0x0f b
}


flink()  {
        fw 0x41 0x00 b
}

finit
flink

Bus 1

-- ArdVanBreemen - 06 Jan 2009

Topic revision: r2 - 02 Jun 2009 - 09:20:29 - ArdVanBreemen
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback