2009/8/7 Hans Petter Selasky <hsela...@c2i.net>: > Try this patch: > > src/sys/dev/usb/usb_device.c > > @@ -1777,7 +1777,8 @@ > } > } else if (usb_test_huawei_autoinst_p(udev, &uaa) == 0) { > DPRINTFN(0, "Found Huawei auto-install disk!\n"); > - err = USB_ERR_STALLED; /* fake an error */ > + /* leave device unconfigured */ > + usb_unconfigure(udev, USB_UNCFG_FLAG_FREE_SUBDEV); > } > } else { > err = 0; /* set success */ >
That makes it work nicely: $ kldload u3g (insert dongle) dmesg: usb_test_autoinstall:571: Eject CD command status: USB_ERR_NORMAL_COMPLETION usb_alloc_device:1781: Found Huawei auto-install disk! ugen0.3: <Novatel Wireless> at usbus0 ugen0.3: <Novatel Wireless> at usbus0 (disconnected) ugen0.3: <Novatel Wireless> at usbus0 u3g0: <Data Interface> on usbus0 u3g0: Found 2 ports. Thank you. :-) Lucius _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"