On Thursday 26 February 2009, Kim Culhan wrote:
> On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky <[email protected]> 
wrote:
> > On Thursday 26 February 2009, Kim Culhan wrote:
> >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky <[email protected]>

> usb2_test_autoinstall:559: Eject CD command status:
> USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-install
> disk!
> ugen2.2: <Novatel Wireless Inc.> at usbus2
> ugen2.2: <Novatel Wireless Inc.> at usbus2 (disconnected)
> uhub_reattach_port:414: could not allocate new device!

And if you do like this:

boot kernel without u3g loaded.

When kernel is booted, and card is plugged in, load u3g. What does it output 
then?

I think that there might be a USB port race. Could you try editing:

/sys/dev/usb/usb_device.c

Lookup:

                } else if (usb2_test_huawei_autoinst_p(udev, &uaa) == 0) {
                        DPRINTFN(0, "Found Huawei auto-install disk!\n");
                        err = USB_ERR_STALLED;  /* fake an error */
                }

Change it into:

                } else if (usb2_test_huawei_autoinst_p(udev, &uaa) == 0) {
                        DPRINTFN(0, "Found Huawei auto-install disk!\n");
                err = usb2_set_config_index(udev, USB_UNCONFIG_INDEX);
                err = 0; /* force success */
                }

And recompile kernel or only usb_core module.

--HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to