Your message dated Wed, 19 Oct 2005 14:17:17 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#334614: fixed in ksensors 0.7.3-7
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Oct 2005 23:55:00 +0000
>From [EMAIL PROTECTED] Tue Oct 18 16:55:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dragonboat.cs.uoguelph.ca [131.104.96.108]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1ES1IK-0003ts-00; Tue, 18 Oct 2005 16:55:00 -0700
Received: from fugu.cis.uoguelph.ca ([131.104.49.25])
by dragonboat.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id
j9INstx4016704
for <[EMAIL PROTECTED]>; Tue, 18 Oct 2005 19:54:58 -0400
Received: from fluffy.terranova.homeunix.org
(CPE0080c85adf4a-CM014500002136.cpe.net.cable.rogers.com [24.112.8.169])
by fugu.cis.uoguelph.ca (8.13.3/8.13.3) with ESMTP id j9INsrDm026266
for <[EMAIL PROTECTED]>; Tue, 18 Oct 2005 19:54:54 -0400 (EDT)
Received: from [172.23.153.2] ([EMAIL PROTECTED] [172.23.153.2])
by fluffy.terranova.homeunix.org (8.13.3/8.13.3) with ESMTP id
j9INsqCZ000369
for <[EMAIL PROTECTED]>; Tue, 18 Oct 2005 19:54:53 -0400 (EDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 18 Oct 2005 19:54:52 -0400
From: James Stark <[EMAIL PROTECTED]>
User-Agent: Debian Thunderbird 1.0.7 (X11/20051011)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Support for reading temperatures from SCSI Hard Disks
Content-Type: multipart/mixed;
boundary="------------030809030402060704010101"
X-Spam-Scanner: SpamAssassin 3.000004 (http://www.spamassassin.org/) on
dragonboat.cs.uoguelph.ca
X-Spam-Score: hits=0.1
X-Spam-Tests: FORGED_RCVD_HELO
X-Scanned-By: MIMEDefang 2.52 on 131.104.96.108
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
This is a multi-part message in MIME format.
--------------030809030402060704010101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Package: ksensors
Version: 0.7.3-6
Severity: wishlist
Tags: patch
Hi,
I'm including a patch for ksensors that will allow it to read
temperatures for SCSI hard disks. To do this ksensors has to look in
/sys/block for the device name instead of /proc/ide. If it fails to
open /sys/block it will fall back to the old behaviour.
Thanks,
James
--------------030809030402060704010101
Content-Type: text/plain;
name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch"
diff -Naur ksensors/src/hdsensorslist.cpp ksensors-patch/src/hdsensorslist.cpp
--- ksensors/src/hdsensorslist.cpp 2004-08-21 00:26:51.000000000 +0000
+++ ksensors-patch/src/hdsensorslist.cpp 2005-10-18 01:53:44.761840000
+0000
@@ -200,12 +200,17 @@
bool HDSensorsList::getDisks(QStringList &disks )
{
- DIR *dir= opendir("/proc/ide");
- if(!dir) return false;
+ DIR *dir;
+
+ /* Get a listing of the hard drives looking under sysfs first then falling
back to /proc/ide */
+ if((dir = opendir ("/sys/block")) == NULL)
+ if ((dir == opendir ("/proc/ide")) == NULL)
+ return false;
+
QString str;
struct dirent *ptr;
while((ptr= readdir(dir))) {
- if(ptr->d_name[0]=='h' && ptr->d_name[1]=='d') {
- str.sprintf("/dev/hd%c",ptr->d_name[2]);
+ if((ptr->d_name[0]=='h' || ptr->d_name[0]=='s') && ptr->d_name[1]=='d') {
+ str.sprintf("/dev/%s",ptr->d_name);
disks << str;
}
--------------030809030402060704010101--
---------------------------------------
Received: (at 334614-close) by bugs.debian.org; 19 Oct 2005 21:18:45 +0000
>From [EMAIL PROTECTED] Wed Oct 19 14:18:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1ESLJF-0005fB-00; Wed, 19 Oct 2005 14:17:17 -0700
From: Aurelien Jarno <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#334614: fixed in ksensors 0.7.3-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 19 Oct 2005 14:17:17 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: ksensors
Source-Version: 0.7.3-7
We believe that the bug you reported is fixed in the latest version of
ksensors, which is due to be installed in the Debian FTP archive:
ksensors_0.7.3-7.diff.gz
to pool/main/k/ksensors/ksensors_0.7.3-7.diff.gz
ksensors_0.7.3-7.dsc
to pool/main/k/ksensors/ksensors_0.7.3-7.dsc
ksensors_0.7.3-7_sparc.deb
to pool/main/k/ksensors/ksensors_0.7.3-7_sparc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated ksensors package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 19 Oct 2005 22:19:56 +0200
Source: ksensors
Binary: ksensors
Architecture: source sparc
Version: 0.7.3-7
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description:
ksensors - lm-sensors frontend for KDE
Closes: 334614
Changes:
ksensors (0.7.3-7) unstable; urgency=low
.
* Patches pulled from CVS:
- Polish translation.
- Support for reading temperature from SCSI disks. Thanks to James
Stark (closes: bug#334614).
Files:
17bacd5339431787127e0b0622189808 711 kde optional ksensors_0.7.3-7.dsc
1a9543459067c41288621207bee83ad5 12375 kde optional ksensors_0.7.3-7.diff.gz
d367ebc846a8cf6d8dea81d48d69179c 297314 kde optional ksensors_0.7.3-7_sparc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD4DBQFDVrYyw3ao2vG823MRAphwAJiAa/j51oT/3bvg7ymbS1gh5bPRAJ45rR9x
iuGzoASkTB+Z0XTYc9RUAA==
=8QiF
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]