From owner-freebsd-usb@freebsd.org Sat Jul 27 11:04:37 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8BFEFB65A0 for ; Sat, 27 Jul 2019 11:04:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0C776883 for ; Sat, 27 Jul 2019 11:04:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 328DE260167; Sat, 27 Jul 2019 13:04:26 +0200 (CEST) Subject: Re: Problem attaching USB Garmin device To: Mariappan N , "freebsd-usb@freebsd.org" References: <20701523-c2e3-e184-b695-ecd6dfed639b@selasky.org> <4aaaaadf-cf6b-8dc6-62a8-d4a577d19691@selasky.org> From: Hans Petter Selasky Message-ID: Date: Sat, 27 Jul 2019 13:03:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4B0C776883 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.96 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.46)[-0.462,0]; IP_SCORE(-3.19)[ip: (-9.39), ipnet: 88.99.0.0/16(-4.75), asn: 24940(-1.82), country: DE(-0.01)]; FREEMAIL_TO(0.00)[outlook.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jul 2019 11:04:37 -0000 On 2019-07-26 11:43, Mariappan N wrote: > Hi HPS, > > Added hw.usb.xhci.debug=17 at /boot/loader.conf. Attached the dmesg as file with/without device. Please look into. I can give Garmin device details. If possible please look into it. > > Thanks 🙂 > xhci_check_transfer: New remainder: 8 xhci_check_transfer: TD has I/O error xhci_generic_done: xfer=0xc7cd10b0 endpoint=0xc84b808c transfer done xhci_generic_done_sub: xfer=0xc7cd10b0[0/2] rem=8/8 status=4 xhci_device_done: xfer=0xc7cd10b0, endpoint=0xc84b808c, error=18 status=4 means XHCI_TRB_ERROR_XACT According to section 4.10.2.3 of the xHCI specification this means your device is responding with wrong USB PID. This I believe is not a fault in the FreeBSD USB stack. Do other USB high speed devices work with your XHCI controller? I need a USB wire analyzer hooked onto the device between the Garmin and the computer to get further with this and compare it with the working case. --HPS