Cc: Rafael J. Wysocki <rjw@...>, Nigel Cunningham <ncunningham@...>, pm list <linux-pm@...>, ACPI Devel Maling List <linux-acpi@...>, Greg KH <greg@...>, Len Brown <lenb@...>, LKML <linux-kernel@...>, Alexey Starikovskiy <astarikovskiy@...>, David Brownell <david-b@...>, Pavel Machek <pavel@...>, Benjamin Herrenschmidt <benh@...>
Which callbacks are you referring to? When lsusb opens a device and
does an autoresume, it does not call the same routine as the PM core
does when resuming from a system sleep. lsusb ends up calling
usb_autoresume_device() whereas the PM core ends up calling
usb_resume(), which is the function you quoted earlier.
Alan Stern
--