From owner-freebsd-usb@FreeBSD.ORG Sun Jul 19 07:31:09 2009 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 B3D7F106566B for ; Sun, 19 Jul 2009 07:31:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE518FC0A for ; Sun, 19 Jul 2009 07:31:08 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Bx_xhd6jh-gA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=fbwz4lgXNmptWK6Tk98A:9 a=DuAVgxom2JBBMqvbZNO0bK7phrQA:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1278700881; Sun, 19 Jul 2009 09:31:07 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 19 Jul 2009 09:30:52 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A62187E.1000506@bindone.de> In-Reply-To: <4A62187E.1000506@bindone.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907190930.53835.hselasky@c2i.net> Cc: Subject: Re: [usb2] Garmin Edge 705 disconnects immediately 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: Sun, 19 Jul 2009 07:31:10 -0000 On Saturday 18 July 2009 20:46:22 Michael Gmelin wrote: > Hello, > > I'm trying to access a Garmin Edge 705 bike computer, which should show > up as a mass storage device. > > kldload usb2_controller_uhci|ehci > > Jul 18 19:37:55 ufo kernel: ugen2.2: at usbus2 > Jul 18 19:37:55 ufo kernel: ugen2.2: at usbus2 > (disconnected) > > kldload usb2_storage_mass > kldload usb2_controller_uhci > Jul 18 19:38:06 ufo kernel: ugen2.2: at usbus2 > Jul 18 19:38:06 ufo kernel: umass0: class 0/0, rev 1.10/5.09, addr 2> on usbus2 > Jul 18 19:38:06 ufo kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 > Jul 18 19:38:08 ufo kernel: umass0:1:0:-1: Attached to scbus1 > Jul 18 19:38:08 ufo kernel: umass0: at ushub2, port 1, addr 2 > (disconnected) Jul 18 19:38:08 ufo kernel: ugen2.2: > at usbus2 (disconnected) > > Tried various quirks without any success for usb2_storage_mass (afaik it > should be SCSI | BBB). Also tried all possible orders of attaching the > device/ > > Setting various debugging sysctls didn't give any useful hints (didn't > see anything extraordinary). > usbconfig doesn't show anything because the device disappears > immediately. I would assume that this is not a problem with _storage but > the device expecting some initialization which doesn't happen (or > happens too often). Also tried various usb2_quirk settings, all without > success. > > VendorId: 0x091e > ProductId: 0x2271 > > Maybe someone can give me a hint where to start debugging this. > You can try: sysctl hw.usb.debug=15 I suspect that the USB stack in your device has some bugs. Sounds like the bike-computer manufacturer are not the ones to spend the most money on USB. --HPS