1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Noise (Fan control) - AJUDA

Discussão em 'Dúvidas e Suporte Técnico - GNU/Linux & *nix' iniciada por J_M, 13 de Junho de 2009. (Respostas: 1; Visualizações: 839)

  1. J_M

    J_M Power Member

    Boas, recentemente adquiri um acer inspire one a110 e instalei-lhe o ubuntu. Um dos problemas que tenho com o ubuntu é o facto da ventoinha estar sempre a trabalhar e a fazer barulho.

    Segui os passos para "Noise (Fan control)" presentes nesta pagina: https://help.ubuntu.com/community/AspireOne


    O problema é que, ao contrario do exemplo da página onde ao escrever
    tail /var/log/messages

    vejo isto:

    Feb 19 01:25:42 mythtv kernel: [106628.078100] acerhdf: version: 0.2 compiledate: Feb 19 2009 01:25:21
    Feb 19 01:25:42 mythtv kernel: [106628.078116] acerhdf: biosvendor:Acer
    Feb 19 01:25:42 mythtv kernel: [106628.078125] acerhdf: biosversion:v0.3309
    Feb 19 01:25:42 mythtv kernel: [106628.078134] acerhdf: biosrelease:10/06/2008
    Feb 19 01:25:42 mythtv kernel: [106628.078143] acerhdf: biosproduct:AOA150
    Feb 19 01:25:42 mythtv kernel: [106628.078850] acerhdf: Temperature is: 49


    No meu pc a linha referente à temperatura não aparece mesmo tendo seguido todos os passos.
    O meu medo é que isso faça com que as temperaturas não sejam tidas em conta e que a ventoinha não seja activada, podendo assim danificar o computador.
     
  2. Underground909

    Underground909 Power Member

    Esse módulo vem com um README, vê se ajuda
    Há também versões mais recentes do módulo para download

    (não tenho um AAO)

    Código:
    acerhdf - A kernelmodule which monitors the temperature 
              of the aspire one netbook, turns on/off the fan
              as soon as the upper/lower threshold is reached.
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    0.0: VERY SHORT REFERENCE
       install: make && make install
       load module: modprobe acerhdf interval=10 fanon=67 fanoff=62
       read temperature: cat /sys/class/thermal/thermal_zone0/temp
       change parameter: echo 50 > /sys/module/acerhdf/parameters/fanoff
    
    
    1.0: INSTALL
    
    1.1: DISTRIBUTION
       Ensure you've installed everything to build a kernelmodule. For debian you
       need at least to do: 'apt-get install build-essentials linux-kernel-headers'
    
    1.2: ACERHDF
       Obtain the source of the latest version from http://piie.net/?section=acerhdf
       Untar the sources:  'tar xfvz acerhdf_kmod-<version>.tar.gz'
       Compile: 'cd acerhdf_kmod && make'
       Install: 'sudo make install'
    
    
    2.0: USAGE
    
    2.1: LOADING THE MODULE
       To load the module into the kernel type: 'modprobe acerhdf'
       If you want let this happen automatically on system boot-up, add the module
       acerhdf to your list of autoloaded modules. (ask google how this works for
       your distribution)
    
    2.2: CHECK
       Launch the command 'dmesg|grep acerhdf' and read the messages printed out.
       
    2.3: READING THE TEMPERATURE
       The current temperature can be read by:
       'cat /sys/class/thermal/thermal_zone0/temp'
    
    2.4: MONITORING / CONTROLLING THE FAN
       The fan can be monitored via: 
       'cat /sys/class/thermal/thermal_zone0/cdev0/cur_state'
    
       ATTENTION: setting the fan state manually can damage your hardware!
       To change the state manually you must first switch to user mode (see 2.5),
       then following commands will change the state:
       ON: 'echo 1 > /sys/class/thermal/thermal_zone0/cdev0/cur_state'
       OFF: 'echo 0 > /sys/class/thermal/thermal_zone0/cdev0/cur_state'
       
    2.5: CHANGING BETWEEN KERNEL AND USER MODE
       kernel: acerhdf controls the fan automatically depending on the temperature
       and the temperature thresholds (see 2.6).
       user: acerhdf offers only the interface for reading the temperature and
       setting the state of the fan. A userspace program must take care about
       changing the fan state.
    
       Kernel mode is the default operation mode of acerhdf.
       To switch to user mode, enter: 
       'echo user > /sys/class/thermal/thermal_zone0/mode'
       You can switch back to kernel mode via:
       'echo kernel > /sys/class/thermal/thermal_zone0/mode'
    
    2.6: CONFIGURATION / PARAMETERS
       acerhdf has following parameters:
       o interval=10 - The interval in seconds, in which the temperature should be
          checked in kernel mode. (default=10)
       o fanon=67 - The temperature in Celsius above the fan should be switched on.
          (default=67)
       o fanoff=62 - The temperature in Celsuis below the fan should be switched
          off. (default=62)
       o verbose=0 - Print out verbose messages to dmesg. (default=0)
       o force_bios="" - For testing purposes, see below.
    
       Those parameters can be set when loading the module. E.g:
       'modprobe acerhdf interval=5 fanon=65 fanoff=60'
       You can add them to '/etc/modprobe.conf', so that they are automatically
       applied, when the module is loaded. The line in modprobe.conf can look like
       this:
       'options acerhdf interval=5 fanon=65 fanoff=60'
    
       Additionally every parameter (besides force_bios) can also be read and written 
       by accessing it via cat'ing or echo'ing the specific file in 
       /sys/module/acerhdf/parameters/*
    
       Example:
       'cat /sys/module/acerhdf/parameters/interval' to read the interval setting.
       'echo 50 > /sys/module/acerhdf/parameters/fanoff' to change the fanoff
       setting.
    
    
    3.0: TESTING UNSUPPORTED HARDWARE
          
          !!!! ATTENTION !!!!
       This could harm your hardware if you do not know what you are doing!
       
       If you have hardware / bios which isn't officially supported by acerhdf, but
       you are sure it should work, you can try to load the module by:
       'modprobe acerhdf force_bios="v0.3305"' or any other bios version defined in
       source of acerhdf. The force_bios parameter will cause acerhdf to omit the
       hardware and bios check and to pretend the chosen bios version is available.
       -> acerhdf will be started in user mode.
       Before switching to kernel mode (see 2.5) test if the temperature and the fan
       can be correctly accessed (see 2.4)
    
       IMPORTANT: if you get your hardware / bios working with this parameter,
       report it to peter (a) piie.net then it will get into the list of supported
       devices.
    
     

Partilhar esta Página