From owner-freebsd-usb@FreeBSD.ORG Tue May 20 04:01:12 2008 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 02219106564A for ; Tue, 20 May 2008 04:01:12 +0000 (UTC) (envelope-from chris.anderson@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id D380E8FC16 for ; Tue, 20 May 2008 04:01:11 +0000 (UTC) (envelope-from chris.anderson@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1908899rvf.43 for ; Mon, 19 May 2008 21:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=UYUDUhe3PnaXDczPVNRZLC/gCJ9AmCdlKZM4z6VpoEo=; b=RPzEq3VSmj5iwbw+6+yPyzKIUwfsikj5OlpmjXrdINkiSawzDH9EOoxJUsDfogMH58+XX9NiRo+kjIF2jOWbdkUfPPD3EDLyGWPofZTm4Bt4tjY9AnamajklZYj5wmz8q1rEGj6PQx2zJ7HQpZdCFnXCEoSKdMW6Z7lNz4GhYSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=AyS3Dh0BfkNuc1ZbluVP6arZbS6ioMVdyFcpqiENC2hgK1UQLtQHE7UZri3vBXgtW/O5iL63sWYgHttuTAgULNE0y8LQgtvKynqhPYttflTS9EALIQN5P2dJGyzi9XyUJ/yhZZ1slAiUEevsGf/sTRtJvxuvQXlFlmQmIgvrmLY= Received: by 10.141.43.5 with SMTP id v5mr4122381rvj.216.1211254631582; Mon, 19 May 2008 20:37:11 -0700 (PDT) Received: by 10.140.135.5 with HTTP; Mon, 19 May 2008 20:37:11 -0700 (PDT) Message-ID: <254cbb760805192037u1ecec39y49fb36366c9ddf8b@mail.gmail.com> Date: Mon, 19 May 2008 20:37:11 -0700 From: "Chris Anderson" Sender: chris.anderson@gmail.com To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 44ea22b6be232149 Subject: device timeout on boot (but not when inserted after 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: Tue, 20 May 2008 04:01:12 -0000 I've been playing with an APC Back-UPS ES 450 and experiencing a strange problem. If I plug the UPS into the box after it has completely booted, it is recognized by the kernel and mapped to a ugen device: kernel: ugen0: on uhub0 However, if I have the device plugged in when the box boots, a ugen device is not created and the only error I see in dmesg is: uhub0: device problem (TIMEOUT), disabling port 2 Would this be related to a USB problem in FreeBSD, or is it the fault of the UPS? Are there some additional tools I can use to debug this further? cva # uname -a FreeBSD blah.aloof.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # dmesg | egrep '^(usb|uhub)' usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: on ohci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered usb4: OHCI version 1.0, legacy support usb4: SMM does not respond, resetting usb4: on ohci4 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: on usb5 uhub5: 10 ports with 10 removable, self powered uhub0: device problem (TIMEOUT), disabling port 2