Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ahci, ataidle

3 views
Skip to first unread message

Denis Shaposhnikov

unread,
Nov 18, 2009, 7:21:00 AM11/18/09
to
������������!

���������, ��� 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

Eugene Grosbein

unread,
Nov 18, 2009, 10:02:52 AM11/18/09
to
18 ��� 2009, �����, � 15:21 KRAT, d...@wizard.volgograd.ru �������(�):

dwvr> ���������, ��� sysutils/ataidle � ahci(4) �� ������. � � �� �����������
dwvr> ��� ���������� power management � HDD. ���������� �����-������ ������
dwvr> ������ ������� ���, ���� ������������ ahci?

� ahci(4) ���� ����� ���� �� ������. smartmontools ����.

Eugene
--
�������, ������� - ���� �����! (������� ������ �������������)

Anton Yuzhaninov

unread,
Nov 18, 2009, 7:42:28 AM11/18/09
to
On Wed, 18 Nov 2009 15:21:00 +0300, Denis Shaposhnikov wrote:
DS> ���������, ��� sysutils/ataidle � ahci(4) �� ������. � � �� �����������
DS> ��� ���������� power management � HDD. ���������� �����-������ ������
DS> ������ ������� ���, ���� ������������ ahci?

����� camcontrol

http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552

--
WBR,
Anton Yuzhaninov

Denis Shaposhnikov

unread,
Nov 18, 2009, 11:09:17 AM11/18/09
to
>>>>> "Eugene" == Eugene Grosbein <Eugene....@f1.n5006.z2.fido.cca.usart.ru> writes:

Eugene> � ahci(4) ���� ����� ���� �� ������. smartmontools ����.

��� smartmontools � ��� �����. ����� svn ������������ ��� ����� 5.39.

Denis Shaposhnikov

unread,
Nov 22, 2009, 12:58:26 PM11/22/09
to
>>>>> "Anton" == Anton Yuzhaninov <cit...@citrin.ru> writes:

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, ��� �� �� �
�� �������� � ���.

Andriy Gapon

unread,
Nov 23, 2009, 8:49:43 AM11/23/09
to
on 22/11/2009 19:58 Denis Shaposhnikov said the following:

>>>>>> "Anton" == Anton Yuzhaninov <cit...@citrin.ru> writes:
>
> DS> О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫, О©╫О©╫О©╫ sysutils/ataidle О©╫ ahci(4) О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫. О©╫ О©╫ О©╫О©╫
> DS> О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ power management О©╫ HDD. О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫
> DS> О©╫О©╫О©╫О©╫О©╫-О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫ О©╫О©╫О©╫, О©╫О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ ahci?
>
> Anton> О©╫О©╫О©╫О©╫О©╫ camcontrol
>
> Anton> http://docs.freebsd.org/cgi/mid.cgi?200911172117.nAHLHMfb039552
>
> HО©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫. О©╫О©╫О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫

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

Vasiliy Pampasov

unread,
Nov 23, 2009, 10:31:46 AM11/23/09
to
������, Andriy!

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.

Denis Shaposhnikov

unread,
Nov 26, 2009, 7:28:50 AM11/26/09
to
>>>>> "Andriy" == Andriy Gapon <a...@icyb.kiev.ua> writes:

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

0 new messages