From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 12:21:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1432716A4CE for ; Fri, 19 Mar 2004 12:21:27 -0800 (PST) Received: from mail016.syd.optusnet.com.au (mail016.syd.optusnet.com.au [211.29.132.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id D250A43D2D for ; Fri, 19 Mar 2004 12:21:25 -0800 (PST) (envelope-from tonymaher@optushome.com.au) Received: from c211-30-17-16.thorn1.nsw.optusnet.com.au (c211-30-17-16.thorn1.nsw.optusnet.com.au [211.30.17.16]) i2JKLNw30035; Sat, 20 Mar 2004 07:21:23 +1100 Received: from k9.a1.asic.gov.au (localhost [127.0.0.1]) ESMTP id i2JKL7DW000875; Sat, 20 Mar 2004 07:21:07 +1100 (EST) (envelope-from tonym@k9.a1.asic.gov.au) Received: (from tonym@localhost) by k9.a1.asic.gov.au (8.12.11/8.12.11/Submit) id i2JKL2Lq000874; Sat, 20 Mar 2004 07:21:02 +1100 (EST) (envelope-from tonym) Date: Sat, 20 Mar 2004 07:21:02 +1100 (EST) From: Tony Maher Message-Id: <200403192021.i2JKL2Lq000874@k9.a1.asic.gov.au> To: marcus@marcuscom.com, tonymaher@optushome.com.au In-Reply-To: <1079726488.780.28.camel@gyros> cc: current@freebsd.org cc: julian@elischer.org Subject: Re: usb moused no longer starts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 19 Mar 2004 20:21:27 -0000 > From marcus at marcuscom.com wrote on Sat Mar 20 07:12:07 2004 >>> julian at elischer.org wrote on Sat Mar 20 06:08:47 2004 >>> there were small changes to usb_subr.c >> > can you see what happens if you back that file back 2 days > > Reverting back to 1.59 fixes the problem. > > To add to this, it looks like moused is started before the mouse > attachment actually completes. This is what I see when I unplug then > plug back in my mouse: > > ums0: at uhub1 port 1 (addr 2) disconnected > ums0: detached > moused: unable to open /dev/ums0: No such file or directory > ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev > 1.10/3.00, addr 2, iclass 3/1 > ums0: 5 buttons and Z dir. >From /var/log/console I see for 1.61: Mar 19 23:03:26 k9 kernel: Fri Mar 19 23:03:26 EST 2004 Mar 19 23:05:47 k9 kernel: Mar 19 23:05:47 k9 moused: unable to open /dev/ums0: No such file or directory Mar 19 23:14:27 k9 kernel: Mar 19 23:14:27 k9 moused: unable to open /dev/ums0: No such file or directory Mar 19 23:19:29 k9 kernel: Mar 19 23:19:29 k9 moused: unable to open /dev/ums0: No such file or directory Mar 19 23:29:51 k9 kernel: Mar 19 23:22:03 k9 moused: unable to open /dev/ums0: No such file or directory >From /var/log/console for 1.59: Mar 20 06:46:07 k9 kernel: Starting usbd. Mar 20 06:46:08 k9 kernel: moused: Mar 20 06:46:08 k9 kernel: unable to open /dev/ums0: Device busy Mar 20 06:46:08 k9 kernel: Mar 20 06:46:08 k9 kernel: usbd: '/usr/sbin/moused -p /dev/${DEVNAME} -m2=4 -I /var/run/moused.${DEVNAME}.pid' returned 1 Mar 20 06:46:08 k9 kernel: Starting local daemons: And from /var/log/messages for 1.59: Mar 20 06:46:07 k9 kernel: Mounting root from ufs:/dev/ad0s2a Mar 20 06:46:07 k9 kernel: ums0: Logitech USB-PS/2 Mouse M-BA47, rev 1.00/1.20, addr 2, iclass 3/1 Mar 20 06:46:07 k9 kernel: ums0: 4 buttons and Z dir. which from memory is what I normally see and mouse works correctly. -- tonym