From owner-freebsd-usb@FreeBSD.ORG Thu Apr 2 10:38:37 2009 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 52E111065673 for ; Thu, 2 Apr 2009 10:38:37 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB568FC14 for ; Thu, 2 Apr 2009 10:38:36 +0000 (UTC) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n32Abw51018592; Thu, 2 Apr 2009 06:37:58 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200904021037.n32Abw51018592@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 02 Apr 2009 06:38:44 -0400 To: Nick Hibma , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <200904011150.16355.nick@van-laarhoven.org> References: <200903272126.n2RLQjIe052544@lava.sentex.ca> <200904011150.16355.nick@van-laarhoven.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: u3g panic 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: Thu, 02 Apr 2009 10:38:37 -0000 At 05:50 AM 4/1/2009, Nick Hibma wrote: >Mike, and others, > >We are working on this panic at the moment and there will be a driver out >for inclusion in 7.2 (hopefully). > >It seems to (almost) make ZTE MF626 work as well (mode switch does not work >reliably yet). According to Mike Tancsa this driver also makes his Novatel >device work without having to manually switch the device. > >I'd appreciate it if poeple could gives this driver a try to see whether it >works for them too. > > http://people.freebsd.org/~n_hibma/u3g.html > >I am using it as we speak to submit this message and upload the driver >sources, change the HTML text on that page. Its working much better now, but I still get the occasional IOERROR ucom1: on uhub0 ucom1: port=0 iface=0 in=0x82 out=0x2 ucom1: port=1 iface=1 in=0x84 out=0x4 ucom1: configured 2 serial ports (U1.%d) ucom1: at uhub0 port 3 (addr 3) disconnected ucom1: ucomreadcb: IOERROR Still 2 threads in cuaU1.0 Still 2 threads in cuaU1.0 Still 2 threads in cuaU1.0 Still 2 threads in cuaU1.0 And then I have to reboot the box or pull the device to get it to work again. I am not sure if the USB stick is crashing or a driver issue ? Is there a way from userland to make the device re-attach in such cases ? We would like to deploy some of these remotely so ideally we would like to catch the error and deal with it programatically. ---Mike