From owner-freebsd-hardware@FreeBSD.ORG Wed Oct 8 07:47:55 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB69106568D for ; Wed, 8 Oct 2008 07:47:55 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml16.kpnxchange.com (hpsmtp-eml16.KPNXCHANGE.COM [213.75.38.116]) by mx1.freebsd.org (Postfix) with ESMTP id 3A47E8FC1C for ; Wed, 8 Oct 2008 07:47:55 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml10.kpnxchange.com ([213.75.38.110]) by hpsmtp-eml16.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 09:47:53 +0200 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by hpsmtp-eml10.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 09:47:53 +0200 Received: (qmail 42917 invoked by uid 98); 8 Oct 2008 07:47:53 -0000 Received: from 77.62.185.192 (nick@77.62.185.192) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:0(77.62.185.192):SA:0(0.8/5.0):. Processed in 6.044806 secs); 08 Oct 2008 07:47:53 -0000 X-Spam-Status: No, score=0.8 required=5.0 X-Spam-Level: Received: from unknown (HELO van-laarhoven.org) (nick@77.62.185.192) by uitsmijter.van-laarhoven.org with SMTP; 8 Oct 2008 07:47:46 -0000 Received: (nullmailer pid 1713 invoked by uid 1001); Wed, 08 Oct 2008 07:47:41 -0000 From: Nick Hibma To: Milan Obuch Date: Wed, 8 Oct 2008 09:47:40 +0200 User-Agent: KMail/1.9.7 References: <1e31c7980805130830w15aa90a0jfe19a279a4e6a628@mail.gmail.com> <200810080003.38358.nick@van-laarhoven.org> <200810080934.58273.freebsd-hardware@dino.sk> In-Reply-To: <200810080934.58273.freebsd-hardware@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810080947.40594.nick@van-laarhoven.org> X-OriginalArrivalTime: 08 Oct 2008 07:47:53.0554 (UTC) FILETIME=[2BAEE320:01C9291A] Cc: freebsd-hardware@freebsd.org Subject: Re: Modem GPRS USB - testers needed for 3G USB based data cards. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:47:55 -0000 > I tried building under both 7.1-PRERELASE from Sep 19 and 8.0-CURRENT > (two days old or so). It builds under the former, but does not build > under the latter, complaining about missing TS_CALLOUT. Thanks. I will check into that this week. > That beeing said, under 7.1 it kldloads/kldunloads, and as soon as I have > an access to Huawei E220 (temporary), I will test whether it works. Is > there anything special necessary to use this driver? Or is it just like > using normal modem with ppp? I would like to know because my access to > this device is currently limited only for some occasions. Nope. You will get multiple /dev/cuaUX devices (4 in this case I believe) and you need to pick /dev/cuaU0. Start ppp with your usual entry and before typing dial you set the device to set device /dev/cuaU0 Don't forget to set the baud rate to 115200 or higher to set buffering correctly in the TTY layer. Oh no, that still needs fixing in the ucom driver. You will get lots of warnings. Increase 256 to 1024 in the following line: #define U3GBUFSZ 256 The problem here is that ucom doesn't properly initialise the tty struct. Setting this value isn't the proper way of doing this but it works. With screen /dev/cuaU2 and then typing in AT+CSQ you can view signal strength. Depending on the device the following commands you can try (while on the move): AT+CREG=1 GSM connection status AT+CGREG=1 GPRS connection status AT+CREG=2 GSM connection status including mast IDs AT+CGREG=2 GPRS connection status including mast IDs AT_OSSYS=1 Async selected system reporting (Option) AT_OSQI=1 Async Signal Quality Reporting (Option) Thanks for testing. Cheers, Nick