[acpi-jp 2746] Re: ACPI, USB, and the tangled web

Anish Mistry mistry.7 at osu.edu
Fri Oct 17 13:43:46 PDT 2003


-----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-----



More information about the freebsd-current mailing list