From owner-freebsd-usb@FreeBSD.ORG Fri Feb 1 07:31:09 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BEEAE1E4 for ; Fri, 1 Feb 2013 07:31:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 561C6FD4 for ; Fri, 1 Feb 2013 07:31:08 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 369173811; Fri, 01 Feb 2013 08:31:01 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: sata to usb not working Date: Fri, 1 Feb 2013 08:32:13 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: john smith X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 07:31:09 -0000 On Friday 01 February 2013 08:24:02 john smith wrote: > Hello, > I bought two cheap sata to usb adapters (one with enclosure and one > without, one of them is self powerd, so that's not the problem), and > both give me the messages below. Tried with 8.2 and 9.1 to which I'm > migrating. I have another portable hard-disk which works just fine, so > it's probably the new ones I bought that are not supported or > something (all three are usb 3). I'm not a developer. Thanks in > advance. > > kernel: usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored) > kernel: usbd_setup_device_desc: getting device descriptor at addr 2 > failed, USB_ERR_STALLED > kernel: usbd_req_re_enumerate: addr=2, set address failed! > (USB_ERR_STALLED, ignored) > kernel: usbd_setup_device_desc: getting device descriptor at addr 2 > failed, USB_ERR_STALLED > kernel: usbd_req_re_enumerate: addr=2, set address failed! > (USB_ERR_STALLED, ignored) > kernel: usbd_setup_device_desc: getting device descriptor at addr 2 > failed, USB_ERR_STALLED > kernel: ugen4.2: at usbus4 (disconnected) > kernel: uhub_reattach_port: could not allocate new device > Hi, Can you upgrade the kernel to -stable, and then tune some of these sysctls up until it works? hw.usb.timings.extra_power_up_time: 20 hw.usb.timings.resume_recovery: 50 hw.usb.timings.resume_wait: 50 hw.usb.timings.resume_delay: 250 hw.usb.timings.set_address_settle: 10 hw.usb.timings.port_resume_delay: 40 hw.usb.timings.port_powerup_delay: 300 hw.usb.timings.port_reset_recovery: 250 hw.usb.timings.port_root_reset_delay: 250 hw.usb.timings.port_reset_delay: 50 --HPS