From owner-freebsd-mobile Thu Jan 20 10:52:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from argon.blackdawn.com (deepspace9.dcds.edu [207.231.151.2]) by hub.freebsd.org (Postfix) with ESMTP id 31E6715333 for ; Thu, 20 Jan 2000 10:52:26 -0800 (PST) (envelope-from will@blackdawn.com) Received: by argon.blackdawn.com (Postfix, from userid 1000) id AD19419DC; Thu, 20 Jan 2000 13:51:59 -0500 (EST) Date: Thu, 20 Jan 2000 13:51:59 -0500 From: Will Andrews To: Jeffrey Vehrs Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wmbattery doesn't work! Message-ID: <20000120135159.C426@argon.blackdawn.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from jwvehrs@netzero.net on Tue, Jan 18, 2000 at 10:24:25PM -0600 X-Operating-System: FreeBSD 4.0-CURRENT i386 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 18, 2000 at 10:24:25PM -0600, Jeffrey Vehrs wrote: > Wmbattery doesn't work on my laptop, Thinkpad 560, with FreeBSD > 3.4-STABLE, but wmapm does work. WTF? > > Wmbattery spit out the error message, Error: No APM support in kernel., > when I typed 'wmbattery'. I do have it in my kernel.. > > device apm0 at isa? # Advanced Power Management > > Is there a way to make wmbattery to work? It would have been nice if you CC'd me (since I am the maintainer for the wmbattery port). However, I am on the -mobile list, so I will give you a reply anyhow. The port (because of an argument about ports setting binaries it installs set[gu]id) does not set wmbattery setgid. So you have two choices - either set it setgid, or change the permissions of /dev/apm so that you can read it. Also, you may wish to remember that you have to install and reboot your new kernel (providing that that's the right line for apm in your version of FreeBSD - I'm using 4.0-CURRENT, and the line is slightly different). To be specific, I believe it's supposed to say "enable" after "isa?" or something to that measure. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message