Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2009 22:03:18 +0100
From:      Nick Hibma <nick@van-laarhoven.org>
To:        freebsd-hardware@freebsd.org
Cc:        Alberto Mijares <amijaresp@gmail.com>
Subject:   Re: Modem GSM/GPRS
Message-ID:  <200902172203.19534.nick@van-laarhoven.org>
In-Reply-To: <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com>
References:  <286906750902130802q2ec86267ye5ae0832ab9a3aa4@mail.gmail.com> <200902132209.52793.hselasky@c2i.net> <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <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
> _______________________________________________
> 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"





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