From owner-freebsd-usb@FreeBSD.ORG Sat Sep 5 12:53:29 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 C803410656C2 for ; Sat, 5 Sep 2009 12:53:29 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7E5CB8FC17 for ; Sat, 5 Sep 2009 12:53:29 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n85Co1Ve046513; Sat, 5 Sep 2009 08:50:01 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200909051250.n85Co1Ve046513@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 05 Sep 2009 08:53:40 -0400 To: Hans Petter Selasky , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <200909050905.39112.hselasky@c2i.net> References: <200909041918.n84JI3S7040121@lava.sentex.ca> <200909050905.39112.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: USB_ERR_IOERROR on cold boot, not warm boot 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: Sat, 05 Sep 2009 12:53:29 -0000 At 03:05 AM 9/5/2009, Hans Petter Selasky wrote: >On Friday 04 September 2009 21:21:41 Mike Tancsa wrote: > > Not sure if this is a faulty device or just a quirk as to how it > > works. But on cold boot (after a power cycle) it does not work. But > > if I do a soft reboot, it attaches no problem > > > > Here is the diff on the boot verbose on the the cold boot vs warm boot > > > > # diff -u bad.txt good.txt | egrep "^\+|^\-" > > -usb_alloc_device:1586: set address 2 failed (USB_ERR_IOERROR, ignored) > > -usb_alloc_device:1624: getting device descriptor at addr 2 failed, > > USB_ERR_IOERROR! > > -usbd_req_re_enumerate:1539: addr=2, set address failed! > > (USB_ERR_IOERROR, ignored) > > -usbd_req_re_enumerate:1553: getting device descriptor at addr 2 > > failed, USB_ERR_IOERROR! > > -usbd_req_re_enumerate:1539: addr=2, set address failed! > > (USB_ERR_IOERROR, ignored) > > -usbd_req_re_enumerate:1553: getting device descriptor at addr 2 > > failed, USB_ERR_IOERROR! > > -ugen0.2: <(null)> at usbus0 (disconnected) > > -uhub_reattach_port:435: could not allocate new device! > > -ct_to_ts([2000-01-01 00:01:51]) = 946684911.000000000 > > -ct_to_ts([2000-01-01 00:01:51]) = 946684911.000000000 > > +ugen0.2: at usbus0 > > +u3g0: on usbus0 > > +u3g0: Found 3 ports. > > +ct_to_ts([2000-01-01 00:06:04]) = 946685164.000000000 > > +ct_to_ts([2000-01-01 00:06:04]) = 946685164.000000000 > > > > > > Is there something I can do to deal with this specific device > > differently in the driver ? Its 8.0-BETA3 FreeBSD 8.0-BETA3 #2: Wed > > Sep 2 using the u3g driver. > >Does this device have a button to enable it? Does it help pressing that >button? > >One idea is to not power down the port which obviously gives the device power >on failures. Hi, Its a mini-pciExpress card that is designed to be inside a laptop, or in this case embedded device. So no buttons. The other similar devices I have dont exhibit this behaviour so it seems to be quirky to this particular model. Here is the card and board http://eastar4.com/ebay/SierraMC8775-2.jpg http://www.pcengines.ch/alix6b2.htm ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike