Re: usb moused no longer starts

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 19 Mar 2004 23:45:06 -0800 (PST)
On Sat, 20 Mar 2004, Tony Maher wrote:

> > 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)
> > <patch deleted>
> 
> This fixed the problem for me.

thanks, comitted.

> 
> thanks
> --
> tonym
> 
> --- usb_subr.c.1.61	Fri Mar 19 21:28:00 2004
> +++ usb_subr.c	Sat Mar 20 17:15:47 2004
> _at__at_ -1124,13 +1124,13 _at__at_
>  	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);
>  }
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Fri Mar 19 2004 - 22:45:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC