From owner-freebsd-current@FreeBSD.ORG Fri Oct 17 13:43:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF9D416A4B3 for ; Fri, 17 Oct 2003 13:43:46 -0700 (PDT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C8D43F93 for ; Fri, 17 Oct 2003 13:43:45 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: from 192.168.0.2 (adsl-64-108-97-7.dsl.wotnoh.ameritech.net [64.108.97.7]) (authenticated bits=0)h9HKj2Z3035699 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 17 Oct 2003 16:45:05 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: acpi-jp@jp.FreeBSD.org Date: Fri, 17 Oct 2003 16:43:52 -0400 User-Agent: KMail/1.5.3 References: <200310162152.22187.mistry.7@osu.edu> <20031017101531.H41079@root.org> In-Reply-To: <20031017101531.H41079@root.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200310171644.11933.mistry.7@osu.edu> cc: freebsd-current@freebsd.org Subject: Re: [acpi-jp 2746] Re: ACPI, USB, and the tangled web X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 20:43:46 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 17 October 2003 01:25 pm, Nate Lawson wrote: >=20 > The problem is USB although ACPI magnifies it. USB devices can generate > wake events. In my current testing of a new acpi_cpu driver, I've found > that just having the USB bus enabled in the kernel (with no devices > attached) causes it to generate a steady stream of bm_sts sets even though > the laptop is completely idle. Try disabling usb in your kernel config > and see if it helps your laptop not wake up. If that works, we've > narrowed it down a little. You can also try setting debug.acpi.avoid to > USB_ to try to get it to avoid evaluating that namespace. >=20 USB isn't enabled in the kernel config, it was load via module. This probl= em=20 only happens after the first suspend and only when the USB module is loaded= ,=20 but a similar to my sleep_delay (http://www.freebsd.org/cgi/ query-pr.cgi?pr=3D56394) problem, the system always suspends once ok, but=20 subsequent with both USB(only when being accessed) and sleep_delay cause=20 reboots. Setting debug.acpi.avoid to USB_ didn't make any difference. Whe= n=20 I was trying to debug these issues a month ago I remember it rebooting alwa= ys=20 sometime after the AcpiEnterSleepStatePrep. > I'll probably get around to looking at the USB issue at some point. > There's a lot of work needed there: suspend/resume for *hci, possibly > avoiding setting acpi wake events on usb, etc. >=20 > > There seems to be some ACPI problem, since I just tested the same=20 procedure > > on with ACPI disabled and there was no reboot. >=20 > How were you able to test that with it disabled? Were you suspending with > apm instead? >=20 Yes. > -Nate >=20 =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kFSZxqA5ziudZT0RAp33AKC4zp6RDIXWa7uUZD+KnSQiYhChDwCfY2ZY CloieAgGIx3HAin+ntTsxX0=3D =3DFjb0 =2D----END PGP SIGNATURE-----