Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
Farouk Sabry
Posts: 1
Joined: 13 Dec 2015, 19:37

ZTE WCDMA usb modem

Post by Farouk Sabry » 13 Dec 2015, 19:59

Hello,

I'm trying to install my USB modem on Ubuntu 14.04, I followed the instructions in http://www.draisberghof.de/usb_modeswitch/ and then i tried to install the USB modem via the Shell Script file but I got the same error:
" This software will not run until you install 'QT3 Runtime Library' ", I then in the file /etc/usb_modeswitch.conf , I did EnableLogging=1 and here is the result:

Code: Select all

cat /var/log/usb_modeswitch_1-4

USB_ModeSwitch log from Sun Dec 13 17:14:03 EET 2015

Use global config file: /etc/usb_modeswitch.conf

Started via upstart
Raw args from udev: /1-4

Use top device dir /sys/bus/usb/devices/1-4
Check class of first interface ...
 Interface 0 class is 08.

----------------
USB values from sysfs:
  manufacturer	ZTE,Incorporated
  product	ZTE WCDMA Technologies MSM
  serial	MF1900ZTED010000
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
ConfigList: /usr/share/usb_modeswitch/19d2:0154 /usr/share/usb_modeswitch/19d2:#linux pack/19d2:0154 pack/
SCSI attributes not needed, move on
Check config: /usr/share/usb_modeswitch/19d2:0154
! matched. Read config data
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1

Unbinding driver
Command to be run:
usb_modeswitch -W -D -u -1 -b 1 -g 7 -v 19d2 -p 0154 -f $flags(config)

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------

Read long config from command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.2.5 (C) Josua Dietze 2015
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x19d2
DefaultProduct= 0x0154
TargetVendor=   0x19d2
TargetProductList="0017,0117,2003"

StandardEject=1
NeedResponse=0
System integration mode enabled

Use given bus/device number: 001/007 ...
Look for default devices ...
 bus/device number matched
  found USB ID 19d2:0154
   vendor ID matched
   product ID matched
 Found devices in default mode (1)
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
     Product: ZTE WCDMA Technologies MSM
  Serial No.: MF1900ZTED010000
-------------------------
Sending standard EJECT sequence
Looking for active driver ...
 No active driver found. Detached before or never attached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x01 ...
 OK, message successfully sent
Read the response to message 2 (CSW) ...
 Response successfully read (13 bytes).
Reset response endpoint 0x81
Reset message endpoint 0x01
ok:busdev
--------------------------------
(end of usb_modeswitch output)

Check success of mode switch for max. 20 seconds ...
 Wait for device file system (1 sec.) ...
 Read attributes ...
 All attributes matched
Mode switching was successful, found 19d2:0117 (ZTE,Incorporated: ZTE WCDMA Technologies MSM)
Logger is /usr/bin/logger
Now check for bound driver ...
 driver has bound, device is known
Check for AVOID_RESET_QUIRK kernel attribute
 AVOID_RESET_QUIRK activated

All done, exit


Does that mean the device is supported ? Also, does that mean that USB_ModeSwitch has been installed successfully ? And how can I solve the problem to install the USB Modem ?

Edit: The USB Modem is ID 19d2:0117 ZTE WCDMA

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: ZTE WCDMA usb modem

Post by LOM » 14 Dec 2015, 03:21

Farouk Sabry wrote:
Edit: The USB Modem is ID 19d2:0117 ZTE WCDMA
Yes and before switching it was 19d2:0154.
This means that mode switching was succesful and whatever other problems you have is not related to usb_modeswitch which is only a tool for switching mode and not a connection manager.

Post Reply