From owner-freebsd-usb@FreeBSD.ORG Fri Sep 3 17:17:53 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B4A610656C0 for ; Fri, 3 Sep 2010 17:17:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id D1AFE8FC16 for ; Fri, 3 Sep 2010 17:17:52 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=lVe/gw8n+Sg6VfbntC6ksM24ozRLXC8p6LIuM5gXbf8= c=1 sm=1 a=DY18j03bvBIA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=mOGvVXIxCkfvGyPnMG0A:9 a=0yAeP6KHUUa8CPSkYkoA:7 a=qgEDCiJjM_0OUNDMyWM36CXra9oA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 16376459; Fri, 03 Sep 2010 19:17:32 +0200 From: Hans Petter Selasky To: Piet Skiet Date: Fri, 3 Sep 2010 19:13:44 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008310947.07460.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009031913.44078.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB synchronous control transfers (for usb-to-serial) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 17:17:53 -0000 > > Hi, > > Attached is the patch adding a 250ms polling control transfer to > update the port status flags. I've also added CRTSCTS hardware flow > control. I did some tests with minicom and with gtkterm. Minicom works > perfectly, but gtkterm has problems at baud 115200 and also with > hardware flow control. I also testes the Prolific driver (uplcom) with > minicom and gtkterm, and gtkterm has the same problems at 115200 baud, > so I'm assuming it's a gtkterm bug (not maintained anymore). > > BTW, do the usb-to-serial drivers need the force_short_xfer usb > transfer flag? gtkterm seems to work slightly better without the > flag... > > Anyway, thanks for the help so far You can remove the force_short_xfer usb transfer flag, if you can verify that the chip receive data if you send a USB packet of exactly 64 or 512 bytes, depending on USB full or high-speed. --HPS