Date: Thu, 20 Jan 2000 13:51:59 -0500 From: Will Andrews <andrews@technologist.com> To: Jeffrey Vehrs <jwvehrs@netzero.net> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wmbattery doesn't work! Message-ID: <20000120135159.C426@argon.blackdawn.com> In-Reply-To: <Pine.BSF.4.21.0001182211260.1084-100000@cobra>; from jwvehrs@netzero.net on Tue, Jan 18, 2000 at 10:24:25PM -0600 References: <Pine.BSF.4.21.0001182211260.1084-100000@cobra>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrews@technologist.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000120135159.C426>