From owner-freebsd-hardware@FreeBSD.ORG Tue Feb 17 21:15:29 2009 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 B518B106564A for ; Tue, 17 Feb 2009 21:15:29 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtpo-eml05.kpnxchange.com (cpsmtpo-eml05.KPNXCHANGE.COM [213.75.38.154]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6C78FC12 for ; Tue, 17 Feb 2009 21:15:29 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml110.kpnxchange.com ([10.94.168.110]) by cpsmtpo-eml05.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Feb 2009 22:03:24 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml110.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Feb 2009 22:03:23 +0100 Received: from van-laarhoven.org (hind.van-laarhoven.org [10.66.0.146]) (authenticated bits=0) by uitsmijter.van-laarhoven.org (8.14.3/8.14.3) with ESMTP id n1HL5NAL052464; Tue, 17 Feb 2009 22:05:23 +0100 (CET) (envelope-from nick@van-laarhoven.org) Received: (nullmailer pid 7781 invoked by uid 1001); Tue, 17 Feb 2009 21:03:19 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Tue, 17 Feb 2009 22:03:18 +0100 User-Agent: KMail/1.9.10 References: <286906750902130802q2ec86267ye5ae0832ab9a3aa4@mail.gmail.com> <200902132209.52793.hselasky@c2i.net> <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com> In-Reply-To: <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902172203.19534.nick@van-laarhoven.org> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_40 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on uitsmijter.van-laarhoven.org X-OriginalArrivalTime: 17 Feb 2009 21:03:23.0816 (UTC) FILETIME=[2BA9E280:01C99143] Cc: Alberto Mijares Subject: Re: Modem GSM/GPRS 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: Tue, 17 Feb 2009 21:15:30 -0000 Alberto, Could you remove u3g again from your kernel, so the device attaches to ugen and then dump its descriptors using usbgen? usbgen -f /dev/ugen0 -D where ugen0 is the device mentioned in the dmesg. Thanks. Nick > [...] > > > Your device seems to use a propritary protocol and is not supported by > > FreeBSD out of the Box. But it might be a very simple one. In > > FreeBSD-7-current you can try adding the idVendor and idProduct to the > > ID-table > > in /sys/dev/usb/u3g.c . > > I've been trying and found this -> > http://people.freebsd.org/~n_hibma/u3g.html > > So, I updated my system (I'm on 7.1 now) and followed instructions. > > now dmesg says: > ucom0: on > uhub0 ucom0: configured 1 serial ports (U0.%d) > (much better, doesn't it) > > and /dev/cuaU0.0 is created when it is plugged in. However, I can't > stablish comunication with the modem. I tried with screen and minicom, > but nothing happens. Even stty reports: > > #stty -f /dev/cuaU0.0 -a > speed 9600 baud; 0 rows; 0 columns; > lflags: icanon isig iexten -echo -echoe -echok -echoke -echonl -echoctl > -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo > -extproc > iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk > brkint -inpck -ignpar -parmrk > oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret > cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow > -dtrflow -mdmbuf > cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; > eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; > lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; > status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; > > > > This is what I did: > > $ diff u3g.c original > 195,196d194 > < /* PRUEBA SILABS */ > < {{ USB_VENDOR_SILABS, USB_PRODUCT_SILABS_SAEL }, > U3GSP_GPRS, U3GFL_NONE }, > > and > > $ tail -1 usbdevs > product SILABS SAEL 0x8053 SA-EL USB > > > Is there anything else should I try? Any clue is good for me. > > Thank you > > Alberto Mijares > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org"