usb moused no longer starts
Tony Maher
tonymaher at optushome.com.au
Fri Mar 19 23:35:09 PST 2004
> 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
--
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);
}
More information about the freebsd-current
mailing list