From owner-freebsd-usb@freebsd.org Sat Jul 27 11:16:28 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 A069CB6AFF for ; Sat, 27 Jul 2019 11:16:28 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 4FD1976F55 for ; Sat, 27 Jul 2019 11:16:28 +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 9B806260167; Sat, 27 Jul 2019 13:16:13 +0200 (CEST) Subject: Re: Problem attaching USB Garmin device From: Hans Petter Selasky To: Mariappan N , "freebsd-usb@freebsd.org" References: <20701523-c2e3-e184-b695-ecd6dfed639b@selasky.org> <4aaaaadf-cf6b-8dc6-62a8-d4a577d19691@selasky.org> Message-ID: Date: Sat, 27 Jul 2019 13:15:11 +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: 4FD1976F55 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.35 / 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)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.47)[-0.468,0]; IP_SCORE(-2.57)[ip: (-9.10), ipnet: 2a01:4f8::/29(-1.93), 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:2a01:4f8::/29, 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:16:28 -0000 On 2019-07-27 13:03, Hans Petter Selasky wrote: > 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 Did you check if there exist new firmware for your Garmin? --HPS