Skip to content

Cannot detect sensors #38

@oliviertilmans

Description

@oliviertilmans

Hello,

My setup: MBP9.1 -- Linux oli-laptop 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64 GNU/Linux

There are no tempX_* files under /sys/devices/platform/coretemp.0/ ; which results in:

$ sudo mbpfan -f -v
Writing a new .pid file with value 7738 at: /var/run/mbpfan.pid
mbpfan[7738]: Writing a new .pid file with value 7738 at: /var/run/mbpfan.pid
Successfully written a new .pid file with value 7738 at: /var/run/mbpfan.pid
mbpfan[7738]: Successfully written a new .pid file with value 7738 at: /var/run/mbpfan.pid
Couldn't open configfile, using defaults
Found 0 sensors
Found 2 fans
Sleeping for 7 seconds
Old Temp 0: New Temp: 0, Fan Speed: 2000
Sleeping for 7 seconds
Old Temp 0: New Temp: 0, Fan Speed: 2000
[...]

Instead they are under /sys/devices/platform/coretemp.0/hwmon/hwmon1/ (and I guess more generally they would be in hwmonX if I had multiple CPU's)

I patched for my case, but have no idea if that applies for other distrib/laptop

oliviertilmans@e2b1aef

Which results in

sudo ./bin/mbpfan -f -v
Writing a new .pid file with value 7740 at: /var/run/mbpfan.pid
mbpfan[7740]: Writing a new .pid file with value 7740 at: /var/run/mbpfan.pid
Successfully written a new .pid file with value 7740 at: /var/run/mbpfan.pid
mbpfan[7740]: Successfully written a new .pid file with value 7740 at: /var/run/mbpfan.pid
Couldn't open configfile, using defaults
Found 5 sensors
Found 2 fans
Sleeping for 7 seconds
Old Temp 69: New Temp: 68, Fan Speed: 2000
Sleeping for 7 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions