FreeBSD: switch from acpi to coretemp to get the cpu temperature

This commit is contained in:
Baptiste Daroussin 2011-12-10 00:30:22 +01:00 committed by Michael Stapelberg
parent fc3fac640f
commit 7148eb5279

View File

@ -16,7 +16,8 @@ enum { O_DZEN2, O_XMOBAR, O_NONE } output_format;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define THERMAL_ZONE "hw.acpi.thermal.tz%d.temperature" /* this needs the coretemp module to be loaded */
#define THERMAL_ZONE "dev.cpu.%d.temperature"
#define BATT_LIFE "hw.acpi.battery.life" #define BATT_LIFE "hw.acpi.battery.life"
#define BATT_TIME "hw.acpi.battery.time" #define BATT_TIME "hw.acpi.battery.time"
#define BATT_STATE "hw.acpi.battery.state" #define BATT_STATE "hw.acpi.battery.state"