On Monday, June 16, 2014 3:21:55 pm Edward Tomasz Napierała wrote:
> Hi.  Patch below should fix a problem where USB stops working after
> _second_ suspend/resume, which happens on various ThinkPad models.
> Please test, and report both success stories and failures.  If nothing
> comes up, I'll commit it in a week or so.

Good find.  Have you thought about a more generic fix for this wherein you 
track power resources and flip them on during resume in ACPI before doing
DEVICE_RESUME() on the root bus?

Alternatively, this probably meshes well with Justin's work on multipass 
suspend/resume in that ACPI buses (e.g. acpi_pci and acpi0 itself) should be 
turning on any power sources associated with an ACPI device during the 
bus_resume_child() callback.

-- 
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to