From owner-freebsd-arm@FreeBSD.ORG Mon Nov 5 14:01:46 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E0A16A469 for ; Mon, 5 Nov 2007 14:01:45 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id AE44813C4A7 for ; Mon, 5 Nov 2007 14:01:45 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id CB9C2EC22 for ; Mon, 5 Nov 2007 15:28:58 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 36471-03 for ; Mon, 5 Nov 2007 15:28:56 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 0C1FBEC23 for ; Mon, 5 Nov 2007 15:28:56 +0200 (EET) Message-ID: <472F1A97.3090308@bulinfo.net> Date: Mon, 05 Nov 2007 15:28:55 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.6 (X11/20070927) MIME-Version: 1.0 To: freebsd-arm@freebsd.org X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Subject: Detecting USB devices at startup? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 14:01:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have strange problem with my at91rm9200 board. At boot I get: ... ohci0: mem 0xdfe00000-0xdfefffff irq 23 on atmelarm0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] uhub0: 2 ports with 2 removable, self powered usbd_get_config_desc: confidx=0, bad desc len=9 type=36 uhub_explore: usb_new_device failed, error=INVAL uhub0: device problem (INVAL), disabling port 1 usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usbd_new_device: addr=2, getting first desc failed uhub_explore: usb_new_device failed, error=IOERROR uhub0: device problem (IOERROR), disabling port 2 But if I unplug and plug the usb device: umass0: on uhub0 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) Any ideas why this happens? Best Regards PS1: I have this problem with all USB devices I tested. PS2: Errors about port 2 should be ignored. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHLxqXxJBWvpalMpkRAgWxAKCITUyQzSSM+yNag6BKH+a8Sg2JZACgknWJ owwpuHVE+BN8P8oXR6OueDU= =1d62 -----END PGP SIGNATURE-----