From owner-freebsd-hackers Tue Mar 10 07:42:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12389 for freebsd-hackers-outgoing; Tue, 10 Mar 1998 07:42:08 -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 HAA11105 for ; Tue, 10 Mar 1998 07:36:54 -0800 (PST) (envelope-from am@amsoft.ru) Received: (from am@localhost) by amsoft.ru (8.8.8/amsoft/1.0) id SAA03142 ; Tue, 10 Mar 1998 18:11:34 +0300 (MSK) From: Andrew Maltsev Message-Id: <199803101511.SAA03142@amsoft.ru> Subject: Re: APM power off (patch) In-Reply-To: <199803100356.TAA17338@dingo.cdrom.com> from "Mike Smith" at "Mar 9, 98 07:56:15 pm" To: mike@smith.net.au (Mike Smith) Date: Tue, 10 Mar 1998 18:11:34 +0300 (MSK) Cc: hosokawa@ntc.keio.ac.jp, mike@smith.net.au, 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 > > >> > May I bring your attention to the PAO package: > > >> > http://www.jp.FreeBSD.org/PAO/ > > >> > which also implements power off via APM. > > >> > > >> APM poweroff on ATX boards is different to APM poweroff on laptops. > > >> FreeBSD has been able to use APM to shut laptops down for a long time > > >> now, but it hasn't worked on ATX boards. > > > > Hmm? I read roughly the patch mentioned in the first mail of this > > thread, and I can't find any essential difference between it and > > -current, and I have heard and tested that PAO shutdown power-off code > > works under ATX machines. > > Odd; I had expected that it *would*, but when I tried it on my brand > new ASUS board it didn't, nor on the Tyan box next to me. Have you APM enabled in BIOS? It works fine on my Intel AL440LX APM 1.2 compatible board. And I see no difference between laptops and ATX boards from APM point of view. ..btw I see no code in 2.2-stable branch to power down laptop. RB_POWEROFF is not analized anywhere in kernel. 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message