���������, ��� sysutils/ataidle � ahci(4) �� ������. � � �� �����������
��� ���������� power management � HDD. ���������� �����-������ ������
������ ������� ���, ���� ������������ ahci?
�������!
--
DSS5-RIPE DSS-RIPN mailto:d...@wizard.volgograd.ru xmpp:d...@vlink.ru
http://wizard.volgograd.ru/ 2:550/5068@fidonet 2:550/5069@fidonet
dwvr> ���������, ��� sysutils/ataidle � ahci(4) �� ������. � � �� �����������
dwvr> ��� ���������� power management � HDD. ���������� �����-������ ������
dwvr> ������ ������� ���, ���� ������������ ahci?
� ahci(4) ���� ����� ���� �� ������. smartmontools ����.
Eugene
--
�������, ������� - ���� �����! (������� ������ �������������)
����� camcontrol
http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552
--
WBR,
Anton Yuzhaninov
Eugene> � ahci(4) ���� ����� ���� �� ������. smartmontools ����.
��� smartmontools � ��� �����. ����� svn ������������ ��� ����� 5.39.
DS> ���������, ��� sysutils/ataidle � ahci(4) �� ������. � � ��
DS> ����������� ��� ���������� power management � HDD. ����������
DS> �����-������ ������ ������ ������� ���, ���� ������������ ahci?
Anton> ����� camcontrol
Anton> http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552
H� ����������. ��� �������������
camcontrol standby ada0 -t X
��������� ������ ���������������� ��� ����� �������� X. smartctl
����������:
[dsh@localhost ~]% sudo smartctl -i -n never /dev/ada0
...
Power mode was: STANDBY
...
[dsh@localhost ~]% sudo smartctl -i -n standby /dev/ada0
smartctl 5.39 2009-11-18 r2987 [FreeBSD 8.0-PRERELEASE i386] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net
Device is in STANDBY mode, exit(2)
� ��� ����� ��������� � ����������� ������ power management, ��� �� �� �
�� �������� � ���.
HО©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫.
> camcontrol standby ada0 -t X
>
> О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ X. smartctl
> О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫:
>
> [dsh@localhost ~]% sudo smartctl -i -n never /dev/ada0
> ...
> Power mode was: STANDBY
> ...
>
> [dsh@localhost ~]% sudo smartctl -i -n standby /dev/ada0
> smartctl 5.39 2009-11-18 r2987 [FreeBSD 8.0-PRERELEASE i386] (local build)
> Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net
>
> Device is in STANDBY mode, exit(2)
>
> О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ power management, О©╫О©╫О©╫ О©╫О©╫ О©╫О©╫ О©╫
> О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫.
--
Andriy Gapon
23 ��� 09 16:49, Andriy Gapon -> Denis Shaposhnikov � ��������� �� ������
area://ru.unix.bsd?msgid=<11873...@news.mtu.ru>+924331f0:
>> DS> ���������, ��� sysutils/ataidle � ahci(4) �� ������. � � ��
>> DS> ����������� ��� ���������� power management � HDD. ����������
>> DS> �����-������ ������ ������ ������� ���, ���� ������������ ahci?
>> Anton> ����� camcontrol
>>
>> Anton>
>> http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552
>> H� ����������. ��� �������������
AG> H����� ���������� ������.
>> camcontrol standby ada0 -t X
>>
>> ��������� ������ ���������������� ��� ����� �������� X. smartctl
>> ����������:
>>
>> [dsh@localhost ~]% sudo smartctl -i -n never /dev/ada0
>> ...
>> Power mode was: STANDBY
>> ...
>>
>> [dsh@localhost ~]% sudo smartctl -i -n standby /dev/ada0
>> smartctl 5.39 2009-11-18 r2987 [FreeBSD 8.0-PRERELEASE i386] (local
>> build) Copyright (C) 2002-9 by Bruce Allen,
>> http://smartmontools.sourceforge.net
>>
>> Device is in STANDBY mode, exit(2)
>>
>> � ��� ����� ��������� � ����������� ������ power management, ��� ��
>> �� � �� �������� � ���.
AG> --
AG> Andriy Gapon
AG> --- ifmail v.2.15dev5.4
AG> * Origin: MTU-Intel ISP (2:5020/400)
� ���������� �����������, Ivan.
Anton> ����� camcontrol
>>
Anton> http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552
>>
>> H� ����������. ��� �������������
Andriy> H����� ���������� ������.
��������� ���������, ��� ��� ������� ����� camcontrol. ������� ���
������ � stable@
To set APM level:
camcontrol cmd ada0 -a "EF 05 00 00 00 00 00 00 00 00 xx 00"
To disable it:
camcontrol cmd ada0 -a "EF 85 00 00 00 00 00 00 00 00 00 00
To set AAM level:
camcontrol cmd ada0 -a "EF 42 00 00 00 00 00 00 00 00 xx 00"
To disable it:
camcontrol cmd ada0 -a "EF C2 00 00 00 00 00 00 00 00 00 00
You can check result with:
camcontrol identify ada0