FreeBSD: switch from acpi to coretemp to get the cpu temperature
This commit is contained in:
parent
fc3fac640f
commit
7148eb5279
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user