From owner-freebsd-mobile@FreeBSD.ORG Sun May 21 11:59:01 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 CB52F16A41F for ; Sun, 21 May 2006 11:59:01 +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 18DCB43D48 for ; Sun, 21 May 2006 11:58:58 +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 VAA26058; Sun, 21 May 2006 21:58:21 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 21 May 2006 21:58:21 +1000 (EST) From: Ian Smith To: Yousef Raffah In-Reply-To: <1148203322.25715.6.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 11:59:01 -0000 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. > > B > Hi, > > I have disabled acpi and enabled apm in my kernel as > # Power management support (see NOTES for more options) > device apm > # Add suspend/resume support for the i8254. > device pmtimer > > This what happens when I run apmd in debug mode: > > # apmd -d -v > apmd[15918]: start > apmd: cannot open device file `/dev/apm': No such file or directory > > How can I have /dev/apm? On 5.x at least, /boot/device.hints contains hint.apm.0.disabled="1" hint.apm.0.flags="0x20" 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 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. In rc.conf: apm_enable="YES" apmd_enable="YES" apmd_flags="-v" cheers, Ian > Using 6.1-RC FreeBSD 6.1-RC #0: Sat Apr 29 17:16:15 AST 2006 > > This is my dmesg: [..]