Date: Sun, 7 Jul 2013 20:22:00 +0200 From: =?utf-8?Q?Hans_Petter_Selasky?= <hans.petter.selasky@bitfrost.no> To: =?utf-8?Q?Adrian_Chadd?= <adrian@freebsd.org> Cc: =?utf-8?Q?freebsd-acpi=40freebsd=2Eorg?= <freebsd-acpi@freebsd.org>, =?utf-8?Q?freebsd-stable=40freebsd=2Eorg?= <freebsd-stable@freebsd.org>, =?utf-8?Q?Ian_Smith?= <smithi@nimnet.asn.au>, =?utf-8?Q?freebsd-usb=40?= =?utf-8?Q?freebsd=2Eorg?= <freebsd-usb@freebsd.org> Subject: RE: USB ports on Lenovo T400 do not work after a suspend/resume Message-ID: <zarafa.51d9b1c8.50e2.45a240e13f4f2420@mail.lockless.no> In-Reply-To: <CAJ-VmokE_=YjewFdLp2NvdMKmPvcxG7P-noLUvL3T_2X7wgfLQ@mail.gmail.com> References: <CAJ-Vmomg2j-nJi%2BqFr3CpCjHKjHEiLE=xyNyx1VGRL5U-r8gzQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,=0D=0A=0D=0AThe USB code should re-attach the uhub driver to the root = HUB and any other HUBs after resume. Part of the attach code is to set th= e power on.=0D=0A=0D=0ASee /sys/dev/usb/usb_hub.c=0D=0A=0D=0AAnd:=0D=0A=0D= =0Agrep -r UHF_PORT_POWER /sys/dev/usb/=0D=0A=0D=0A--HPS=0D=0A=20=0D=0A=20= =0D=0A-----Original message-----=0D=0A> From:Adrian Chadd <adrian@freebsd= =2Eorg <mailto:adrian@freebsd.org> >=0D=0A> Sent: Sunday 7th July 2013 18= :43=0D=0A> To: Hans Petter Selasky <hans.petter.selasky@bitfrost.no <mail= to:hans.petter.selasky@bitfrost.no> >=0D=0A> Cc: freebsd-acpi@freebsd.org= <mailto:freebsd-acpi@freebsd.org> ; freebsd-stable@freebsd.org <mailto:f= reebsd-stable@freebsd.org> ; Ian Smith <smithi@nimnet.asn.au <mailto:smit= hi@nimnet.asn.au> >; freebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.= org>=20=0D=0A> Subject: Re: USB ports on Lenovo T400 do not work after a = suspend/resume=0D=0A>=20=0D=0A> I don't think it's a USB controller issue= =2E=0D=0A>=20=0D=0A> Those ports are connected to USB hubs, right=3F I wo= nder if there's some=0D=0A> ACPI nonsense that's resulting in the hubs no= t being powered up on=0D=0A> resume.=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A>= -adrian=0D=0A>=20=0D=0A> On 7 July 2013 00:32, Hans Petter Selasky=0D=0A= > <hans.petter.selasky@bitfrost.no <mailto:hans.petter.selasky@bitfrost.n= o> > wrote:=0D=0A> > Hi,=0D=0A> >=0D=0A> > FYI: The USB stack will curren= tly run a complete controller reset upon=0D=0A> > resume, like during boo= t.=0D=0A> >=0D=0A> > --HPS=0D=0A> >=0D=0A> >=0D=0A> >=0D=0A> > -----Origi= nal message-----=0D=0A> >> From:Ian Smith <smithi@nimnet.asn.au <mailto:s= mithi@nimnet.asn.au> >=0D=0A> >> Sent: Sunday 7th July 2013 7:52=0D=0A> >= > To: Adrian Chadd <adrian@freebsd.org <mailto:adrian@freebsd.org> >=0D=0A= > >> Cc: freebsd-acpi@freebsd.org <mailto:freebsd-acpi@freebsd.org> ; fre= ebsd-stable@freebsd.org <mailto:freebsd-stable@freebsd.org> ;=0D=0A> >> f= reebsd-usb@freebsd.org <mailto:freebsd-usb@freebsd.org>=20=0D=0A> >> Subj= ect: Re: USB ports on Lenovo T400 do not work after a suspend/resume=0D=0A= > >>=0D=0A> >> On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote:=0D= =0A> >> > On 30 June 2013 07:22, Ian Smith <smithi@nimnet.asn.au <mailto= :smithi@nimnet.asn.au> > wrote:=0D=0A> >> [..]=0D=0A> >> > > Nothing of = note that I can see, if that usb hub-to-bus remapping is=0D=0A> >> > > n= ormal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus.=0D=0A= > >> > > Maybe someone who knows might comment on that=3F=0D=0A> >>=0D=0A= > >> Does noone know what that signifies=3F Maybe it's not relevant to t= his.=0D=0A> >>=0D=0A> >> > > Just checking: you've tried other USB devic= es apart from uftdi0=3F=0D=0A> >> >=0D=0A> >> > Yup, there's no 5v on t= he port.=0D=0A> >>=0D=0A> >> I was rather taken aback to hear this. Woul= d not this indicate a=0D=0A> >> failure to reinitialise the basic underly= ing USB hardware on resume=3F=0D=0A> >>=0D=0A> >> More than a bit bemused= , Ian=0D=0A> >> _______________________________________________=0D=0A> >>= freebsd-acpi@freebsd.org <mailto:freebsd-acpi@freebsd.org> mailing list= =0D=0A> >> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi <http:/= /lists.freebsd.org/mailman/listinfo/freebsd-acpi>=20=0D=0A> >> To unsubsc= ribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org <mailto:free= bsd-acpi-unsubscribe@freebsd.org> "=0D=0A> >>=0D=0A> ____________________= ___________________________=0D=0A> freebsd-acpi@freebsd.org <mailto:freeb= sd-acpi@freebsd.org> mailing list=0D=0A> http://lists.freebsd.org/mailma= n/listinfo/freebsd-acpi <http://lists.freebsd.org/mailman/listinfo/freebs= d-acpi>=20=0D=0A> To unsubscribe, send any mail to "freebsd-acpi-unsubscr= ibe@freebsd.org <mailto:freebsd-acpi-unsubscribe@freebsd.org> "=0D=0A>=20= =0D=0A=0D=0A From owner-freebsd-stable@FreeBSD.ORG Sun Jul 7 18:24:13 2013 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9710A48C; Sun, 7 Jul 2013 18:24:13 +0000 (UTC) (envelope-from alfred@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3FC1EE4; Sun, 7 Jul 2013 18:24:12 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 9908B63FBE; Sun, 7 Jul 2013 11:24:12 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 95737-01; Sun, 7 Jul 2013 11:24:12 -0700 (PDT) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 2959863FB3; Sun, 7 Jul 2013 11:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1373221452; bh=SPrfY7P35f7UghJ1gVa5kkivVUt+obULHh093QA5EbE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ne8p/mqKRpoz+jDwoG+/I+BmdcWlV47/lQ5E64fAUoXIP8DbtKWmywpdxrD7DWiab YTC9/L0IXcCVBezUrjgBg5DkHkx5cNFLc0lrK9DF0jdiu2zLrX49UiAYQ+nCV3Fvaj 1ejUU5VYThP0T0crxy90oWNxVAjzRBZiQDici/HU= Message-ID: <51D9B24B.8070303@ixsystems.com> Date: Sun, 07 Jul 2013 11:24:11 -0700 From: Alfred Perlstein <alfred@ixsystems.com> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Andre Oppermann <andre@freebsd.org> Subject: Re: status of autotuning freebsd for 9.2 References: <51D90B9B.9080209@ixsystems.com> <51D92826.1070707@freebsd.org> In-Reply-To: <51D92826.1070707@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, re@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 07 Jul 2013 18:24:13 -0000 On 7/7/13 1:34 AM, Andre Oppermann wrote: > On 07.07.2013 08:32, Alfred Perlstein wrote: >> Andre, >> >> Are you going to have time to MFC things from -current for >> auto-tuning -stable before 9.2? > > I simply ran out of time on Friday and MFCing such a big change requires > more testing. > >> I fear (maybe unnecessarily?) that we are about to ship yet another >> release that can't do basic >> 10gigE when sufficient memory exists. > > There was some debate with myself whether such a behavior changing MFC > would be appropriate for a mid-stream stable release. I guess yes, > though > a number of people who currently set the parameters manually would have > to remove their tuning settings. > >> If you don't have time, then let me know and I'll see what I can do. > > Can you help me with with testing? > Yes. Please give me your proposed changes and I'll stand up a machine and give feedback. -Alfred
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zarafa.51d9b1c8.50e2.45a240e13f4f2420>