From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 27 02:29:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADCB816A4CE for ; Mon, 27 Dec 2004 02:29:33 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8538543D48 for ; Mon, 27 Dec 2004 02:29:30 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id iBR2TNO7039304; Mon, 27 Dec 2004 12:59:24 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Mon, 27 Dec 2004 12:59:03 +1030 User-Agent: KMail/1.7.1 References: <62903.81.84.175.77.1104000639.squirrel@81.84.175.77> <63322.81.84.175.77.1104077518.squirrel@81.84.175.77> <63338.81.84.175.77.1104077851.squirrel@81.84.175.77> In-Reply-To: <63338.81.84.175.77.1104077851.squirrel@81.84.175.77> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1770418.ZVx8C5hQyr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412271259.18154.doconnor@gsoft.com.au> X-Spam-Score: -5.3 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02,TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: security@revolutionsp.com Subject: Re: Unable to get APM working -- help! [no acpi_cmbat entries] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 02:29:33 -0000 --nextPart1770418.ZVx8C5hQyr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Mon, 27 Dec 2004 02:47, security@revolutionsp.com wrote: > Just a quick add, my dmesg doesn't show acpi_cmbat entries. You probably > confused my dmesg with yours (from the dmesg mail I sent you) Err, I said you didn't have any cmbat entries.. My point was that the lack = of=20 those entries is probably a hint as to why you can't see any battery info. As you suggest, try posting on freebsd-acpi about it. > >> On Sun, 26 Dec 2004 15:26, security@revolutionsp.com wrote: > >>> I'll try it out; meanwhile, I've discovered the sysctl to change this > >>> manually. I've checked it works by trying to compile something at the > >>> lowest CPU clock speed. It was slow to hell :-) > >> > >> That's probably clock throttling which is different.. > > > > Yes, the sysctl included "throttle". As I said, I'm new to the laptop > > world.. Is the power saving difference a lot if I just throttle the > > clock, instead of using enhanced speed step? > > > >> [Enhanced] Speed Step reduces the clock speed and the CPU core voltage= =2E. > >> clock > >> throttling just idles the CPU for a certain proportion of the time. If > >> you > >> want slow try forcing them both to the slowest speed.. Pentium-M 75Mhz > >> > >> :) > >> : > >>> > Any chance there is a new BIOS available for that system? > >>> > >>> A quick googling session brought up nothing. > >> > >> How about say, checking the makers web site? > > > > I also did, nothing :-P > > > >>> > No.. If I try and look at a non existent battery slot it says 'devi= ce > >>> > >>> not > >>> > >>> > configured' so maybe it thinks you have no batteries for some stran= ge > >>> > reason. > >>> > >>> I've installed klaptop and it shows battery as -1 and 'not charging' > >>> acpiconf -i[0-9] didn't do any good either :/ > >> > >> Without ACPI support being able to read your battery status no userland > >> program will work. > >> > >> Your dmesg shows acpi_cmbat entries, ie > >> acpi_cmbat0: on acpi0 > >> acpi_cmbat1: on acpi0 > >> > >> which I think is pretty fundamental to being able to read battery stat= us > >> ;) > > > > Yesterday I googled a bit for my laptop name+linux and I found a post > > from a guy who had the same exact problem under Linux. He had /proc/acpi > > but no /proc/acpi/battery. > > > > I know battery status can be seen, as the laptop shipped with win XP > > home, which I promptly got rid of, but I installed a game there to see > > how many FPS I'd get playing with the laptop. So I still messed around > > with it (windows) for around 35 minutes, and could see the little batte= ry > > icon discharging. > > > > If the acpi_cmbat0/1 shows up on dmesg, what could be wrong? Perhaps th= is > > ACPI implementation is a bit weird and I should send a copy of my asl to > > freebsd-acpi ? > > > >> -- > >> Daniel O'Connor software and network engineer > >> for Genesis Software - http://www.gsoft.com.au > >> "The nice thing about standards is that there > >> are so many of them to choose from." > >> -- Andrew Tanenbaum > >> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1770418.ZVx8C5hQyr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBz3N+5ZPcIHs/zowRAjcJAJ9QGamo2cVqaiKUreuKfiI2EHo4mACeM3m1 1kcO7JPnAGMff64/08q3TF0= =Jahy -----END PGP SIGNATURE----- --nextPart1770418.ZVx8C5hQyr--