Hi Marco,

On 10/05/2014 06:46 PM, Marco wrote:

> When I restart thinkfan or reboot the whole machine, thinkfan dies with the 
> following message:
> 
> setfan_ibm: Error writing to /proc/acpi/ibm/fan: Invalid argument
> Cleaning up and resetting fan control.

Never seen this before.

> I tryed to recompile thinkfan with some more log messages in setfan_ibm() and 
> I noticed that the string it tries to write to /proc/acpi/ibm/fan is 
> unreadeable, while (if I got it right) should be something like "level 3".

Anything static? Or random?

> I have
> options thinkpad_acpi fanc_control=1

I hope it actually reads "fan_control" ;)

> and the demon starts and works correctly after a clean boot.

So it only fails after a reboot or a thinkfan restart?

> /etc/thinkfan.conf changed:
> tp_fan /proc/acpi/ibm/fan
> tp_thermal /proc/acpi/ibm/thermal
> { "level 0"
>     (0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0)      # LOWER limit
>     (54 .  54 .  .  .  .  .  .  .  .  .  .  .  .  .)      # UPPER limit
> }
> { "level 1"
>     (46 .  46 .  .  .  .  .  .  .  .  .  .  .  .  .)
>     (58 .  58 .  .  .  .  .  .  .  .  .  .  .  .  .)
> }
> { "level 2"
>     (52 .  52 .  .  .  .  .  .  .  .  .  .  .  .  .)
>     (62 .  62 .  .  .  .  .  .  .  .  .  .  .  .  .)
> }
> { "level 3"
>     (56 .  56 .  .  .  .  .  .  .  .  .  .  .  .  .)
>     (66 .  66 .  .  .  .  .  .  .  .  .  .  .  .  .)
> }
> { "level 7"
>     (63 .  63 .  .  .  .  .  .  .  .  .  .  .  .  .)
>     (99 .  99 .  .  .  .  .  .  .  .  .  .  .  .  .)
> }

Could you try running thinkfan with the default config? Without the
level adjustments?

Greets
Evgeni


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to