Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 12:58:00 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        Alexander Best <alexbestms@math.uni-muenster.de>
Subject:   Re: Suspend failed
Message-ID:  <200904161258.01528.hselasky@c2i.net>
In-Reply-To: <permail-20090416090143f0889e8400002a85-a_best01@message-id.uni-muenster.de>
References:  <permail-20090416090143f0889e8400002a85-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Razer Razer 1600dpi Mouse, class 0/0, rev 2.00/21.00, addr 3> 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: <Razer Razer 1600dpi Mouse, class 0/0, rev 2.00/21.00, addr 3> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904161258.01528.hselasky>