From owner-freebsd-usb@FreeBSD.ORG Wed Jul 22 16:00:43 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 B9BE0106564A for ; Wed, 22 Jul 2009 16:00:43 +0000 (UTC) (envelope-from freebsdusb@bindone.de) Received: from mail.bindone.de (mail.bindone.de [80.190.134.51]) by mx1.freebsd.org (Postfix) with SMTP id 9AA428FC1F for ; Wed, 22 Jul 2009 16:00:42 +0000 (UTC) (envelope-from freebsdusb@bindone.de) Received: (qmail 5281 invoked by uid 89); 22 Jul 2009 16:00:40 -0000 Received: from unknown (HELO ufo.bindone.de) (mg@bindone.de@87.152.168.81) by mail.bindone.de with ESMTPA; 22 Jul 2009 16:00:40 -0000 Message-ID: <4A67379D.3030601@bindone.de> Date: Wed, 22 Jul 2009 18:00:29 +0200 From: Michael Gmelin User-Agent: Thunderbird 2.0.0.17pre (X11/20090202) MIME-Version: 1.0 To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <4A62187E.1000506@bindone.de> <200907191753.45762.hselasky@c2i.net> <4A671A58.1070004@bindone.de> <200907221629.58612.hselasky@c2i.net> In-Reply-To: <200907221629.58612.hselasky@c2i.net> Content-Type: multipart/mixed; boundary="------------060001050404070603080001" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 22 Jul 2009 16:00:44 -0000 This is a multi-part message in MIME format. --------------060001050404070603080001 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hans Petter Selasky wrote: > On Wednesday 22 July 2009 15:55:36 Michael Gmelin wrote: >> Hans Petter Selasky wrote: > >> Did you have a chance to look at this yet? Anything more I could do? >> Thanks! > > Hi, > > Can you try the attached patch. Needs to be applied by hand. > > Then compile new kernel, reboot. > > kldload usb_quirk > > usbconfig -u xxx -a uuu add_dev_quirk_vplh UQ_CFG_PRESET > > You need to fill in the correct vendor id, product id, lo rev and hi rev for your device. See the > dump_device_desc output for your device. > > --HPS > Hello, I merged in the changes to make that quirk work (couldnt use the patches directly because I'm on another version). Unfortunately dump_device_desc doesn't work, because the device disappears before I can get the info (but I have it anyway, so this is no issue). kldload usb2_controller_uhci kldload usb2_storage_mass kldload usb2_quirk usbconfig add_dev_quirk_vplh 0x091e 0x2271 0x0000 0xffff UQ_CFG_PRESET (also tried specifying -u and -a) According to the logs it's still setting config index 0 in usb2_alloc_device (but this config misleading debug ouput I guess, because it calls the patched function later in there). The debug output suggests that the patch is actually working, but the result is the same Thanks for your support Michael find attached the debug output after the patch has been applied. --------------060001050404070603080001--