JF Lalande wrote:
> Package: powersaved
> Version: 0.9.25-1
> Severity: minor
> 
> 
> I tried to make work the acoustic or power management of disks on my
> computer, but when changing of schemes, nothing is happening. I deduced that
> it was because my disk was a SCSI disk.
> 
> The package provides the control of power management of disk. However, it
> excludes the SCSI disk. Nowadays, as SATA disks are emulated through SCSI
> drivers, the commands with hdparm works on these disks. For example:
> 
> linotte:/etc/powersave# hdparm -B 128 /dev/sda
> 
> /dev/sda:
>  setting Advanced Power Management level to 0x80 (128)
>  linotte:/etc/powersave# hdparm -I /dev/sda | grep power
>          Advanced power management level: 128 (0x80)
> 
> It could be great that powersaved includes the control of these disks (maybe
> a variable in /etc/powersave/disk ?).
> 
> In /etc/powersave/disk I have:
> HDPARM_STBY_PERF="254"
> HDPARM_STBY_SAVE="128"
> HDPARM_STBY_AGGR="1"
> 
> In /etc/powersave/scheme_performance I have:
> POWERSAVE_DISK_STANDBY_MODE="performance"
> 
> And in /etc/powersave/scheme_powersave I have:
> POWERSAVE_DISK_STANDBY_MODE="powersave"
> 
> And when switching of scheme (manually or by unpluggin AC), nothing is
> happening when I check the status of my disk with hdparm.
> 
> If I made a mistake, please contact me, but I think that this is normal
> because powersave does not manage SCSI disks.
> 
> Regards,
> 
> Jean-Francois Lalande.
> 

Hi JF,

please upgrade to the latest version of powersaved (0.11.10). It should
have entered testing yesterday.
In powersaved_0.9.25 the script
/usr/lib/powersave/scripts/set_disk_settings used hardcoded device names
 of the form /dev/hdX in exec_hdparm(). The newer version uses hal for
this. Unfortunately I cannot test it with a SATA drive because I don't
own one. If powersaved_0.11.10-1 still fails to detect your SATA drive,
please execute the commands from
/usr/lib/powersave/scripts/set_disk_settings in exec_hdparm() manually.
most importantly
DISK`hal-find-by-property --key storage.drive_type --string disk`
BUS=`hal-get-property --udi $DISK --key storage.bus`
...
and tell me, what BUS type you get and also the other output.

Thanks,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to