From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: hdparm -C on SATA always prints "standby" Date: Mon, 16 Oct 2006 12:09:47 -0400 Message-ID: <4533AECB.7010102@rtr.ca> References: <200610161136.04754.len.brown@intel.com> <4533ADFA.4000703@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from rtr.ca ([64.26.128.89]:27152 "EHLO mail.rtr.ca") by vger.kernel.org with ESMTP id S1422691AbWJPQJt (ORCPT ); Mon, 16 Oct 2006 12:09:49 -0400 In-Reply-To: <4533ADFA.4000703@rtr.ca> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Len Brown Cc: linux-ide@vger.kernel.org, bltk-discussion@lists.sourceforge.net >> hdparm -C seems to work on the PATA laptops I have, >> but it always returns standby on the SATA laptops I have. >> >> Is this a known issue? > > Yes, due to incomplete implemetation of the HDIO_* ioctls in libata. > Somebody else posted a patch here recently to fix it. > I don't know if Jeff picked it up or not. Correction on that. Jeff has indeed picked up the fix, as of his "pull" request on Ocober 11: >Eran Tromer: > libata: return sense data in HDIO_DRIVE_CMD ioctl Cheers