Date: Mon, 9 Nov 1998 20:50:34 -0800 (PST) From: nakagawa@jp.FreeBSD.org To: freebsd-gnats-submit@FreeBSD.ORG Subject: i386/8638: cpu_power_down() is dirty Message-ID: <199811100450.UAA09393@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 8638 >Category: i386 >Synopsis: cpu_power_down() is dirty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 9 21:00:01 PST 1998 >Last-Modified: >Originator: NAKAGAWA, Yoshihisa >Organization: Japan FreeBSD Users Group >Release: 3.0-RELEASE >Environment: >Description: It should be halt only when "shutdown -h", and be use another option for power-control, like "-x". cpu_power_down() is dirty, if you want power-control, should be use "halt -p". My patch's scheme is machine-arch independ, and support "multi" power-control mechanism. (ex: APM 1.1, UPS, ... if driver exist) If you want to add new power-control mechanism, register power-control "func" using "at_shutdown(func, NULL, SHUTDOWN_POWER_OFF);". Don't need to change shutdown command. >How-To-Repeat: >Fix: patch available: kernel http://www.jp.freebsd.org/~nakagawa/files/300R/shutdown.patch command http://www.jp.freebsd.org/~nakagawa/files/300R/shutdown.sbin.patch >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811100450.UAA09393>