From owner-freebsd-usb@FreeBSD.ORG Fri Jan 19 10:07:16 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65B9C16A49E for ; Fri, 19 Jan 2007 10:07:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 061A713C448 for ; Fri, 19 Jan 2007 10:07:15 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 386404107; Fri, 19 Jan 2007 11:07:14 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 19 Jan 2007 11:06:50 +0100 User-Agent: KMail/1.7 References: <45B06B45.1080300@deathwish.net> In-Reply-To: <45B06B45.1080300@deathwish.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701191106.51206.hselasky@c2i.net> Cc: Subject: Re: no data from USB wireless mouse 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, 19 Jan 2007 10:07:16 -0000 On Friday 19 January 2007 07:55, Andrew Tamm wrote: > I am having no success at all in getting a Microsoft Optical Wireless > Desktop Pro mouse to work in FreeBSD 6.2-RC2. > > The kernel sees it as: > ums0: Microsoft Microsoft Wireless Optical Desktop > ums0: 5 buttons and Z dir and a TILT dir. > > cat /dev/usm0 gives no data, no matter what buttons are pushed on the > mouse. > > After looking online, I saw a few things to try, the first of which to > recompile the kernel with USB_dEBUG option enabled. After doing this, and > cranking hw.usb.usm.debug up to 10, I still can get nothing out of the > usm0, however, typing cat /dev/usm0 and then hitting ^C gives this > following message: (note the system has been rebooted with a second wired > mouse attached at usm0, so the offending device has moved to usm1 ) > > ums_intr: sc=0xc50bf000 status=6 > ums_intr: data = 00 00 00 00 00 00 Could you try my new USB stack: # You need /usr/ports/devel/subversion installed svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b # # The following commands will # install the driver on FreeBSD: # cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install When the kernel is built, enable the ums debug sysctl. Set it to 15. Then repeat your tests, if the mouse doesn't work. --HPS