From owner-freebsd-hackers Mon Jan 24 17:48:36 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rsv.ricoh.com (gateway.crc.ricoh.com [205.226.66.126]) by hub.freebsd.org (Postfix) with ESMTP id 65C72155A9 for ; Mon, 24 Jan 2000 17:48:33 -0800 (PST) (envelope-from rseguin@rsv.ricoh.com) Received: from gateway (int-gw.crc.ricoh.com [192.80.10.231]) by rsv.ricoh.com (8.9.3/8.9.1) with ESMTP id RAA10422; Mon, 24 Jan 2000 17:46:47 -0800 (PST) Received: from adc1.adc.rsv.ricoh.com ([63.80.94.20]) by gateway (8.9.3/8.9.1) with ESMTP id SAA20841; Mon, 24 Jan 2000 18:01:46 GMT Received: from honey.adc.rsv.ricoh.com by adc1.adc.rsv.ricoh.com (8.8.8/3.6Wpre2-98122121) id RAA10044; Mon, 24 Jan 2000 17:50:22 -0800 (PST) From: Ralph Seguin To: freebsd-hackers@FreeBSD.org Subject: Poweroff / power button in FreeBSD 3.3?? Date: Fri, 21 Jan 2000 15:36:45 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: am@amsoft.ru, rpseguin@yahoo.com MIME-Version: 1.0 Message-Id: <00012115433600.30789@honey.adc.rsv.ricoh.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I'm having some difficulty getting APM and power control working in FreeBSD 3.3 I've built a kernel with APM enabled in the config file and enabled it in rc.conf, however apmd says it's starting up, but ps never shows it running. From /etc/rc.conf: apm_enable="YES" bash-2.03# apm -s apm: can't open /dev/apm: Device not configured bash-2.03# ls -al apm* crw-rw---- 1 root operator 39, 0 Jan 21 15:24 apm crw-rw---- 1 root operator 39, 8 Jan 21 15:24 apmctl What I'd like to do is have shutdown -p work properly and I'd also like to intercept the power switch so I can shutdown gracefully. Any suggestions are much appreciated. Thanks. -Ralph rpseguin@yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message