From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 11:00:50 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A1861065670; Fri, 9 Jan 2009 11:00:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id ABD448FC12; Fri, 9 Jan 2009 11:00:49 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=nklthdr5v5AUSfVrlghuJA==:17 a=Tby5vXGZl2FAB7Z_HuoA:9 a=X6rXYyvLX17rPgHO2KUA:7 a=3NddBVTjV7soyHz1fAiOhIBmzjoA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.62] (account mc467741@c2i.net [62.113.132.62] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1175523982; Fri, 09 Jan 2009 12:00:47 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 9 Jan 2009 12:02:39 +0100 User-Agent: KMail/1.9.7 References: <3994.1231494833@critter.freebsd.dk> In-Reply-To: <3994.1231494833@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901091202.41011.hselasky@c2i.net> Cc: Poul-Henning Kamp , 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 11:00:50 -0000 On Friday 09 January 2009, Poul-Henning Kamp wrote: > I tried using my 3g modem (Huawei E196) yesterday, with both the > old and the new USB stack, and it fails in slightly different > ways. > > With the old USB stack, it works until I actually try to get a packet > of more than approx 1024 bytes through, at which point it hangs with > ucom0: ucomreadcb: IOERROR > And I need to stop and start ppp(1) to get it working until the next > big packet comes around. > > It does not help to reduce the MRU because two small packets back to > back will also trigger this error. > > With the new USB stack, I am not able to talk to the modem at all > using the cuaU* devices. Hi, With regard to the new USB stack: Do you see any USB error messages in dmesg? What does the dmesg print out? Also there are debugging sysctls: sysctl -a hw.usb2 | grep debug Also try dumping the descriptors of your device using "usbconfig -u xxx -a yyy dump_device_desc dump_curr_config_desc". You can also try things like: usbconfig -u xxx -a yyy reset --HPS