Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Sep 2009 08:53:40 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Hans Petter Selasky <hselasky@c2i.net>, freebsd-usb@freebsd.org
Subject:   Re: USB_ERR_IOERROR on cold boot, not warm boot
Message-ID:  <200909051250.n85Co1Ve046513@lava.sentex.ca>
In-Reply-To: <200909050905.39112.hselasky@c2i.net>
References:  <200909041918.n84JI3S7040121@lava.sentex.ca> <200909050905.39112.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <HP> at usbus0
> > +u3g0: <Data Interface> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909051250.n85Co1Ve046513>