You are not logged in.

#1 2014-06-02 15:42:04

OlaffTheGreat
Member
Registered: 2013-06-03
Posts: 107

fancontrol fan not configured on eeepc 1000He

I have hard time make work fancontrol on an Asus eeepc 1000He (3.14.4-1-ARCH, lxde, LVM+LUKS on SSD M4)

For the record, there is some device related to the fan since it changes its speed randomly, from low (rare) to very loud (most of the time).

I try to fix this issue by following this wiki and this one.
As recommended, I disabled the lm_sensors.service in order to place the module I find with sensors in /etc/module-load.d/load_these.conf,
which works as proven by an temp reading applet (AUR/sensors-lxpanel-plugin).

Sensors gives me only this (I already ran sensors-detect):

% sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +33.0°C  (crit = +90.0°C)

As the wiki suggests, since the output does not return any RPM value for any fan,
I run directly pwmconfig, which does not find any module: /usr/bin/pwmconfig: There are no pwm-capable sensor modules installed.

So I start writing my own /etc/fancontrol:

INTERVAL=10
DEVPATH= hwmon0=devices/platform/coretemp.0 #hwmon1=devices/platform/eeepc-wmi
DEVNAME= hwmon0=coretemp #hwmon1=eeepc-wmi
FCTEMPS= hwmon0/device/pwm1= hwmon0/device/temp2_input
FCFANS=  hwmon0/device/pwm1= hwmon0/fan1_input
MINTEMP= hwmon0/device/pwm1=60
MAXTEMP= hwmon0/device/pwm1=70
MINSTART=hwmon0/device/pwm1=150
MINSTOP= hwmon0/device/pwm1=60
MINPWM=  hwmon0/device/pwm1=0
MAXPWM=  hwmon0/device/pwm1=255

I gets some values like this:
* DEVPATH:

% readlink -f /sys/class/hwmon/hwmon*/device | sed -e 's/^\/sys\///'
devices/platform/coretemp.0

Confirmed by:

% ls -l /sys/class/hwmon/hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0/

% ls /sys/devices/platform/coretemp.0/hwmon/hwmon0/device/temp2_input (along with temp2_crit, temp2_crit_alarm and temp2_label)

But nothing for the fan. If I check:

% ls -l /sys/class/hwmon/hwmon1 -> ../../devices/platform/eeepc-wmi/hwmon/hwmon1/ (in red: link dead)

% ls /sys/device/platform/
 no eeepc-wmi folder.

Please notice that I get an error with asus-wmi on the boot time that says: "asus-wmi error removing rfkill"
I don't know if it is related to the fan or another acpi brighteness issue I am having too.

However, by diging furether, I find a "cooling device", but I don't know what to do with it:

% ls /sys/class/thermal
~cooling_device0
~cooling_device1
~cooling_device2
~thermal_zone0

* DEVNAME (here again, no fan):

% sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon*/device/name
coretemp

* FCTEMPS: I placed the value I found earlier. However, I don't find any pwm files in hwmon0.device.
* FCFANS: I just put an imaginary value... same for the rest.

I read the doc about sysfs files,
but it is a bit out of my league. I prefere ask here before breaking any hardware!

That's it. Any ideas, suggestions?

Last edited by OlaffTheGreat (2014-06-02 15:42:32)


Lenovo Thinkpad x230 i5-3320M 2.6GHz 250GB SSD (M4) 16GB
SSD | SeaBIOS | GPT | BTRFS | OpenRC | Xfce4 | Zsh | Tmux | Spacemacs
* "Aware Newbie" *
Ibus IM for language script support (e.g. 日本語 - 中文)

Offline

Board footer

Powered by FluxBB