From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 20:00:20 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F106516A468 for ; Mon, 3 Dec 2007 20:00:20 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id C820A13C461 for ; Mon, 3 Dec 2007 20:00:20 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id EAEB9267E14 for ; Mon, 3 Dec 2007 21:00:20 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id 99eqmzAHWolW for ; Mon, 3 Dec 2007 21:00:16 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id 69DBC267E6C for ; Mon, 3 Dec 2007 21:00:16 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 03 Dec 2007 21:00:12 +0100 To: freebsd-acpi@freebsd.org From: Laurent LEVIER In-Reply-To: <47534A89.3010403@root.org> References: <20071202170922.E4574267CBD@mx.levier.org> <47534A89.3010403@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071203200016.69DBC267E6C@mx.levier.org> Subject: Re: Power savings on USB Hard drives X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 20:00:21 -0000 Hi Everyone, Since my post, I found some new interesting stuff digging & playing around. I got here 2 USB2 HD: One based on a Western Digital "Mybook Essential Edition" 500 GB HD (black book design with a circle green light as indicator) Another one based on a basic Textorm alloy case, with fan + switch. When I plug the Textorm to my M$ Windows PC, HD does not spin down at disconnect time. However, WD does (in fact, it switches off completely). So I connected my WD on my FreeBSD 6.2p8 and the "camcontrol stop da0", or start or eject (except it ejects nothing), are working perfectly. When I try this with Textorm case, I receive as answer an illegal request: # camcontrol stop da0 -v Error received from stop unit command (pass0:umass-sim0:0:0:0): STOP START UNIT. CDB: 1b 0 0 0 0 0 (pass0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass0:umass-sim0:0:0:0): SCSI Status: Check Condition (pass0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 (pass0:umass-sim0:0:0:0): Invalid command operation code So, after this first analysis: definitely the USB case makes the difference. The USB->IDE Interface must be able to understand the SCSI start/stop commands so camcontrol works properly. About the timeouts now... Of course, the Textorm plugged on FreeBSD keeps running infinitely, even unmounted. The WD case spins down by itself (I supposed) after a while. Final test, WD mounted, after a while, guess what?? External HD normall spins down after 15mn, that is the delay to power save in my bios!!! So as a summ, definitely the case makes possible or not to have power save on USB hard drives. The point is: how to know the case you are purchasing can (or not) do this? All I can say is the one I purchased from WD is ok. Hope this will help everyone Brgrds