From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 21:10:12 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 A9CF110656C3 for ; Fri, 9 Jan 2009 21:10:12 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBED8FC1A for ; Fri, 9 Jan 2009 21:10:12 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6870C3F12F; Fri, 9 Jan 2009 21:10:11 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n09LABPj023655; Fri, 9 Jan 2009 21:10:11 GMT (envelope-from phk@critter.freebsd.dk) To: Nick Hibma From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 09 Jan 2009 21:46:00 +0100." <200901092146.01009.nick@van-laarhoven.org> Date: Fri, 09 Jan 2009 21:10:10 +0000 Message-ID: <23654.1231535410@critter.freebsd.dk> Sender: phk@critter.freebsd.dk 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:10:13 -0000 In message <200901092146.01009.nick@van-laarhoven.org>, Nick Hibma writes: >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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.