Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 20:43:57 +0200
From:      Michael Gmelin <freebsdusb@bindone.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: [usb2] Garmin Edge 705 disconnects immediately
Message-ID:  <4A675DED.2000001@bindone.de>
In-Reply-To: <200907221910.40562.hselasky@c2i.net>
References:  <4A62187E.1000506@bindone.de> <200907221629.58612.hselasky@c2i.net> <4A67379D.3030601@bindone.de> <200907221910.40562.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky wrote:
> On Wednesday 22 July 2009 18:00:29 Michael Gmelin wrote:
>> 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 <vid> <pid> <lo_rev> <hi_rev>
>>> 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
>>
> 
> Can you redo test with umass unloaded?
> 
> --HPS
> 
Did thatm, same effect, are you interested in the debug output?



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