From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 07:46:02 2009 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 E95741065675; Tue, 17 Feb 2009 07:46:02 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 260558FC0C; Tue, 17 Feb 2009 07:46:01 +0000 (UTC) (envelope-from hselasky@freebsd.org) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=v1l4sCoM7rMA:10 a=-QvcQp4i0RcA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=4EkcbnRLABMPvti_QW8A:9 a=sob0tMTxoIEBWz2kiF4A:7 a=8AQnFqadDXHFqq2eOLyHS1qD4bMA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1201655656; Tue, 17 Feb 2009 08:46:00 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Tue, 17 Feb 2009 08:48:27 +0100 User-Agent: KMail/1.9.7 References: <87mycme9wc.fsf@kobe.laptop> <87r61ynkrj.fsf@kobe.laptop> <874oyut5ze.fsf@kobe.laptop> In-Reply-To: <874oyut5ze.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902170848.28659.hselasky@freebsd.org> Cc: Giorgos Keramidas , Andrew Thompson Subject: Re: usb2 moused issue (Microsoft Wireless Optical) 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: Tue, 17 Feb 2009 07:46:03 -0000 On Monday 16 February 2009, Giorgos Keramidas wrote: > On Mon, 16 Feb 2009 23:18:24 +0200, Giorgos Keramidas wrote: > > On Mon, 16 Feb 2009 22:12:36 +0100, Hans Petter Selasky wrote: > >> On Monday 16 February 2009, Giorgos Keramidas wrote: > >>> It was opened by moused, so I killed it. There's no output when I > >>> attach and move the mouse, other than the following in syslog: > >>> > >>> Feb 16 21:37:45 kobe kernel: ugen4.2: at usbus4 > >>> Feb 16 21:37:45 kobe kernel: ums0: >>> 3000 (Model 1056), class 0/0, rev 2.00/0.07, addr 2> on usbus4 Feb 16 > >>> 21:37:45 kobe kernel: ums0: 5 buttons and [XYZ] coordinates Feb 16 > >>> 21:37:45 kobe kernel: ums_attach:582: sc=0xc63cd800 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:583: X 48/8 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:584: Y 56/8 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:585: Z 64/8 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:586: T 0/0 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:587: W 0/0 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:591: B1 40/1 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:591: B2 41/1 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:591: B3 42/1 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:591: B4 43/1 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:591: B5 44/1 > >>> Feb 16 21:37:45 kobe kernel: ums_attach:593: size=2, id=19 > >>> Feb 16 21:37:45 kobe kernel: Symlink: ums0 -> usb4.2.0.16 > >>> > >>> When I kill the moused instance that is launched on attach by devd, > >>> start a `cat /dev/ums0' command and move the mouse, click a few > >>> buttons, etc. there is no output at all. > >> > >> Hi, > >> > >> I found a bug in the HID library: > >> > >> Can you try the following patch: > >> > >> http://perforce.freebsd.org/chv.cgi?CH=157814 > > > > This looks ok. I'll give it a run in a few minutes, thanks :-) > > A quick 'buildkernel' with -DNO_CLEAN and a reboot just finished. > > The patch doesn't seem to have changed anything, but I started a full > buildkernel without -DNO_CLEAN too. I'll report back in ~= 1 hour. Could you enable ums0 debugging output after the changes, when you plug the device? I just want to see that the isize has changed. --HPS > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"