From owner-freebsd-current@FreeBSD.ORG Mon Feb 22 18:27:11 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2C8E1065694 for ; Mon, 22 Feb 2010 18:27:11 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from smtp3.enta.net (smtp3.enta.net [87.127.246.178]) by mx1.freebsd.org (Postfix) with ESMTP id 807E38FC18 for ; Mon, 22 Feb 2010 18:27:11 +0000 (UTC) Received: from mail.chrishedley.com (unknown [78.32.138.135]) by smtp3.enta.net (Postfix) with ESMTP id 95D22B57EE8 for ; Mon, 22 Feb 2010 18:27:10 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 3D1D17D922; Mon, 22 Feb 2010 18:27:10 +0000 (GMT) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Aa8PVBFLYwCq; Mon, 22 Feb 2010 18:27:08 +0000 (GMT) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id 164197D905; Mon, 22 Feb 2010 18:27:08 +0000 (GMT) Date: Mon, 22 Feb 2010 18:27:08 +0000 (GMT) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: Hans Petter Selasky In-Reply-To: <201002221847.45617.hselasky@c2i.net> Message-ID: References: <201002221806.27139.hselasky@c2i.net> <201002221847.45617.hselasky@c2i.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: ums fails to initialise correctly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2010 18:27:11 -0000 On Mon, 22 Feb 2010, Hans Petter Selasky wrote: >> But nothing at all when it hasn't initialised properly. > > Hi, > > If you get no "ums_intr_callback()" printouts at all in the failing case, and > you are running 9-current, I guess that your KWM switch has some special > requirements on the USB programming which I am not aware about. It is all a bit confusing: I tried the other day to boot with the mouse receiver plugged directly into the computer so I could remove the KVM from the equation, and that didn't work either, until I unplugged it and plugged it back in after it had booted. But today it was fine. Then again, I had problems getting the ehci driver to see it when plugging it into the computer after it had booted, though the ohci driver was more accommodating. It does have the hallmarks of one of those pesky intermittent problems... I tried the usbconfig ... reset command, but other than producing convincing-looking messages, that didn't do the trick: it looked like it was there, but absolutely nothing when moving it about. I even tried the power_off/power_on combo in the hope that would be enough, but that didn't work either. It's being extremely stubborn. One possibly significant element is that usbconfig lists the mouse as being full speed (12 MB/s) and the KVM as being low speed (1.5 MB/s) which I understand could potentially cause timing problems or some such; though that doesn't explain why it seems happy enough once I've physically detached and reattached the mouse receiver, since the two devices still show the same respective speeds afterwards. If this really is unworkable, I've been toying with the idea of running my workstation purely in legacy mode (assuming I can get it working...) but I'm not sure if that's really the best way ahead, either for me or the FreeBSD project! But as long as you or anybody else is happy to help look into this odd little problem I've dug up, I'll provide whatever information I can.