From owner-freebsd-usb@FreeBSD.ORG Thu Apr 16 10:55:31 2009 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 ACDC0106564A for ; Thu, 16 Apr 2009 10:55:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 42BB78FC14 for ; Thu, 16 Apr 2009 10:55:30 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=gd3adXt36KnuWW8HGZEA:9 a=Ko_i4HeF_Lkx0F_LxSoA:7 a=KfajOLwyBL1-010BoubVdaerY-EA:4 Received: from [81.191.55.181] (account mc467741@c2i.net HELO [10.36.2.183]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1123888805; Thu, 16 Apr 2009 12:55:28 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 16 Apr 2009 12:58:00 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904161258.01528.hselasky@c2i.net> Cc: Alexander Best Subject: Re: Suspend failed 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: Thu, 16 Apr 2009 10:55:31 -0000 On Thursday 16 April 2009, Alexander Best wrote: > hi there, > > i'm using the following commands to deactivate and activate my mouse: > > usbconfig -u 1 -a 3 power_off > usbconfig -u 1 -a 3 power_on > > which works great. if i issue the commands shortly after another this is > what happens: > > ums0: at uhub1, port 2, addr 3 (disconnected) > ums0: on > usbus1 ums0: 7 buttons and [XYZ] coordinates ID=0 > > however. if i wait for some time before re-activating the mouse it flashes > twice and this is what dmesg says: > > ums0: at uhub1, port 2, addr 3 (disconnected) > ums0: on > usbus1 ums0: 7 buttons and [XYZ] coordinates ID=0 > ums0: Suspend failed > > the "Suspend failed" warning however isn't causing any problems. the mouse > attaches just fine. > > i'm running r191076 (-CURRENT/usb2). Try these patches: http://perforce.freebsd.org/chv.cgi?CH=160485 http://perforce.freebsd.org/chv.cgi?CH=160413 --HPS