Date: Fri, 17 Oct 2003 16:43:52 -0400 From: Anish Mistry <mistry.7@osu.edu> To: acpi-jp@jp.FreeBSD.org Cc: freebsd-current@freebsd.org Subject: Re: [acpi-jp 2746] Re: ACPI, USB, and the tangled web Message-ID: <200310171644.11933.mistry.7@osu.edu> In-Reply-To: <20031017101531.H41079@root.org> References: <200310162152.22187.mistry.7@osu.edu> <20031017101531.H41079@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 17 October 2003 01:25 pm, Nate Lawson wrote: > > 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. > USB isn't enabled in the kernel config, it was load via module. This problem only happens after the first suspend and only when the USB module is loaded, but a similar to my sleep_delay (http://www.freebsd.org/cgi/ query-pr.cgi?pr=56394) problem, the system always suspends once ok, but subsequent with both USB(only when being accessed) and sleep_delay cause reboots. Setting debug.acpi.avoid to USB_ didn't make any difference. When I was trying to debug these issues a month ago I remember it rebooting always 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. > > > There seems to be some ACPI problem, since I just tested the same procedure > > on with ACPI disabled and there was no reboot. > > How were you able to test that with it disabled? Were you suspending with > apm instead? > Yes. > -Nate > - -- Anish Mistry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kFSZxqA5ziudZT0RAp33AKC4zp6RDIXWa7uUZD+KnSQiYhChDwCfY2ZY CloieAgGIx3HAin+ntTsxX0= =Fjb0 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310171644.11933.mistry.7>
