Nos obligan a molestarte con la obviedad de que este sitio usa cookies OK | Más información
receptor viark

Chincheta Autor Tema: fancontrol  (Leído 3129 veces)

10/04/2009, 11:15

Desconectado elgeneral

  • El del VietNan
  • Administrador Global
  • ****
  • Gracias
  • -Dada: 120
  • -Recibida: 1869
  • Mensajes: 20905
messageicon

fancontrol

« en: 10/04/2009, 11:15 »
fancontrol

Hi all,

As I got annoyed with having the fan run all of the time, I created a little daemon that controls the fan by measuring the hdd temperature and when it gets passed a high threshold, it turns on the fan. Next when the temperature has dropped below a low threshold, the fan will turn off again.

Installation is simple, just unzip the attached file, read the README. Next ftp the fancontrol.tar.gz to /tmp and login using telnet and issue the following commands:
cd /
tar -zxvf /tmp/fancontrol.tar.gz

this will install 1 file into /var/bin and 1 into /var/etc

You can configure the daemon by editing /var/etc/fancontrol.config

Next start the daemon with /var/bin/fancontrol
The application will exit immediately, in case of an error, please copy /tmp/fancontrol.log and post it here.

In the default config, logging is limited to errors only.

Please read the fancontrol.config for the options you can set.

There is no need to stop and restart the daemon when you change the settings, it will automatically pick up the changes at the next measurement.

Don't set timer over 300 seconds!
Don't set high over 45 degrees Celsius.

Temperatures are in Celsius, as I am european. Fahrenheit users, please run "/var/bin/hddtemp -qw /dev/sda" to see if hddtemp output Celsius or Fahrenheit for you, if it outputs fahrenheit, please also run "/var/bin/hddtemp -qwn /dev/sda" this will give you a single number (the temperature) if this is the same as the Fahrenheit temperature, please adopt the high and low temperature into Fahrenheit.

Use at your own risk, and report any errors here.

As far as I know the daemon is only usefull for dgs cuberevo (no idea of mini or other types, someone will have to try this out, I only have cuberevo's), it is useless for the abcom ipbox 9000 as this one has a design flaw with the airflow so it gets hot anyway.

There is still 1 issue, you have to start the daemon manually, the image makers will have to add it in their images and autostart it from a bootup script, as those are read only.

There is no need to turn off or on the fan in the sbox application, as the daemon will always over ride this value. You can however in the config file force the fan to be on all the time, or off all the time.

Have fun with it,
Arvy

 



PadreDeFamilia
!! ADVERTENCIAS !!: Las informaciones aquí publicadas NO CONTIENEN KEYS para la decodificación de ningún sistema: NO SON OPERATIVOS en sistemas SAT que precisen de su correspondiente suscripción. ESTA TOTALMENTE PROHIBIDO EL USO DE ESTAS INFORMACIONES PARA LA MODIFICACIÓN O DEFRAUDACIÓN DE SISTEMAS DE ACCESO CONDICIONAL. ESTOS FOROS SON MODERADOS Y NO SE PERMITE LA PUBLICACIÓN DE INFORMACIONES ILEGALES POR PARTE DE LOS USUARIOS. EN CASO DE DETECTARSE ESTE TIPO DE INFORMACIONES, LOS USUARIOS SERÁN EXCLUIDOS DE ESTAS PÁGINAS.
PROHIBIDA LA PUBLICACIÓN DE ENLACES A FIRMWARES ILEGALES