Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 04:41:31 +1930
From:      Alberto Mijares <amijaresp@gmail.com>
To:        freebsd-hardware@freebsd.org
Subject:   Re: Modem GSM/GPRS
Message-ID:  <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com>
In-Reply-To: <200902132209.52793.hselasky@c2i.net>
References:  <286906750902130802q2ec86267ye5ae0832ab9a3aa4@mail.gmail.com> <200902131906.51725.hselasky@c2i.net> <286906750902131226y22605e4ag41dcab90a6f7cf57@mail.gmail.com> <200902132209.52793.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]

> 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: <Silicon Labs SA-EL USB, class 0/0, rev 1.10/1.00, addr 3> 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 = <undef>;
        eol2 = <undef>; 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?286906750902140111i62d94f78w3921951f072cb930>