From owner-freebsd-usb@FreeBSD.ORG Wed Dec 11 04:42:29 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C838585 for ; Wed, 11 Dec 2013 04:42:29 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF27C12D2 for ; Wed, 11 Dec 2013 04:42:28 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id x13so4828560qcv.1 for ; Tue, 10 Dec 2013 20:42:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=uxl4QAscGykQHe12H7csQ8um5IHoVwhSMcOqTIF78eU=; b=I+ay6dRaSVQxtY/uQ+dHSTNVjkRAccl9xF6Ep23nSR9JSgQQW1HnbrpJT3kAH7SxdO YdoS7o8VKfxK9VbdbDgTYuVjNQVwQinKWF0LaqRDTJIRakdDfLp8tsVlXjxejw4kKZzx woKHmiK6DaQGKPzaRkiAnY2Z1cTNoY/plha3M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=uxl4QAscGykQHe12H7csQ8um5IHoVwhSMcOqTIF78eU=; b=f7UWxaP8R9r5IqXQHCbf4bn8aD/wJ1/bMKLPDfKuf1yje0pbdXbx5PQGiuyXkoubZC YpSmbM0qscNRG0hUZvYvsWK/GNaRiLcy7oTenFung9/sK1vfeU2FAXlh1hhMz7BotI4J ZbiOYRL0D4lMY8KavHvDQ5EchUQnXUNGkwn15SiosL9Hj21gBxRiYH+M8qJB++xXE5Ur EdQbGWs/ZPkTOvCm6O5fXlSkndYdCfGjRvBoHjP5jWTAmdIRr2m5r+66c0y/axKq3OC5 L1HUfb7I+PUMuTou8zZtlkX+wp3y9cW4VuS8bLiZcffH3q+9MSv79hb96/INMktWK68O ne+Q== X-Gm-Message-State: ALoCoQkIfUrps3R896Px0yFBxnobU3Kx8e/pYUKT0JN6q4qZRqbbsNV8ZSSGeh6b6tTVAsHNUie/ X-Received: by 10.224.26.140 with SMTP id e12mr51242133qac.54.1386736947939; Tue, 10 Dec 2013 20:42:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.86.42 with HTTP; Tue, 10 Dec 2013 20:41:57 -0800 (PST) In-Reply-To: References: <52847654.8070501@bitfrost.no> <5284EB46.7010903@bitfrost.no> <5294461D.2070000@bitfrost.no> <5294C10D.4000000@bitfrost.no> <52A41AC7.9020007@bitfrost.no> <52A6BBD2.9050906@bitfrost.no> <52A76882.6040003@bitfrost.no> <52A77830.4070204@bitfrost.no> <52A77D25.7000206@bitfrost.no> From: Eitan Adler Date: Tue, 10 Dec 2013 23:41:57 -0500 Message-ID: Subject: Re: Unable to attach USB mouse To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: "usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 04:42:29 -0000 On Tue, Dec 10, 2013 at 4:02 PM, Eitan Adler wrote: > On Tue, Dec 10, 2013 at 3:44 PM, Hans Petter Selasky wrote: >> On 12/10/13 21:23, Hans Petter Selasky wrote: >>> >>> On 12/10/13 21:16, Eitan Adler wrote: >>>> >>>> On Tue, Dec 10, 2013 at 2:16 PM, Hans Petter Selasky >>>> wrote: >>>>> >>>>> On 12/10/13 19:47, Eitan Adler wrote: >>>>>> >>>>>> >>>>>> [ moving back to the mailing list ] >>>>>> >> >>> >>> Looks like you traced the wrong endpoint. Should be endpoint 0x83. Could >>> you check the other USB's ? >> >> >> Sorry, it was the right endpoint after all, but I don't see any transfer >> errors, so your device is working I assume. > > [ revision: FreeBSD gravity.local 11.0-CURRENT FreeBSD 11.0-CURRENT #6 > r259023: Mon Dec 9 22:22:57 EST 2013 > eitan@gravity.local:/usr/obj/usr/src/sys/EADLER amd64 ] > > So far, yes, everything is working. However, I've seen the errors > above on this revision. I'm not sure what is the exact reason for > when I see them and when I don't. After leaving the system running for a while I see: [90548] uhub_reattach_port: could not allocate new device [90549] usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) [90549] usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR [90549] usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) [90549] usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR [90550] usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) [90550] usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR [90550] usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) [90550] usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR [90552] usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) [90552] usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR [90552] ugen0.2: at usbus0 (disconnected) [90552] uhub_reattach_port: could not allocate new device I feel like there is something leaking but I'm not sure what. -- Eitan Adler