From owner-freebsd-usb@FreeBSD.ORG Sun Nov 28 00:46:24 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 4CBF9106564A for ; Sun, 28 Nov 2010 00:46:24 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D52FA8FC14 for ; Sun, 28 Nov 2010 00:46:23 +0000 (UTC) Received: by wwb13 with SMTP id 13so490815wwb.31 for ; Sat, 27 Nov 2010 16:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Dto87znv4G1yShPiAR9AG2iaNmIZTPYtJI5zcHLcBqQ=; b=HmpjHsMlGnUuLBVzoCUFb/ghxFaNPFQFP10nIGeQpV6DIUKvB09VmlmnkUI8bVb9an 8/T+L5DuVobJiX4mTc3v99Zvmu/x/Yi7RtRKTWP/EvDz2JVTv++AfpZzHUO0KcRqIVgw +UXO4KKhHw5/9bDFZv+sJhViUOGMwjp0dXox8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QQlx5D2S2szITNM3vY3CSdkZmhn1zykHh3ZxEWvgbgDEj5x4NXD+Nb8nBgttgd2fci 6NuizWPcEP/hIShKQ3OnVy1mpOluRME50bEtX6X8FvLZTTnmdkRyuI0MppiD52XTO6Rv 11A+MHCtjPyrFqTv54uOzDT1Kn4e9p7kX1P/I= MIME-Version: 1.0 Received: by 10.216.187.138 with SMTP id y10mr2947878wem.104.1290905182428; Sat, 27 Nov 2010 16:46:22 -0800 (PST) Received: by 10.216.12.80 with HTTP; Sat, 27 Nov 2010 16:46:22 -0800 (PST) In-Reply-To: <20101126074943.00001950@unknown> References: <201011142136.57161.bruce@cran.org.uk> <20101126074943.00001950@unknown> Date: Sat, 27 Nov 2010 18:46:22 -0600 Message-ID: From: Brandon Gooch To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: USB controller error logged when resuming 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: Sun, 28 Nov 2010 00:46:24 -0000 On Fri, Nov 26, 2010 at 1:49 AM, Bruce Cran wrote: > On Thu, 25 Nov 2010 20:46:42 -0600 > Brandon Gooch wrote: > >> It's becoming more well known that the USB stack isn't >> "suspend/resume" safe at this point. Have you tried building your USB >> systems as kernel modules and unloading/loading them via >> /etc/rs.suspend|resume? I used to have luck doing that here, but >> recently that has broken as well (running HEAD). > > I'm not so interested in using suspend/resume as a real feature, > but more as a developer to report issues so that in the future we can > perhaps have it working for end-users. Apparently there's lots of > infrastructure work that still needs to be done before it's going to be > reliable unfortunately. Do you mean USB subsystem infrastructure, or something more far-reaching? It seems to me that it's SO close to being functional; in fact, I've taken to not loading any USB drivers at all on my notebook, which seems to be the only "reliable" way of using suspend/resume -- that's not to say that it's perfect, but Pretty Good(TM). Also, If we could round-up the various sysctl settings and document them in one place([1] or [2]), I imagine many users would have suspend/resume as a workable feature, at least on amd64... -Brandon [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html [2] http://www.freebsd.org/doc/en/articles/laptop/article.html or