Date: Mon, 23 Feb 2009 09:16:01 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-current@freebsd.org Cc: Brandon Gooch <jamesbrandongooch@gmail.com>, jkim@freebsd.org Subject: Re: Disabled USB ports after suspend/resume Message-ID: <200902230916.02436.hselasky@c2i.net> In-Reply-To: <179b97fb0902221451sbe6f440m47cf313e21194721@mail.gmail.com> References: <179b97fb0902221451sbe6f440m47cf313e21194721@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I think it might be a problem that the explore thread is running at the same time we are doing a resume on the hardware. What happens if you run: usbconfig -u xxx -a yyy set_config 0 On one of the root HUBs ? Do the devices re-appear ? And if you replug the device? Does it re-appear? What you can try is to run the "detach()" instead of "suspend()" and "attach()" instead of "resume()" for ehci/ohci/uhci. See sys/dev/usb2/controller . Right now we are moving around the files, else I could have sent you a patch. --HPS On Sunday 22 February 2009, Brandon Gooch wrote: > I've been using Jung-uk Kim's suspend patches for amd64 since before > the new USB stack: > > http://people.freebsd.org/~jkim/amd64_suspend.diff > > Now when I suspend and resume, I lose USB ports. > > >From dmesg: > > ugen0.2: <STMicroelectronics> at usbus0 (disconnected) > stray irq0 > usbus2: port reset timeout > uhub_reattach_port:348: port 2 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port:434: device problem (USB_ERR_TIMEOUT), disabling port 2 > > I'm at svn rev. 188909. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902230916.02436.hselasky>