From thinker@esp.branda.to Sat Jan 4 20:39:51 2003 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B20437B401 for ; Sat, 4 Jan 2003 20:39:51 -0800 (PST) Received: from esp.branda.to (121.c210-85-224.ethome.net.tw [210.85.224.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id A724243EA9 for ; Sat, 4 Jan 2003 20:39:49 -0800 (PST) (envelope-from thinker@esp.branda.to) Received: from esp.branda.to (localhost [127.0.0.1]) by esp.branda.to (8.12.6/8.12.6) with ESMTP id h054ddqK001935 for ; Sun, 5 Jan 2003 12:39:39 +0800 (CST) (envelope-from thinker@esp.branda.to) Received: (from thinker@localhost) by esp.branda.to (8.12.6/8.12.6/Submit) id h054dcn0001934; Sun, 5 Jan 2003 12:39:38 +0800 (CST) Message-Id: <200301050439.h054dcn0001934@esp.branda.to> Date: Sun, 5 Jan 2003 12:39:38 +0800 (CST) From: User & Reply-To: User & To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: I want IDE HD go into standby mode. X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 46773 >Category: kern >Synopsis: I want IDE HD go into standby mode. >Confidential: no >Severity: non-critical >Priority: low >Responsible: sos >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 04 20:40:01 PST 2003 >Closed-Date: Sat Oct 25 12:39:17 PDT 2003 >Last-Modified: Sat Oct 25 12:39:17 PDT 2003 >Originator: Thinker K.F. Li >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD esp.branda.to 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Jan 5 04:01:59 CST 2003 thinker@esp.branda.to:/usr/src/sys/i386/compile/esp i386 >Description: I modify ata driver & /sbin/atacontrol to give FreeBSD ability setting IDE device go into standby mode. >How-To-Repeat: To move channel 0 master device go into standby mode, /sbin/atacontrol standby 0 0 >Fix: Apply following patch file at `/usr/src/'. begin 644 ata-standby-thinker-20030105.patch M+2TM('-B:6XO871A8V]N=')O;"]A=&%C;VYT7,O7,OPHK"2`@("!S=')U8W0@871A7V1E=FEC92`J871A9&5V.PHK M"2`@("!I;G0@7,O9&5V+V%T82]A=&$M86QL+F@)4W5N($IA;B`@-2`P,3HP M-#HT,"`R,#`S"D!`("TX,BPV("LX,BPW($!`"B`C9&5F:6YE"0E!5$%?0U]2 M14%$7T1-00D),'AC.`DO*B!R96%D('2!I;6UE9&EA=&4@*B\* M("-D969I;F4)"4%405]#7U-,1450"0DP>&4V"2\J('-L965P(&-O;6UA;F0@ M*B\*("-D969I;F4)"4%405]#7T9,55-(0T%#2$4),'AE-PDO*B!F;'5S:"!C M86-H92!T;R!D:7-K("HO"B`C9&5F:6YE"0E!5$%?0U]&3%532$-!0TA%-#@) ?,'AE80DO*B!F;'5S:"!C86-H92!T;R!D:7-K("HO"@`` ` end >Release-Note: >Audit-Trail: From: Ulrich Spoerlein To: User & Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/46773: I want IDE HD go into standby mode. Date: Sun, 5 Jan 2003 18:07:33 +0100 --S_F6=.0SY=Gj1WCQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On 2003/01/05-12:39:38 User & wrote: nice patch, thanks. i have a similar patch for the HDDs to go to sleep after a give period of inactivity. the only thing lacking now would be to add a switch to apm/zzz, so that it can power down HDDs on standby --S_F6=.0SY=Gj1WCQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GGZWmArGtfDbn0QRAuJ1AJ9lPTlU7HCz44fNFTiDhuYL5VDodACgsy01 1URn7usl3KkfFMUPEzF1YLU= =Kjhv -----END PGP SIGNATURE----- --S_F6=.0SY=Gj1WCQ-- Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: johan Responsible-Changed-When: Mon Feb 3 12:57:45 PST 2003 Responsible-Changed-Why: Over to ATA maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=46773 State-Changed-From-To: open->closed State-Changed-By: sos State-Changed-When: Sat Oct 25 12:38:18 PDT 2003 State-Changed-Why: Actually this can be done from userland know as with ATAng its possible to issue ATA commands from userland. http://www.freebsd.org/cgi/query-pr.cgi?pr=46773 >Unformatted: