! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Incorrect assumption with linux 3.x
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Lionel Le Folgoc 2011-12-21 20:06:00 CET
Created attachment 4038 
Proposed patch

Hi,

In lib/hddtemp.c there's apparently a test to determine which /proc dir to look for hard disk drives, depending on the second digit of the linux kernel version (a 2.6 kernel is expected). And I think this doesn't work with linux 3.x. ;-)

The attached patch should fix this issue, but I can't test (I've a ssd that doesn't report a valid temperature).

Thanks.
Comment 1 Lionel Le Folgoc 2012-01-21 20:25:04 CET
Created attachment 4119 
typo fixed
Comment 2 Fabian Nowak editbugs 2012-05-12 12:17:49 CEST
although the plugin and hddtemp still work for me with debian linux 3.2.0-2-amd64 I applied your patch, thanks for that.

Bug #8266

Reported by:
Lionel Le Folgoc
Reported on: 2011-12-21
Last modified on: 2012-05-12

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Proposed patch (492 bytes, patch)
2011-12-21 20:06 CET , Lionel Le Folgoc
no flags
typo fixed (492 bytes, patch)
2012-01-21 20:25 CET , Lionel Le Folgoc
no flags

Additional information