From owner-freebsd-usb@FreeBSD.ORG Fri Jan 3 13:12:19 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15FE7F05 for ; Fri, 3 Jan 2014 13:12:19 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id C45D61A27 for ; Fri, 3 Jan 2014 13:12:18 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id 877A41002B7; Fri, 3 Jan 2014 14:12:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id B85D98FC46D; Fri, 3 Jan 2014 14:12:54 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ykl00zY8iay; Fri, 3 Jan 2014 14:12:54 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id F12F58FC453; Fri, 3 Jan 2014 14:12:53 +0100 (CET) Message-ID: <52C6B770.401@bitfrost.no> Date: Fri, 03 Jan 2014 14:13:20 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Lundberg, Johannes" , "freebsd-usb@freebsd.org" Subject: Re: usb_interrupt_read speed different on USB 2 vs 3 port. References: In-Reply-To: Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 13:12:19 -0000 On 01/03/14 13:59, Lundberg, Johannes wrote: > Hi > > I had a bug driving me crazy and I finally discovered something weird that > was the reason. > > I have a pair of AR glasses from Vuzix which have a > gyro/accelerometer/compass which I read from USB using usb_interrupt_read > (reading 42 bytes of data). > > On my laptop I have two USB 2 and one USB 3 port. > >>From the USB 2 port things behave normally and reading takes a millisecond > or so. > >>From the USB 3 port things get weird and the call to usb_interrupt_read > takes over 20 milliseconds. I have been running this device on the same > laptop for some time and haven't noticed this behavior before. > > Can it be something that has been introduced recently or perhaps only my > system is behaving weird?... > > # uname -a > FreeBSD PC 10.0-BETA1 FreeBSD 10.0-BETA1 #0: Sun Dec 8 16:15:23 JST > 2013 root@PC:/usr/obj/usr/src/sys/GENERIC i386 > > Best regards > -- > Johannes Lundberg > Hi, Can you show output from "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" In both cases? --HPS