From owner-freebsd-usb@freebsd.org Mon Jan 11 08:38:51 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88824A6C200 for ; Mon, 11 Jan 2016 08:38:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54E0E1D26 for ; Mon, 11 Jan 2016 08:38:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 41A0A1FE022; Mon, 11 Jan 2016 09:38:48 +0100 (CET) Subject: Re: CP2102 UART adapter not attaching To: Mark Johnston , freebsd-usb@freebsd.org References: <20160110040732.GA2606@raichu> From: Hans Petter Selasky Message-ID: <56936A9D.2060209@selasky.org> Date: Mon, 11 Jan 2016 09:41:01 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160110040732.GA2606@raichu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2016 08:38:51 -0000 On 01/10/16 05:07, Mark Johnston wrote: > Hi, > > I have the module listed here: > http://www.amazon.com/KEDSUM%C2%AE-CP2102-Module-Download-Converter/dp/B009T2ZR6W > > Under Windows 8 it works perfectly, but on FreeBSD-CURRENT I get: > > usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED > ugen1.3: at usbus1 (disconnected) > uhub_reattach_port: could not allocate new device > > It looks like this device should be handled by uslcom(4), but it looks > like we can't even get the device descriptor. How can I go about > debugging this? Hi, What does "usbconfig" say about your USB controllers? Did you try to connect through an external USB HUB? The log you show basically shows that the device is refusing to enumerate. You can try adding "options USB_REQ_DEBUG" to GENERIC. Then you'll have some more sysctl knobs under hw.usb which allows you to try to figure out timing related issues. Which version of FreeBSD are you using? --HPS