Package: xfce4-sensors-plugin Version: 0.10.99.4~svn-r3775-1 Severity: normal Tags: patch
After starting the plugin I recieve the errormessage from hddtemp: ERROR: /dev/fd0: can't determine bus type (or this bus type is unknown) All right, ok....but my hdd with SMART support is not listet after that error occurs. So I decided to take a look into the Code. I don't know if there is any floppy device with an sensor. For me the following patch works satisfying. diff -Naur xfce4-sensors-plugin_old/panel-plugin/hddtemp.c xfce4-sensors-plugin-0.10.99.4/panel-plugin/hddtemp.c --- xfce4-sensors-plugin_old/panel-plugin/hddtemp.c 2008-02-02 14:04:24.000000000 +0100 +++ xfce4-sensors-plugin-0.10.99.4/panel-plugin/hddtemp.c 2008-02-03 16:54:00.000000000 +0100 @@ -123,7 +123,8 @@ if ( strncmp (dirname, "ram", 3)!=0 && strncmp (dirname, "loop", 4)!=0 && strncmp (dirname, "md", 2)!=0 && - strncmp (dirname, "dm-", 3)!=0 ) { + strncmp (dirname, "dm-", 3)!=0 && + strncmp (dirname, "fd", 2) !=0) { /* TODO: look, if /dev/dirname exists? */ chipfeature = g_new0 (t_chipfeature, 1); chipfeature->name = g_strconcat ("/dev/", dirname, NULL); /* /proc/ide/hda/model ?? */ -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xfce4-sensors-plugin depends on: ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit ii libc6 2.7-5 GNU C Library: Shared libraries ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra ii libfontconfig1 2.5.0-2 generic font configuration library ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libglib2.0-0 2.14.3-1 The GLib library of C routines ii libgtk2.0-0 2.12.5-2 The GTK+ graphical user interface ii libpango1.0-0 1.18.4-1 Layout and rendering of internatio ii libpng12-0 1.2.15~beta5-3 PNG library - runtime ii libsensors4 1:3.0.0-5 library to read temperature/voltag ii libx11-6 2:1.0.3-7 X11 client-side library ii libxfce4util4 4.4.2-1 Utility functions library for Xfce ii libxfcegui4-4 4.4.2-1 Basic GUI C functions for Xfce4 ii libxrender1 1:0.9.4-1 X Rendering Extension client libra ii xfce4-panel 4.4.2-1 The Xfce4 desktop environment pane ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime Versions of packages xfce4-sensors-plugin recommends: ii hddtemp 0.3-beta15-38 Utility to monitor the temperature ii lm-sensors 1:3.0.0-5 utilities to read temperature/volt -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]