From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 9 09:29:37 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01898106566C; Wed, 9 Nov 2011 09:29:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4C07D8FC1A; Wed, 9 Nov 2011 09:29:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 201069623; Wed, 09 Nov 2011 10:19:29 +0100 From: Hans Petter Selasky To: freebsd-acpi@freebsd.org Date: Wed, 9 Nov 2011 10:16:39 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111024184736.077bfc1b@o2.pl> <1320321173.86694.1.camel@buffy.york.ac.uk> <20111109180440.X45669@sola.nimnet.asn.au> In-Reply-To: <20111109180440.X45669@sola.nimnet.asn.au> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111091016.39762.hselasky@c2i.net> Cc: Gavin Atkinson , Ian Smith Subject: Re: Suspend and resume on Dell E6520 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 09:29:37 -0000 On Wednesday 09 November 2011 08:29:34 Ian Smith wrote: > I looked at that, and was thinking of trying it when I started testing a > Cardbus USB 2.0 card requiring ohci and ehci too, so I've just stuck > with unloading/reloading those three modules in rc.{suspend,resume}, > which works around it, though it's messy and you lose mounts of course. > Hi, > I also saw somebody mention that this may apply to xhci (USB 3?) as > well, so figured 'someone' might be working on the general solution, > based on your discoveries. Not so? Probably the drivers themselves can do this re-init without the load/unload. I don't have a PC to test this on, so any patches are welcome. Basically what you need to do is to reset the hardware and point it to the existing DMA schedule. --HPS