From owner-freebsd-mobile Thu Jul 6 7:21:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id CF7B737B96A for ; Thu, 6 Jul 2000 07:21:55 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92]) by tasogare.imasy.or.jp (8.10.1+3.3W/3.7W-tasogare/smtpfeed 1.07) with ESMTP id e66ELqp12489; Thu, 6 Jul 2000 23:21:52 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) To: jcm@FreeBSD-uk.eu.org Cc: iwasaki@jp.freebsd.org, mobile@freebsd.org, jsegovia@cnc.una.py Subject: Re: apm on toshiba 4010cdt In-Reply-To: <20000706151306.A9503@dogma.freebsd-uk.eu.org> References: <20000706134042.A9085@dogma.freebsd-uk.eu.org> <20000706230923G.iwasaki@jp.FreeBSD.org> <20000706151306.A9503@dogma.freebsd-uk.eu.org> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000706232152K.iwasaki@jp.FreeBSD.org> Date: Thu, 06 Jul 2000 23:21:52 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 20000228(IM140) Lines: 16 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Thu, Jul 06, 2000 at 11:09:23PM +0900, Mitsuru IWASAKI wrote: > > How about apmd? If your BIOS can report POWERSTATECHANGE event or such, > > you could do like this; > > /etc/apmd.conf: > > apm_event POWERSTATECHANGE, CAPABILITIESCHANGE { > > exec "YOUR_SCRIPT_HERE"; > > } > > hmmm... i never looked into apmd as an alternative to apm. what are the > advatntages? in my rc.conf, i enable apm, is that the same thing? The apmd command appeared in FreeBSD 3.3 and isn't an alternative to apm. To use apmd, you just describe apmd_enable="YES" in your /etc/rc.conf and type `man apmd' :-) Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message