| Summary: | [PATCH] Sensors tab and Sensors plasmoid don't see more than 4 cores with 2.6.35 kernels | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | Alexey Chernov <4ernov> |
| Component: | widget-systemmonitor | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aseigo |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch fixing ksysguard sensors naming | ||
|
Description
Alexey Chernov
2010-09-13 20:59:02 UTC
if you open ksysguard, does it see all the CPU cores, or just 4 as well? Yes, it sees all the CPU cores (8). Reproducible in 4.5.2. Also exists in 4.6.0. Well, I worked at this bug for some time and seem to finally found the problem. It's indeed in ksysguard. The problem is that it relies on uniqueness of label between different sensors which isn't guaranteed at all. I've asked about the problem in lm-sensors mailing-list here: http://news.gmane.org/find-root.php?message_id=%3c201102012323.13215.4ernov%40gmail.com%3e So I think the problem can be fixed by adding sensor name to the address to make the sensor's address in ksysguard unique. I'll prepare the patch and if you find it possible solution I hope it will be merged. Created attachment 56800 [details]
Patch fixing ksysguard sensors naming
So, here's the patch for ksysguard which fixes sensors naming when working with recent lm-sensors. Instead of sensors_name prefix it uses full generated sensor name.
I hope it will help and can be merged to the main tree.
Git commit 1aebb4e73b32c4124bbbdf67e76ed93689182b11 by Aaron Seigo. Committed on 04/02/11 at 08:20. Pushed by aseigo into branch 'KDE/4.6'. use sensors name, not label which may not be unique patch by Alexey Chernov BUG:251145 M +4 -2 ksysguard/ksysguardd/Linux/lmsensors.c http://commits.kde.org/kde-workspace/1aebb4e73b32c4124bbbdf67e76ed93689182b11 Git commit 89139f77eb6c150958ea28ac5f5fc3e1bb9b67e2 by Aaron Seigo. Committed on 04/02/11 at 08:20. Pushed by aseigo into branch 'master'. use sensors name, not label which may not be unique patch by Alexey Chernov BUG:251145 M +4 -2 ksysguard/ksysguardd/Linux/lmsensors.c http://commits.kde.org/kde-workspace/89139f77eb6c150958ea28ac5f5fc3e1bb9b67e2 Thanks a lot for committing |