From owner-freebsd-hackers Wed Mar 11 13:06:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09848 for freebsd-hackers-outgoing; Wed, 11 Mar 1998 13:06:50 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from amsoft.ru (amsoft.ru [194.87.86.241]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08439 for ; Wed, 11 Mar 1998 13:02:52 -0800 (PST) (envelope-from am@amsoft.ru) Received: (from am@localhost) by amsoft.ru (8.8.8/amsoft/1.0) id XAA02556 ; Wed, 11 Mar 1998 23:17:10 +0300 (MSK) From: Andrew Maltsev Message-Id: <199803112017.XAA02556@amsoft.ru> Subject: Re: APM power off (patch) In-Reply-To: <199803101958.LAA19859@dingo.cdrom.com> from "Mike Smith" at "Mar 10, 98 11:58:49 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 11 Mar 1998 23:17:10 +0300 (MSK) Cc: mike@smith.net.au, hosokawa@ntc.keio.ac.jp, yokota@zodiac.mech.utsunomiya-u.ac.jp, walter@fortean.com, freebsd-hackers@FreeBSD.ORG Organization: AM'soft X-Location: Oryol (http://www.oryol.ru/), Russia X-Phone: +7 086 229 9988 X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > ...btw I see no code in 2.2-stable branch to power down > > laptop. RB_POWEROFF is not analized anywhere in kernel. > > No, it's only in -current. > > > I do not pretend my patch to be hard done job or very urgent - it's very > > simple and obvious - but it adds functionality to 2.2 branch. And to me > > it's better than nothing. That's all. > > It'd be better to merge the code from -current, just for consistency's > sake. To my dismiss I have no time to deal with -current. Btw, I'd upgraded 2.2 apm driver to APM 1.2 compatible state during my experiments with blocking power off button (failed experiments, btw). Added required capabilities_change event and syscall to get APM capabilities. Is it already done in -current or should I post a patch (as usually - very obvious one) somewhere? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message