From owner-freebsd-wireless@freebsd.org Tue Sep 6 17:56:33 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CEAFBC7FC4; Tue, 6 Sep 2016 17:56:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24969C04; Tue, 6 Sep 2016 17:56:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 265A11FE022; Tue, 6 Sep 2016 19:56:30 +0200 (CEST) Subject: Re: Small example program shut down urtwn To: =?UTF-8?B?T3RhY8OtbGlv?= , Adrian Chadd References: <65f68e6c-a1cc-73ec-f3f0-048d4f339ad8@selasky.org> <44440370-dfc1-f781-e69b-97fbcbc582b2@bsd.com.br> Cc: "freebsd-arm@freebsd.org" , "freebsd-wireless@freebsd.org" From: Hans Petter Selasky Message-ID: <9a18fa9c-040b-908a-3c99-7e61357553b4@selasky.org> Date: Tue, 6 Sep 2016 20:01:11 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <44440370-dfc1-f781-e69b-97fbcbc582b2@bsd.com.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 17:56:33 -0000 On 09/06/16 18:38, OtacĂ­lio wrote: > After a lot of messages this appears: > > 13:04:40.000436 usbus1.2 > DONE-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0 > 13:04:40.000447 usbus1.2 SUBM-BULK-EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0 > urtwn0: device timeout Hi, A USB analyzer would tell for sure. Most likely the USB dongle has stopped responding and is NAKing the 0x03 BULK OUT endpoint, which leads to the USB_ERR_TIMEOUT. You can try to set .interval = 1, in "struct usb_config", to nice the USB OUT transfers. --HPS