Date: Thu, 26 Feb 2009 21:40:52 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Kim Culhan <w8hdkim@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized Message-ID: <200902262140.52560.hselasky@c2i.net> In-Reply-To: <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Thursday 26 February 2009, Kim Culhan wrote:
> On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky <hselasky@c2i.net>
wrote:
> > On Thursday 26 February 2009, Kim Culhan wrote:
> >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky <hselasky@c2i.net>
> 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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902262140.52560.hselasky>
