/etc/rc.modules is run at every startup and your one is correct. You are able to pass these parametres only when therm_adt746x is compiled as module.
Code:
CONFIG_THERM_ADT746X=m
That's my
/etc/rc.modules (iBook G4 Mid2005)
Code:
[95%][L] acrux@hermes:~$ cat /etc/rc.modules
#!/bin/bash
#
# /etc/rc.modules: module initialization script
#
/sbin/depmod -a
/sbin/modprobe b43
/sbin/modprobe sungem
/sbin/modprobe therm_adt746x fan_speed=66 limit_adjust=6
/sbin/modprobe ams
/sbin/modprobe snd_aoa_codec_tas
/sbin/modprobe radeon modeset=0
# End of file
I think you already did it thus, if the module is loaded, you can see it in your
dmesg:
Code:
adt746x: version 1 (supported)
adt746x: Thermostat bus: 1, address: 0x2e, limit_adjust: 6, fan_speed: 66
sensor 0: PWR/MEMORY BOTTOMSIDE
sensor 1: CPU BOTTOMSIDE
sensor 2: GPU BOTTOMSIDE
adt746x: ADT7467 initializing
adt746x: Lowering max temperatures from 69, 92, 101 to 76, 56, 76