Clóvis Alberto wrote:
> José Alexandre Nalon wrote:
>> Olá!
>>
>>  
>>>   Se o ACPI estiver habilitado, e o BIOS implementar o sensor, tente:
>>> $ cat /proc/acpi/thermal_zone/THRM/temperature
>>>     
>>
>> Interessante, o diretório /proc/acpi/thermal_zone existe,
>> mas não tem nenhum sub-diretório lá. A ferramenta de detec-
>> ção (sensors-detect) não encontra nada. Até aí, tudo bem,
>> mas é que eu duvido que não existam sensores: meu hardware
>> é bem novo. Pode ser algum chipset não suportado. Alguma
>> dica de como descobrir isso?
>>
>>   
> Tente instalar lm-sensors se ainda não estiver:
> 
> $sudo apt-get install lm-sensors
> 
> depois
> 
> $sensors

Se bem me lembro faltam algumas entradas no /dev para o lm-sensors
funcionar.
Use este script.
::::::::::::::
mkdev.sh
::::::::::::::
#!/bin/bash

# Here you can set several defaults.

# The number of devices to create (max: 256)
NUMBER=32

# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file

[]s

Adilson.

--
ubuntu-br mailing list
[email protected]
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a