From owner-freebsd-usb@FreeBSD.ORG Thu Feb 26 20:38:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C2D510656F9 for ; Thu, 26 Feb 2009 20:38:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 960A58FC08 for ; Thu, 26 Feb 2009 20:38:23 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=8kQB0OdkAAAA:8 a=vJmEWfdOY10UnThSefwA:9 a=bpXMiItGbRzA9ZqgnRYA:7 a=IiP6OYk7j1SQJkNGiX1j8w9g8aQA:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1206582315; Thu, 26 Feb 2009 21:38:21 +0100 From: Hans Petter Selasky To: Kim Culhan Date: Thu, 26 Feb 2009 21:40:52 +0100 User-Agent: KMail/1.9.7 References: <89dbfdc30902241338h2e56af93q5d8fb3905454ea36@mail.gmail.com> <200902261622.17677.hselasky@c2i.net> <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> In-Reply-To: <89dbfdc30902261228k1e56e18dufb8caa46ef663747@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902262140.52560.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Novatel U727 not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 20:38:24 -0000 On Thursday 26 February 2009, Kim Culhan wrote: > On Thu, Feb 26, 2009 at 10:22 AM, Hans Petter Selasky wrote: > > On Thursday 26 February 2009, Kim Culhan wrote: > >> On Wed, Feb 25, 2009 at 1:59 AM, Hans Petter Selasky > usb2_test_autoinstall:559: Eject CD command status: > USB_ERR_NORMAL_COMPLETION usb2_alloc_device:1662: Found Huawei auto-install > disk! > ugen2.2: at usbus2 > ugen2.2: 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