Menu

#13 ksensors: patch to show SCSI/SATA disks

open
nobody
None
5
2006-11-25
2006-11-25
Chaza
No

http://bugs.gentoo.org/120350

Written by Michael Mauch. From his summary on the above bug:

With the new Linux kernel 2.6.15 it is possible to use hddtemp for SCSI
or SATA disks. These disks appear as /dev/sda, /dev/sdb and so on.

ksensors currently only looks for IDE devices in /proc/ide. With the
attached patch ksensors first tries to open the directory /sys/block,
which has hd* and sd* entries. If /sys/block is not there, /proc/ide is
used as usual.

Discussion

  • Chaza

    Chaza - 2006-11-25

    ksensors-scsi-disks.patch

     
  • Chaza

    Chaza - 2006-11-25

    Logged In: YES
    user_id=1096685
    Originator: YES

    Also in the above Gentoo bug:

    on my box, hddtemp segfault when call with :
    hddtemp -q /dev/hdd /dev/hdc
    but, not if called like :
    hddtemp -q /dev/hdd
    hddtemp -q /dev/hdc
    so, ksensors need to be patch not to so.
    that's what the attached patch is doing
    (it may be better to fix hddtemp but this dirty hack work for me)

    Again written by Michael Mauch

     
  • Chaza

    Chaza - 2006-11-25

    prevent ksensors from calling hddtemp with multiple params

     
  • Aurelien Jarno

    Aurelien Jarno - 2007-06-21

    Logged In: YES
    user_id=475561
    Originator: NO

    This is fixed in CVS.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.