thermal plugin doesn't work

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

thermal plugin doesn't work

Post by lodger »

Hi,
thermal plugin of lxpanel 0.8.0-1 doesn't work on my ArchLinux 32bit. it always shows 40°:
Image

i have tried to set sensors to settings but it still shows 40°
Image

sensors works:

Code: Select all

$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +38.0°C  (high = +74.0°C, crit = +100.0°C)
Core 1:       +37.0°C  (high = +74.0°C, crit = +100.0°C)

Code: Select all

$ acpi -t
Thermal 0: ok, 40.0 degrees C

Code: Select all

$ tree /sys/class/thermal
/sys/class/thermal
├── cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
├── cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
├── cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
└── thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0

4 directories, 0 files

Code: Select all

$ tree /sys/devices/virtual/thermal/
/sys/devices/virtual/thermal/
├── cooling_device0
│   ├── cur_state
│   ├── device -> ../../../LNXSYSTM:00/LNXCPU:00
│   ├── max_state
│   ├── power
│   │   ├── async
│   │   ├── autosuspend_delay_ms
│   │   ├── control
│   │   ├── runtime_active_kids
│   │   ├── runtime_active_time
│   │   ├── runtime_enabled
│   │   ├── runtime_status
│   │   ├── runtime_suspended_time
│   │   └── runtime_usage
│   ├── subsystem -> ../../../../class/thermal
│   ├── type
│   └── uevent
├── cooling_device1
│   ├── cur_state
│   ├── device -> ../../../LNXSYSTM:00/LNXCPU:01
│   ├── max_state
│   ├── power
│   │   ├── async
│   │   ├── autosuspend_delay_ms
│   │   ├── control
│   │   ├── runtime_active_kids
│   │   ├── runtime_active_time
│   │   ├── runtime_enabled
│   │   ├── runtime_status
│   │   ├── runtime_suspended_time
│   │   └── runtime_usage
│   ├── subsystem -> ../../../../class/thermal
│   ├── type
│   └── uevent
├── cooling_device2
│   ├── cur_state
│   ├── device -> ../../../platform/PNP0C0B:00
│   ├── max_state
│   ├── power
│   │   ├── async
│   │   ├── autosuspend_delay_ms
│   │   ├── control
│   │   ├── runtime_active_kids
│   │   ├── runtime_active_time
│   │   ├── runtime_enabled
│   │   ├── runtime_status
│   │   ├── runtime_suspended_time
│   │   └── runtime_usage
│   ├── subsystem -> ../../../../class/thermal
│   ├── type
│   └── uevent
└── thermal_zone0
    ├── cdev0 -> ../cooling_device0
    ├── cdev0_trip_point
    ├── cdev1 -> ../cooling_device2
    ├── cdev1_trip_point
    ├── device -> ../../../LNXSYSTM:00/LNXSYBUS:01/LNXTHERM:00
    ├── mode
    ├── policy
    ├── power
    │   ├── async
    │   ├── autosuspend_delay_ms
    │   ├── control
    │   ├── runtime_active_kids
    │   ├── runtime_active_time
    │   ├── runtime_enabled
    │   ├── runtime_status
    │   ├── runtime_suspended_time
    │   └── runtime_usage
    ├── subsystem -> ../../../../class/thermal
    ├── temp
    ├── trip_point_0_temp
    ├── trip_point_0_type
    ├── trip_point_1_temp
    ├── trip_point_1_type
    ├── trip_point_2_temp
    ├── trip_point_2_type
    ├── type
    └── uevent

18 directories, 61 files

Code: Select all

$ lsmod|grep acpi
acpi_cpufreq           20480  0 
processor              28672  1 acpi_cpufreq
pata_acpi              16384  0 
libata                163840  4 pata_acpi,sata_via,pata_via,ata_generic


$ lsmod|grep thermal
thermal                20480  0 

Last edited by lodger on Fri May 29, 2015 6:01 pm, edited 4 times in total.
Bob E
Posts: 72
Joined: Wed Oct 12, 2011 1:37 am

Re: thermal plugin doesn't work

Post by Bob E »

Hi lodger. Just for comparison, I tried this on my Debian LXDE with lxpanel 0.7.2 and I get the same results as you no matter what settings I try. Probably a bug in the plugin. Did you have it working on your Arch before lxpanel 0.8.1?
lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: thermal plugin doesn't work

Post by lodger »

Bob E wrote:Did you have it working on your Arch before lxpanel 0.8.1?
no, it never worked. neither on Fedora.
Bob E
Posts: 72
Joined: Wed Oct 12, 2011 1:37 am

Re: thermal plugin doesn't work

Post by Bob E »

This may be of interest to you. On github, sensors-lxpanel-plugin for LXDE
https://github.com/danamlund/sensors-lxpanel-plugin

About half way down the page, there is a link for the Arch package.
https://aur.archlinux.org/packages/sens ... el-plugin/

SCREENSHOT
lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: thermal plugin doesn't work

Post by lodger »

Thanks Bob E, it works good.
Bob E
Posts: 72
Joined: Wed Oct 12, 2011 1:37 am

Re: thermal plugin doesn't work

Post by Bob E »

Excellent! Glad that worked out for you.
Locked