On Mon, Jan 05, 2015 at 01:40:10PM +0100, Martin Pieuchot wrote: > On 02/01/15(Fri) 13:42, Martin Pieuchot wrote: > > On 02/01/15(Fri) 09:47, Remi Locherer wrote: > > > On Thu, Jan 01, 2015 at 09:32:20PM +0100, Remi Locherer wrote: > > > > >Synopsis: xhci dead after resume > > > > >Category: kernel > > > > >Environment: > > > > System : OpenBSD 5.6 > > > > Details : OpenBSD 5.6-current (GENERIC.MP) #735: Sat Dec 27 > > > > 13:55:58 MST 2014 > > > > > > > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > Architecture: OpenBSD.amd64 > > > > Machine : amd64 > > > > > > > > >Description: > > > > After resuming the notebook devices do not attach to the xhci > > > > port > > > > anymore while devices on the ehci port still work fine. I tried > > > > a mouse, usb stick and cdrom. The cdrom gets power from the port > > > > so I can open the tray but it does not attach. > > > > > > > > >Fix: > > > > After a reboot the xhci port works again > > > > > > dmesg from a kernel compiled with XHCI_DEBUG including a suspend-resume > > > cycle: > > > > Apparently Renesas HC need to be completely reconfigure upon resume. > > Linux have a quirk for such piece of hardware. I'll try to bake a diff > > unless someone... ok I can dream :) > > I just committed a workaround for this issue as I couldn't find any > documentation for a proper fix. Anyway I can no longer reproduce the > problem. > > Let me know if it still does not work on your machine. > > Regards, > Martin > I tested with the snapshot from January 7. Now the xhci port works fine after resume. Thanks!
Remi