Date: Fri, 7 Aug 2009 10:42:37 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-usb@freebsd.org Subject: Re: HSDPA USB Modem MF626 Message-ID: <200908071042.38581.hselasky@c2i.net> In-Reply-To: <2B0D312478C8478486196C5FF04FE2DA@worklab> References: <2B0D312478C8478486196C5FF04FE2DA@worklab>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 07 August 2009 04:15:20 Wesley Miranda wrote: > Hi all, > > Connect HSDPA 3G MF626 is FreeBSD8-CURRENT > > gw# kldstat > Id Refs Address Size Name > 1 13 0xc0400000 d72ad8 kernel > 2 1 0xc1173000 4658 u3g.ko > 3 1 0xc1178000 b9b0 umass.ko > 4 1 0xc1184000 4bf4 umodem.ko > > 1º run > /usr/sbin/usb_modeswitch -d 1 -v 0×19d2 -p 0×2000 -V 0×19d2 -P 0×0031 > > Received inquiry data (detailed identification) > ------------------------- > Vendor String: HSPA > Product String: USB SCSI CD-ROM > Revision String: 2.31 > ------------------------- > Device description data (identification) > ------------------------- > Manufacturer: ZTE, Incorporated > Product: ZTE CDMA Technologies MSM > Serial No.: not provided > ------------------------- > Setting up communication with interface 0 ... > Trying to send the message to endpoint 0x01 ... > OK, message successfully sent > -> Run lsusb to note any changes. Bye. > > ----- > 2º dmesg > > ugen2.2: <ZTE, Incorporated> at usbus2 (disconnected) > umass0: at uhub2, port 1, addr 2 (disconnected) > rl0: link state changed to UP > rl1: link state changed to UP > ugen2.2: <ZTE, Incorporated> at usbus2 > umass0: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev > 2.00/0.00, addr 2> on usbus2 umass0: 8070i (ATAPI) over Bulk-Only; quirks > = 0x0000 > umass0:0:0:-1: Attached to scbus0 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 > (probe0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred > (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (probe0:umass-sim0:0:0:0): Medium not present > (probe0:umass-sim0:0:0:0): Unretryable error > cd0 at umass-sim0 bus 0 target 0 lun 0 > cd0: <HSPA USB SCSI CD-ROM 2.31> Removable CD-ROM SCSI-0 device > cd0: 40.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > ugen2.2: <ZTE, Incorporated> at usbus2 (disconnected) > umass0: at uhub2, port 1, addr 2 (disconnected) > (cd0:umass-sim0:0:0:0): lost device > (cd0:umass-sim0:0:0:0): removing device entry > ugen2.2: <ZTE, Incorporated> at usbus2 > u3g0: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev > 2.00/0.00, addr 2> on usbus2 u3g0: Found 3 ports. > umass0: <ZTE, Incorporated ZTE CDMA Technologies MSM, class 0/0, rev > 2.00/0.00, addr 2> on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:0:0:-1: Attached to scbus0 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (probe0:umass-sim0:0:0:0): Medium not present > (probe0:umass-sim0:0:0:0): Unretryable error > da1 at umass-sim0 bus 0 target 0 lun 0 > da1: <ZTE MMC Storage 2.31> Removable Direct Access SCSI-2 device > da1: 40.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > --- > gw# usbconfig -u 2 -a 2 dump_device_desc > ugen2.2: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus2, cfg=0 > md=HOST spd=HIGH (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = 0x19d2 > idProduct = 0x0031 > bcdDevice = 0x0000 > iManufacturer = 0x0002 <ZTE, Incorporated> > iProduct = 0x0001 <ZTE CDMA Technologies MSM> > iSerialNumber = 0x0003 <1234567890ABCDEF> > bNumConfigurations = 0x0001 > > ---- > 3° run ppp -ddial vivo > result > > Aug 6 21:40:25 gw ppp[1131]: Phase: Using interface: tun0 > Aug 6 21:40:25 gw ppp[1131]: Phase: deflink: Created in closed state > Aug 6 21:40:25 gw ppp[1131]: tun0: Command: default: set device > /dev/cuaU0.0 Aug 6 21:40:25 gw ppp[1131]: tun0: Phase: PPP Started > (interactive mode). Aug 6 21:40:28 gw ppp[1131]: tun0: Command: > /dev/pts/0: dial vivo Aug 6 21:40:28 gw ppp[1131]: tun0: Command: vivo: > set phone *99# > Aug 6 21:40:28 gw ppp[1131]: tun0: Command: vivo: set authname vivo > Aug 6 21:40:28 gw ppp[1131]: tun0: Command: vivo: set authkey ******** > Aug 6 21:40:28 gw ppp[1131]: tun0: Phase: bundle: Establish > Aug 6 21:40:28 gw ppp[1131]: tun0: Phase: deflink: closed -> opening > Aug 6 21:40:28 gw ppp[1131]: tun0: Phase: deflink: Connected! > Aug 6 21:40:28 gw ppp[1131]: tun0: Phase: deflink: opening -> dial > Aug 6 21:40:28 gw ppp[1131]: tun0: Chat: deflink: Dial attempt 1 of 1 > Aug 6 21:40:28 gw ppp[1131]: tun0: Phase: deflink: dial -> carrier > Aug 6 21:40:29 gw ppp[1131]: tun0: Phase: deflink: /dev/cuaU0.0 doesn't > support CD Aug 6 21:40:29 gw ppp[1131]: tun0: Phase: deflink: carrier -> > login Aug 6 21:40:29 gw ppp[1131]: tun0: Phase: deflink: login -> lcp > Aug 6 21:40:33 gw ppp[1131]: tun0: Phase: Unknown protocol 0x0013 > (reserved (transparency inefficient)) Aug 6 21:40:45 gw last message > repeated 19312 times > Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: deflink: Disconnected! > Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: deflink: lcp -> logout > Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: deflink: logout -> hangup > Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: deflink: Disconnected! > Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: deflink: Connect time: 17 secs: > 386280 octets in, 907991 octets out Aug 6 21:40:45 gw ppp[1131]: tun0: > Phase: deflink: 8767 packets in, 19318 packets out Aug 6 21:40:45 gw > ppp[1131]: tun0: Phase: total 76133 bytes/sec, peak 133153 bytes/sec on > Thu Aug 6 21:40:45 2009 Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: > deflink: hangup -> closed Aug 6 21:40:45 gw ppp[1131]: tun0: Phase: > bundle: Dead > > tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 > Opened by PID 977 > > no ip network :( > > modified as described for MF626 and does not work > http://www.mail-archive.com/freebsd-usb@freebsd.org/msg04956.html diff. > > has solution for this problem? Hi, Try to add this to ppp.conf: disable pred1 deflate deflate24 protocomp acfcomp shortseq vj mppe enable dns --HPS > Thanks all > ----- > Wesley Miranda > FreeBSD Consult > www.freebsdconsult.com.br > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908071042.38581.hselasky>
