Project

General

Profile

Actions

Bug #2531

open

camcontrol fails to disable APM

Added by m.lombardi85 almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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

dmesg (11.2 KB) dmesg m.lombardi85, 03/23/2013 05:23 AM
Actions #1

Updated by swildner almost 11 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

Also available in: Atom PDF