Actions
Bug #2531
opencamcontrol fails to disable APM
Start date:
03/23/2013
Due date:
% Done:
0%
Estimated time:
Description
I installed dragonfly BSD on an AMD64 laptop but I have a problem.
The hard disk is continuously spinning up and down every few seconds;
on FreeBSD I normally execute the following command to disable APM
#camcontrol cmd ad0 -c "EF 85 00 00 00 00 00 00 00 00 00 00"
but unfortunately it fails on dragonfly with the following error message:
camcontrol: error sending command
Files
Updated by swildner almost 12 years ago
OK, I've pushed (and MFC'd) a fix that allows turning off APM for disks at least with nata(4).
I think in order to have have this for AHCI attached disks too (via camcontrol(8)), we'd have to integrate ATA into CAM like FreeBSD did. But I'm not 100% sure about this.
Actions