From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 21:45:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15CB106568B for ; Fri, 9 Jan 2009 21:45:26 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml20.kpnxchange.com (hpsmtp-eml20.KPNXCHANGE.COM [213.75.38.85]) by mx1.freebsd.org (Postfix) with ESMTP id 34F588FC0C for ; Fri, 9 Jan 2009 21:45:25 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml102.kpnxchange.com ([213.75.84.102]) by hpsmtp-eml20.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 22:45:24 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml102.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 22:45:24 +0100 Received: from van-laarhoven.org (dhcp-10-251-2-198.awservice [10.251.2.198]) by uitsmijter.van-laarhoven.org (8.14.3/8.14.3) with SMTP id n09LjnSZ063388; Fri, 9 Jan 2009 22:45:49 +0100 (CET) (envelope-from nick@van-laarhoven.org) Received: (nullmailer pid 6753 invoked by uid 1001); Fri, 09 Jan 2009 21:45:16 -0000 From: Nick Hibma To: Poul-Henning Kamp Date: Fri, 9 Jan 2009 22:45:15 +0100 User-Agent: KMail/1.9.10 References: <23654.1231535410@critter.freebsd.dk> In-Reply-To: <23654.1231535410@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901092245.16450.nick@van-laarhoven.org> X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_35 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 09 Jan 2009 21:45:24.0301 (UTC) FILETIME=[93E11FD0:01C972A3] Cc: freebsd-current@freebsd.org Subject: Re: 3G modem and USB, old & new X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 21:45:27 -0000 > >I've not been able to reproduce the problems reliably. But looking at > > the symptoms somehow buffering goes pear-shaped somewhere. There is no > > buffering being done in the u3g code.That's all handled by ucom, but to > > me that looks like cut&paste from other code. So I presume (wildly > > pointing fingers at code I do not yet understand) that the problem is > > somewhere in the combination of ucom and tty layer, or perhaps even in > > the TTY layer. > > I can shoot that theory down right away: It worked great when I hacked > the magic mode bit support into ubsa.c > > It must be a u3g issue. Explain that to the people that get great performance on u3g, which had big troubles using ubsa (the same problems you are seeing; me for one). So I am pretty sure I am right. Second: I've had reports of E220 working and the same device not working and choking on 'AT' on the second channel. It is most definitely a buffering issue. Perhaps the buffers are not properly configured, but making them larger or smaller does not change the symptoms in any case for these people. Would you know of a serial device using tty layer code with high speed serial links that I could look at to see what could be wrong in either u3g and/or ucom? Thanks. Nick