From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 21:57:01 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 A299416A4CE for ; Fri, 19 Mar 2004 21:57:01 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E60D43D31 for ; Fri, 19 Mar 2004 21:57:00 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc11) with ESMTP id <2004032005565801100icgeae>; Sat, 20 Mar 2004 05:56:59 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA05682; Fri, 19 Mar 2004 21:56:56 -0800 (PST) Date: Fri, 19 Mar 2004 21:56:55 -0800 (PST) From: Julian Elischer To: Joe Marcus Clarke In-Reply-To: <1079726488.780.28.camel@gyros> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current users cc: Tony Maher cc: matt@xtaz.net 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: Sat, 20 Mar 2004 05:57:01 -0000 On Fri, 19 Mar 2004, Joe Marcus Clarke wrote: > On Fri, 2004-03-19 at 14:54, Tony Maher wrote: > > Julian, > > > > > 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. > try the following reversion (add this to 1.61) (apply by hand) Index: usb_subr.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usb_subr.c,v retrieving revision 1.61 diff -u -r1.61 usb_subr.c --- usb_subr.c 19 Mar 2004 08:19:52 -0000 1.61 +++ usb_subr.c 20 Mar 2004 05:54:40 -0000 @@ -1124,13 +1124,13 @@ DPRINTF(("usbd_new_device: new dev (addr %d), dev=%p, parent=%p\n", addr, dev, parent)); - usbd_add_dev_event(USB_EVENT_DEVICE_ATTACH, dev); - err = usbd_probe_and_attach(parent, dev, port, addr); if (err) { usbd_remove_device(dev, up); return (err); } + + usbd_add_dev_event(USB_EVENT_DEVICE_ATTACH, dev); return (USBD_NORMAL_COMPLETION); } julian@jules: > Joe > > > > > -- > > tonym > > _______________________________________________ > > 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" > -- > PGP Key : http://www.marcuscom.com/pgp.asc > > >