Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2009 09:30:52 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: [usb2] Garmin Edge 705 disconnects immediately
Message-ID:  <200907190930.53835.hselasky@c2i.net>
In-Reply-To: <4A62187E.1000506@bindone.de>
References:  <4A62187E.1000506@bindone.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Garmin International> at usbus2
> Jul 18 19:37:55 ufo kernel: ugen2.2: <Garmin International> at usbus2
> (disconnected)
>
> kldload usb2_storage_mass
> kldload usb2_controller_uhci
> Jul 18 19:38:06 ufo kernel: ugen2.2: <Garmin International> at usbus2
> Jul 18 19:38:06 ufo kernel: umass0: <Garmin International Edge 705,
> 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: <Garmin International>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907190930.53835.hselasky>