From owner-freebsd-hackers Fri Jan 21 15:43:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web2106.mail.yahoo.com (web2106.mail.yahoo.com [128.11.68.250]) by hub.freebsd.org (Postfix) with SMTP id 5C55C15617 for ; Fri, 21 Jan 2000 15:43:16 -0800 (PST) (envelope-from rpseguin@yahoo.com) Received: (qmail 5235 invoked by uid 60001); 21 Jan 2000 23:43:16 -0000 Message-ID: <20000121234316.5234.qmail@web2106.mail.yahoo.com> Received: from [63.80.94.93] by web2106.mail.yahoo.com; Fri, 21 Jan 2000 15:43:16 PST Date: Fri, 21 Jan 2000 15:43:16 -0800 (PST) From: Ralph Seguin Subject: FreBSD 3.3, power off and power button stuff To: freebsd-hackers@freebsd.org Cc: am@amsoft.ru, rpseguin@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 I did a MAKEDEV in /dev, just in case, but the major/minor numbers came out the same. 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 __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message