From owner-freebsd-mobile@FreeBSD.ORG Sun May 21 14:50:38 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 3398F16A5D3 for ; Sun, 21 May 2006 14:50:38 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 567EB43D73 for ; Sun, 21 May 2006 14:50:35 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id AAA00693; Mon, 22 May 2006 00:50:07 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 22 May 2006 00:50:06 +1000 (EST) From: Ian Smith To: Yousef Raffah In-Reply-To: <1148215507.730.5.camel@localhost.savola.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Norberto Meijome , 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 List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 14:50:46 -0000 On Sun, 21 May 2006, Yousef Raffah wrote: > On Sun, 2006-05-21 at 21:58 +1000, Ian Smith wrote: > > On Sun, 21 May 2006, Yousef Raffah wrote: > > > > > On Wed, 2006-04-19 at 01:53 +1000, Norberto Meijome wrote: > > > > On Sat, 15 Apr 2006 10:45:49 +0300 > > > > Yousef Raffah wrote: > > > > > > > > > ACPI not working (working on Linux) > > > > > > > > doesn't work on my A2 either (does work, but the HD doens't realise it has gone > > > > to sleep and resumed and panic ensues on resume). disable acpi and use apm, > > > > works fine. [..] > > On 5.x at least, /boot/device.hints contains > > > > hint.apm.0.disabled="1" > > hint.apm.0.flags="0x20" Is that still the case for your 6 system? > > So you'll likely need to add to /boot/loader.conf: > > > > hint.apm.0.disabled="0" > > hint.apm.0.flags="0" # assuming a non-broken statclock Maybe try with the default .flags? I may assume too much .. > > Then early in your dmesg.boot you should see such as > > > > apm0: on motherboard > > apm0: found APM BIOS v1.2, connected at v1.2 > > > > and both /dev/apm and /dev/apmctl should appear. > Thanks for your reply Ian, but unfortunately, neither /dev/apm > nor /dev/apmctl appeared after adding the two lines: > hint.apm.0.disabled="0" > hint.apm.0.flags="0" > > in /boot/loader.conf > It never appeared in dmesg as well :(. Ok, just to check that your kernel thinks it has apm support, what does 'kldstat -v' say about apm? paqi# kldstat -v | grep apm | grep -v via 184 legacy/apm 4 1 0xc11a1000 2000 apm_saver.ko 225 apm_saver (apm_saver irrelevant, though it does work well in vtys here) and in the same vein (though also after successful APM loading): 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 > I even added the following > > In rc.conf: > > > > apm_enable="YES" > > apmd_enable="YES" > > apmd_flags="-v" > > > But no help :( Thanks for trying anyhow... Well the rc.conf options won't help until booting detects APM BIOS. Oh yes, can you / have you switched ACPI off &/or APM on in its BIOS? otherwise out of ideas, Ian