From owner-freebsd-usb@FreeBSD.ORG Fri Nov 26 03:17:57 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 57D68106566B for ; Fri, 26 Nov 2010 03:17:57 +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 E17ED8FC13 for ; Fri, 26 Nov 2010 03:17:56 +0000 (UTC) Received: by wwd20 with SMTP id 20so1475894wwd.31 for ; Thu, 25 Nov 2010 19:17:55 -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=bp+fJqQmyfo6OGYmDdWA7/Kxyvc3YfVmw+t8JmuULq8=; b=rIrRNLxtUv0KiJvXdvLMNLeLZt635D2K+huG3ok6hThPO9XB7zljkswqha4Y6c8CbI Y+2YMlUkZb16R+rbzcGiCO7tGzpY4HMse9qxTu6qBrfzQpm0Jovll/e7Og/jJrjMMniA s+vhG44bPvno9dD9JVIYulW5TzwP3y5wbFMxU= 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=MQv8YyYVqIli+BO+DenBzq9H1yBlsmbdFNjPNt3cWgfDKyIFe0jnO9QY7C4JnZQVkO tLgIgKEBPCs/BLTWnMYXJEBRT3iE4Fp8m6NVCuwPMIofJT0h533WcOXkZz+QONG1GC+C kj0+QSX3T5Yhc5m7IV6cyJA9NF7OFgYUbH1fU= MIME-Version: 1.0 Received: by 10.216.142.199 with SMTP id i49mr1359889wej.96.1290739602750; Thu, 25 Nov 2010 18:46:42 -0800 (PST) Received: by 10.216.12.80 with HTTP; Thu, 25 Nov 2010 18:46:42 -0800 (PST) In-Reply-To: <201011142136.57161.bruce@cran.org.uk> References: <201011142136.57161.bruce@cran.org.uk> Date: Thu, 25 Nov 2010 20:46:42 -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: Fri, 26 Nov 2010 03:17:57 -0000 On Sun, Nov 14, 2010 at 3:36 PM, Bruce Cran wrote: > I've been trying to get my laptop working with suspend/resume. It comes back, > but USB seems rather unhappy about something for a while. Despite this, > plugging a flash drive in does attach to the EHCI controller at usbus6. You have better luck than me! On my system, "port 2 reset" fails, port is disabled, an none of my external ports work at all, like this: [SNIP] > uhub_reattach_port: port 2 reset failed, error=USB_ERR_TIMEOUT > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 2 [SNIP] 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). Also, it's been my experience that multiple suspend/resume cycles can permanently shut down your ports... -Brandon