Date: Wed, 05 Nov 2008 01:04:52 +0300 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Nick Hibma <nick@van-laarhoven.org> Cc: Andrea Guzzo <aguzzo@anywi.com>, FreeBSD CURRENT Mailing List <current@freebsd.org>, FreeBSD Hardware Mailing list <hardware@freebsd.org> Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel Message-ID: <1225836292.3428.37.camel@localhost> In-Reply-To: <200810092344.10388.nick@van-laarhoven.org> References: <200810092344.10388.nick@van-laarhoven.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2008-10-09 at 23:44 +0200, Nick Hibma wrote: > Just now I have committed a driver for Option and Huawei cards previously= =20 > supported by the ubsa driver. More information is in the commit message. >=20 > I am looking for people who would be able to provide more information aft= er=20 > testing with the 3G cards branded by: >=20 > OEM: > Merlin > Huawei > Option > Sierra > Novatel > Qualcomm >=20 > Rebranded: > Dell > Vodafone >=20 > Note: The driver can be copied across to FreeBSD 7-STABLE if you copy the= =20 > sys/modules/u3g directory and sys/dev/usb/u3g.c and sys/dev/usb/usbdevs=20 > files from HEAD and _move_ the ID from ubsa to u3g. >=20 > More information can be found on >=20 > http://people.freebsd.org/~n_hibma/u3g.html Ehh, I have Huawei card, and it works ok before with ubsa driver: Controller /dev/usb5: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x00= 00), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, Huawei Mobile(0x1001), = Huawei Technologies(0x12d1), rev 0.00 ucom0: <Huawei Technologies Huawei Mobile, class 0/0, rev 1.10/0.00, addr 2= > on uhub5 ucom0: configured 3 serial ports (U0.%d) Now (5-days old current), everything looks fine, chat finishes, but ppp failed to handshake (same ppp config works before with ubsa): Nov 5 00:57:35 vbook ppp[4644]: tun0: Phase: PPP Started (background mode)= . Nov 5 00:57:35 vbook ppp[4644]: tun0: Phase: bundle: Establish Nov 5 00:57:35 vbook ppp[4644]: tun0: Phase: deflink: closed -> opening Nov 5 00:57:35 vbook ppp[4644]: tun0: Phase: deflink: Connected! Nov 5 00:57:35 vbook ppp[4644]: tun0: Phase: deflink: opening -> dial Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Phone: #777 Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: deflink: Dial attempt 1 of 1 Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Send: AT^M Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Expect(15): OK Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Received: ^M Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Received: OK^M Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Send: ATE1Q0^M Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Expect(15): OK Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Received:=20 Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Received: OK^M Nov 5 00:57:35 vbook ppp[4644]: tun0: Chat: Send: ATDT#777^M Nov 5 00:57:37 vbook ppp[4644]: tun0: Chat: Expect(40): CONNECT Nov 5 00:57:37 vbook ppp[4644]: tun0: Chat: Received: ^M Nov 5 00:57:37 vbook ppp[4644]: tun0: Chat: Received: CONNECT^M Nov 5 00:57:37 vbook ppp[4644]: tun0: Phase: deflink: dial -> carrier Nov 5 00:57:38 vbook ppp[4644]: tun0: Phase: deflink: /dev/ttyU0.0 doesn't= support CD Nov 5 00:57:38 vbook ppp[4644]: tun0: Phase: deflink: carrier -> login Nov 5 00:57:38 vbook ppp[4644]: tun0: Phase: deflink: login -> lcp Nov 5 00:57:38 vbook ppp[4644]: tun0: LCP: FSM: Using "deflink" as a trans= port Nov 5 00:57:38 vbook ppp[4644]: tun0: LCP: deflink: State change Initial -= -> Closed Nov 5 00:57:38 vbook ppp[4644]: tun0: LCP: deflink: State change Closed --= > Stopped Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: deflink: LayerStart Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: deflink: SendConfigReq(1) state= =3D Stopped Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: ACCMAP[6] 0x00000000 Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: MRU[4] 1500 Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: MAGICNUM[6] 0xb88169a8 Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: QUALPROTO[8] proto c025, inter= val 10000ms Nov 5 00:57:39 vbook ppp[4644]: tun0: LCP: deflink: State change Stopped -= -> Req-Sent Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: deflink: RecvConfigAck(1) state= =3D Req-Sent Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: ACCMAP[6] 0x00000000 Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: MRU[4] 1500 Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: MAGICNUM[6] 0xb88169a8 Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: QUALPROTO[8] proto c025, inter= val 10000ms Nov 5 00:57:40 vbook ppp[4644]: tun0: LCP: deflink: State change Req-Sent = --> Ack-Rcvd Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: deflink: RecvConfigReq(3) state= =3D Ack-Rcvd Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: ACCMAP[6] 0x00000000 Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05= ) Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: MAGICNUM[6] 0x2e7ad2d8 Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: deflink: SendConfigAck(3) state= =3D Ack-Rcvd Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: ACCMAP[6] 0x00000000 Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05= ) Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: MAGICNUM[6] 0x2e7ad2d8 Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: deflink: State change Ack-Rcvd = --> Opened Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: deflink: LayerUp Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: deflink: SendIdent(0) state =3D= Opened Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: MAGICNUM b88169a8 Nov 5 00:57:42 vbook ppp[4644]: tun0: LCP: TEXT user-ppp 3.4.2 (built COM= PILATIONDATE) Nov 5 00:57:42 vbook ppp[4644]: tun0: Phase: bundle: Authenticate Nov 5 00:57:42 vbook ppp[4644]: tun0: Phase: deflink: his =3D CHAP 0x05, m= ine =3D none Nov 5 00:57:52 vbook ppp[4644]: tun0: Phase: Chap Input: CHALLENGE (16 byt= es from pdsn-m22-7cm2) Nov 5 00:57:52 vbook ppp[4644]: tun0: Phase: Chap Output: RESPONSE (mobile= ) Nov 5 00:57:53 vbook ppp[4644]: tun0: LCP: deflink: RecvEchoRequest(1) sta= te =3D Opened Nov 5 00:57:53 vbook ppp[4644]: tun0: LCP: deflink: SendEchoReply(1) state= =3D Opened Nov 5 00:57:53 vbook ppp[4644]: tun0: CCP: deflink: Error: Unexpected CCP = in phase Authenticate (ignored) Nov 5 00:58:03 vbook last message repeated 3 times Nov 5 00:58:07 vbook ppp[4644]: tun0: IPCP: deflink: Error: Unexpected IPC= P in phase Authenticate (ignored) Nov 5 00:58:07 vbook ppp[4644]: tun0: CCP: deflink: Error: Unexpected CCP = in phase Authenticate (ignored) Nov 5 00:58:11 vbook ppp[4644]: tun0: CCP: deflink: Error: Unexpected CCP = in phase Authenticate (ignored) Nov 5 00:58:42 vbook ppp[4644]: tun0: Phase: deflink: HDLC errors -> FCS: = 26, ADDR: 0, COMD: 0, PROTO: 0 Nov 5 00:58:52 vbook ppp[4644]: tun0: Phase: deflink: ** Too many LQR pack= ets lost ** Nov 5 00:58:52 vbook ppp[4644]: tun0: LCP: deflink: LayerDown Nov 5 00:58:52 vbook ppp[4644]: tun0: LCP: deflink: State change Opened --= > Starting Nov 5 00:58:52 vbook ppp[4644]: tun0: LCP: deflink: LayerFinish Nov 5 00:58:52 vbook ppp[4644]: tun0: LCP: deflink: State change Starting = --> Initial Nov 5 00:58:52 vbook ppp[4644]: tun0: Phase: deflink: Disconnected! It looks like that characters are delivered not reliable way through ucom p= ort: Same on U0.2 port: Below output, just after entring AT\n three times: # cu -l /dev/cuaU0.2 can't open log file /var/log/aculog. Connected ^RSSILVL: 20 8 OK It OK I ^RSSILVL: 20 8=12=01=06=03=06em0=15X=EF=BF=BD6T OK I -------------------- Any hints will be very appriciated. > Thanks, >=20 > Nick P.S. I have also two other problems with same card, (they was with ubsa also): - after disconnecting ppp from port card is not reset, so no more any chat if start ppp again (you just need skip chat phase). - How to reset card before start ? - Disconnecting card crashes kernel, it is possible to catch that crash with DDB, but dump can't be written. Modem is on cardbus device. (probbaly will be fixed by new usb stack ?) --=20 Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1225836292.3428.37.camel>