From owner-freebsd-usb@FreeBSD.ORG Fri Mar 26 19:01:09 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9971A106566B for ; Fri, 26 Mar 2010 19:01:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 2BDCB8FC1A for ; Fri, 26 Mar 2010 19:01:08 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=5wyzVOofzNeh45Mj8SEA:9 a=jSffn_Z1FCoxkxax8lgUWk4m3fsA:4 a=wPNLvfGTeEIA:10 a=_oSOPvY00GV8g5zL:21 a=MT2vXrisMc4wrHJN:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1363465161; Fri, 26 Mar 2010 20:01:07 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 26 Mar 2010 19:59:15 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100326193442.6bd27799@dimitri> In-Reply-To: <20100326193442.6bd27799@dimitri> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003261959.16089.hselasky@c2i.net> Cc: Subject: Re: resetting USB after suspend X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 19:01:09 -0000 On Friday 26 March 2010 19:34:42 Nicholas 0 wrote: > Dear list. > > I'm not sure if this belongs here or on the ACPI list. Please forgive. > > Sometimes when I resume my ThinkPad X200 (Core 2 Duo, 8.0-RELEASE, > amd64), my USB ports don't come back online - that is, no power to > things that I plug in and nothing shows up in dmesg. Reboot fixes it. > It doesn't seem entirely consistent, sometimes USB is fine after > suspend, sometimes it isn't. > > I'm trying to see if I can find some rhyme or reason as to when this > occcurs so I can file a bug report and work with someone to get this > fixed, but in the mean time is there any way to reset the USB > subsystem/reload the drivers that I can try as a work around? It's > annoying having to reboot to charge my phone. > > Nicholas > Hi, This use-case has not been tested that much. USB can probably do more to recover the state after PC resume. --HPS