From owner-freebsd-mobile@FreeBSD.ORG Sun May 21 15:01:58 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D3C316A5B3 for ; Sun, 21 May 2006 15:01:58 +0000 (UTC) (envelope-from yraffah@savola.com) Received: from heathrow.savoladns.com (heathrow.savoladns.com [212.12.174.7]) by mx1.FreeBSD.org (Postfix) with SMTP id E022E43D73 for ; Sun, 21 May 2006 15:01:54 +0000 (GMT) (envelope-from yraffah@savola.com) Received: from ocs.savola.com (ocs.savola.com [222.22.1.211]) by heathrow.savoladns.com (Postfix) with ESMTP id 5007B9585A; Sun, 21 May 2006 18:01:44 +0300 (AST) Received: from 222.22.1.105 by ocs.savola.com with ESMTP id 58894681148222945; Sun, 21 May 2006 17:49:05 +0300 From: Yousef Raffah To: Ian Smith In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-T6UrjPrg34+2wJOrRHFA" Organization: The Savola Group Date: Sun, 21 May 2006 18:00:32 +0300 Message-Id: <1148223632.10683.5.camel@localhost.savola.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Cc: freebsd-mobile@freebsd.org Subject: Re: FreeBSD 6 on Toshiba Tecra A4 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yraffah@savola.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 15:02:01 -0000 --=-T6UrjPrg34+2wJOrRHFA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2006-05-22 at 00:50 +1000, Ian Smith wrote: > On Sun, 21 May 2006, Yousef Raffah wrote: >=20 > > On Sun, 2006-05-21 at 21:58 +1000, Ian Smith wrote: > > > On Sun, 21 May 2006, Yousef Raffah wrote: > > >=20 > > > > On Wed, 2006-04-19 at 01:53 +1000, Norberto Meijome wrote: > > > > > On Sat, 15 Apr 2006 10:45:49 +0300 > > > > > Yousef Raffah wrote: > > > > >=20 > > > > > > ACPI not working (working on Linux) > > > > >=20 > > > > > doesn't work on my A2 either (does work, but the HD doens't rea= lise it has gone > > > > > to sleep and resumed and panic ensues on resume). disable acpi = and use apm, > > > > > works fine. >=20 > [..] >=20 > > > On 5.x at least, /boot/device.hints contains > > >=20 > > > hint.apm.0.disabled=3D"1" > > > hint.apm.0.flags=3D"0x20" >=20 > Is that still the case for your 6 system? >=20 Well, if I understood you correctly, these two lines where exactly the same in my /boot/device.hints > > > So you'll likely need to add to /boot/loader.conf: > > >=20 > > > hint.apm.0.disabled=3D"0" > > > hint.apm.0.flags=3D"0" # assuming a non-broken statclock >=20 > Maybe try with the default .flags? I may assume too much .. >=20 will try that and see > > > Then early in your dmesg.boot you should see such as > > >=20 > > > apm0: on motherboard > > > apm0: found APM BIOS v1.2, connected at v1.2 > > >=20 > > > and both /dev/apm and /dev/apmctl should appear. >=20 > > Thanks for your reply Ian, but unfortunately, neither /dev/apm > > nor /dev/apmctl appeared after adding the two lines: > > hint.apm.0.disabled=3D"0" > > hint.apm.0.flags=3D"0" > >=20 > > in /boot/loader.conf > > It never appeared in dmesg as well :(. >=20 > Ok, just to check that your kernel thinks it has apm support, what > does 'kldstat -v' say about apm? >=20 > paqi# kldstat -v | grep apm | grep -v via > 184 legacy/apm > 4 1 0xc11a1000 2000 apm_saver.ko > 225 apm_saver >=20 > (apm_saver irrelevant, though it does work well in vtys here) >=20 It only shows 175 legacy/apm > and in the same vein (though also after successful APM loading): >=20 > paqi# sysctl -a | grep apm > debug.apm_debug: 0 > machdep.apm_suspend_delay: 1 > machdep.apm_standby_delay: 1 > machdep.apm_swab_batt_minutes: 0 > dev.apm.0.%desc: APM BIOS > dev.apm.0.%driver: apm > dev.apm.0.%parent: legacy0 >=20 > > I even added the following > > > In rc.conf: > > >=20 > > > apm_enable=3D"YES" > > > apmd_enable=3D"YES" > > > apmd_flags=3D"-v" > > >=20 > > But no help :( Thanks for trying anyhow... >=20 > Well the rc.conf options won't help until booting detects APM BIOS. >=20 > Oh yes, can you / have you switched ACPI off &/or APM on in its BIOS?=20 >=20 not so far, will try it and report back. > otherwise out of ideas, Ian >=20 Thanks... -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com --=-T6UrjPrg34+2wJOrRHFA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEcICQH9IXMb4e6CMRAv2uAJ0QNHGfssWcOoN/UDCRUwldElLrwgCfSO5w wVEuexmWje+7R1RIEwU/zJo= =13t+ -----END PGP SIGNATURE----- --=-T6UrjPrg34+2wJOrRHFA--