From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 23:35:09 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 1025B16A4CE for ; Fri, 19 Mar 2004 23:35:09 -0800 (PST) Received: from mail015.syd.optusnet.com.au (mail015.syd.optusnet.com.au [211.29.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F52243D1D for ; Fri, 19 Mar 2004 23:35:07 -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]) i2K7YxL11452; Sat, 20 Mar 2004 18:34:59 +1100 Received: from k9.a1.asic.gov.au (localhost [127.0.0.1]) ESMTP id i2K6da3h000689; Sat, 20 Mar 2004 17:39:37 +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 i2K6dVFg000688; Sat, 20 Mar 2004 17:39:31 +1100 (EST) (envelope-from tonym) Date: Sat, 20 Mar 2004 17:39:31 +1100 (EST) From: Tony Maher Message-Id: <200403200639.i2K6dVFg000688@k9.a1.asic.gov.au> To: julian@elischer.org, marcus@marcuscom.com In-Reply-To: cc: current@freebsd.org 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 07:35:09 -0000 > From julian at elischer.org wrote on Sat Mar 20 17:11:40 2004 > try the following reversion > (add this to 1.61) > > (apply by hand) > This fixed the problem for me. thanks -- tonym --- usb_subr.c.1.61 Fri Mar 19 21:28:00 2004 +++ usb_subr.c Sat Mar 20 17:15:47 2004 @@ -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); }