Page 1 of 1

Vodafone ZTE Onda K3571-Z set up problems

Posted: 23 May 2011, 07:43
by graham5494
Trying to set up Vodafone USB Broadband on Mandriva 2010.1

lsusb before insertion:-

[root@localhost graham]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb after insertion :-

[root@localhost graham]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 19d2:1009 ONDA Communication S.p.A.

lsusb after eject command :-

[root@localhost graham]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0458:0003 KYE Systems Corp. (Mouse Systems) Genius NetScroll+
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 19d2:1010 ONDA Communication S.p.A.

Ok , conclusion is that device is switching to correct ID 19d2:1010 as per usb-modeswitch info.

(At this point my DVD drive became invisible to the system ?) After disconnecting the Vodafone USB and rebooting I installed Kppp leaving the Mandriva Powerpack in the DVD drive . I then went through the switching process again.

Kppp reports unable to open modem with settings ATZ , phone no *99***1# , /dev/ttyUSBO , Hardware , CR , speed 460800.

From a web page note I tried :- modprobe usbserial vendor=0x19d2 product=0x1010

Now when I query the modem Kppp finds the it ready but only blank responses result.

An extract from dmesg now :-

sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range

sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 03 66 24 00 00 02 00

end_request: I/O error, dev sr1, sector 891024

sr 2:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

sr 2:0:0:0: [sr1] Sense Key : Illegal Request [current]

Info fld=0x0

sr 2:0:0:0: [sr1] Add. Sense: Logical block address out of range

sr 2:0:0:0: [sr1] CDB: Read(10): 28 00 00 03 66 24 00 00 02 00

end_request: I/O error, dev sr1, sector 891024

usb 4-1: USB disconnect, address 3

usb 4-1: new high speed USB device using ehci_hcd and address 4

usb 4-1: New USB device found, idVendor=19d2, idProduct=1010

usb 4-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3

usb 4-1: Product: Vodafone Mobile Broadband K3571-Z

usb 4-1: Manufacturer: Vodafone (ZTE)

usb 4-1: SerialNumber: P680A8VDFD000000

usbcore: registered new interface driver usbserial

USB Serial support registered for generic

usbserial_generic 4-1:1.0: generic converter detected

usb 4-1: generic converter now attached to ttyUSB0

usbserial_generic 4-1:1.1: generic converter detected

usb 4-1: generic converter now attached to ttyUSB1

usbserial_generic 4-1:1.2: generic converter detected

usb 4-1: generic converter now attached to ttyUSB2

usbserial_generic 4-1:1.3: generic converter detected

usb 4-1: generic converter now attached to ttyUSB3

usbserial_generic 4-1:1.4: generic converter detected

usb 4-1: generic converter now attached to ttyUSB4

usbcore: registered new interface driver usbserial_generic

usbserial: USB Serial Driver core

[root@localhost graham]#


I did earlier experiment using the Mandriva Control Centre (a.k.a. The Chocolate Teapot Centre !)

Using the Network Setup – GPRS/Edge/3G – loads comgt/ppp/usb-modeswitch

It then says “No device can be found for this connection type.”

Also the Betavine route seems to need endless dependancies.

Given that my limited command line experience comes only from this problem and ancient DOS memories , can you help ? I do appreciate that you guys work hard with little reward solving these problems.

Graham 5494

Posted: 24 May 2011, 07:57
by Josh
It's not quite clear what you are trying to do - are you using the usb_modeswitch packages or did you "eject" the install medium of the modem manually ?

In usb_modeswitch, your device is supported since mid-2010 and there should be no manual interaction necessary.

Forget about "usbserial" if you have a fairly recent kernel. Use "option" instead - but then again it is all done automatically by usb_modeswitch.

If the Mandriva package of usb_modeswitch is too old, don't hesitate to use the current source packages available here. The only dependencies are "tcl" and "libusb-devel", and the packs are tested with Mandriva.


Posted: 29 May 2011, 08:10
by graham5494
Gidday all .

Not enough skill for this problem so decided to give Sakis3G a go .

Downloaded version 0.2.0e with embedded Usb-modeswitch and added extra packages:-
libusb-compat 0.1 devel
libusb1.0 devel
kppp

Essentially Sakis3G does the lot , it switches the modem and connects to Vodafone. Simply double click on the downloaded Sakis3g.gz file , to extract the Sakis3G binary . Double click on the binary and select “run” to start the shell script. Sakis3G will first request your super-user password . You are now presented with a simple menu. From this select “compile embedded usb-modeswitch” .
Then to start the connection process select “connect with 3G” You then may have to select one of two ports , in my case one worked one didn't , then to select from pre or post-paid with Vodafone . Then suddenly I was connected !
The success report to Sakis3G contains the following :-

Sakis3G version: 0.2.0e
Using embedded Usb-ModeSwitch version:
* Version 1.1.3 (C) Josua Dietze 2010
Kernel version: 2.6.33.5-desktop-2mnb
Architect: i686
Selected UI is: kdialog
Interface: P-t-P (ppp0)
Network ID: 50503
Operator name: Vodafone Australia
APN: vfprepaymbb
Modem: K3571-Z
Modem type: USB
Kernel driver: option
Device: /dev/ttyUSB3
Variables: --interactive --pppd APN="vfprepaymbb" USBINTERFACE="3" USBDRIVER="option" MODEM="19d2:1010 19d2:1010" DISPLAY=":0" LOCALAUTHORITY="/tmp/xauth.XXXXaQ7dfe"

I have found that Sakis3G does not always work . Sometimes it appears connected , but Firefox cannot find server.
In spite of this it is great to be not dependant on “Windoze !”
I hope this helps someone else similarly technically deficient like myself !

graham5494