Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 11:09:05 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Denis Shaposhnikov <dsh@wizard.volgograd.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: how to disable APM using camcontrol cmd
Message-ID:  <4B0E45B1.90907@FreeBSD.org>
In-Reply-To: <1259162588.00187044.1259151005@10.7.7.3>
References:  <1259162588.00187044.1259151005@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
Denis Shaposhnikov wrote:
> I'm trying to replace sysutils/ataidle which doesn't work with new
> acpi(4). May be somebody could tell me args for
> 
>   camcontrol cmd ada0 -a cmd XX XX XX XX XX XX XX XX
> 
> to disable APM and acoustic management (AAM) for my HDD?

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

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B0E45B1.90907>