Hello,
i have a problem con dongle usb3g ZTE MF-190 [19d2:0124], this problem is not ask by PIN code, althoug usb_modeswitch recognize dongle.
Copy all information when connect dongle to the system.
================================================
root@mydesktop:/var/log# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0424:2228 Standard Microsystems Corp. 9-in-2 Card Reader
Bus 002 Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 19d2:0124 ZTE WCDMA Technologies MSM
================================================
Messages in /var/log/messages when connect dongle usb
Aug 31 19:17:43 mydesktop kernel: [ 3855.840055] usb 1-4: new high-speed USB device number 9 using ehci_hcd
Aug 31 19:17:43 mydesktop kernel: [ 3855.975649] usb 1-4: New USB device found, idVendor=19d2, idProduct=0149
Aug 31 19:17:43 mydesktop kernel: [ 3855.975656] usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Aug 31 19:17:43 mydesktop kernel: [ 3855.975660] usb 1-4: Product: ZTE WCDMA Technologies MSM
Aug 31 19:17:43 mydesktop kernel: [ 3855.975664] usb 1-4: Manufacturer: ZTE,Incorporated
Aug 31 19:17:43 mydesktop kernel: [ 3855.975667] usb 1-4: SerialNumber: P671A2TMED010000
Aug 31 19:17:43 mydesktop kernel: [ 3855.978102] scsi11 : usb-storage 1-4:1.0
Aug 31 19:17:43 mydesktop mtp-probe: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-4"
Aug 31 19:17:43 mydesktop mtp-probe: bus: 1, device: 9 was not an MTP device
Aug 31 19:17:44 mydesktop usb_modeswitch: switching device 19d2:0149 on 001/009
Aug 31 19:17:45 mydesktop kernel: [ 3857.741821] usb 1-4: USB disconnect, device number 9
Aug 31 19:17:50 mydesktop kernel: [ 3862.852038] usb 1-4: new high-speed USB device number 10 using ehci_hcd
Aug 31 19:17:50 mydesktop kernel: [ 3862.987899] usb 1-4: New USB device found, idVendor=19d2, idProduct=0124
Aug 31 19:17:50 mydesktop kernel: [ 3862.987905] usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Aug 31 19:17:50 mydesktop kernel: [ 3862.987910] usb 1-4: Product: ZTE WCDMA Technologies MSM
Aug 31 19:17:50 mydesktop kernel: [ 3862.987913] usb 1-4: Manufacturer: ZTE,Incorporated
Aug 31 19:17:50 mydesktop kernel: [ 3862.987917] usb 1-4: SerialNumber: P671A2TMED010000
Aug 31 19:17:50 mydesktop kernel: [ 3862.991245] option 1-4:1.0: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.991339] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB0
Aug 31 19:17:50 mydesktop kernel: [ 3862.991415] option 1-4:1.1: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.991482] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB1
Aug 31 19:17:50 mydesktop kernel: [ 3862.991555] option 1-4:1.2: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.991616] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB2
Aug 31 19:17:50 mydesktop kernel: [ 3862.991687] option 1-4:1.3: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.991756] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB3
Aug 31 19:17:50 mydesktop kernel: [ 3862.991828] option 1-4:1.4: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.991903] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB4
Aug 31 19:17:50 mydesktop kernel: [ 3862.991986] option 1-4:1.5: GSM modem (1-port) converter detected
Aug 31 19:17:50 mydesktop kernel: [ 3862.992098] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB5
Aug 31 19:17:50 mydesktop kernel: [ 3862.992535] scsi12 : usb-storage 1-4:1.6
Aug 31 19:17:50 mydesktop mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-4"
Aug 31 19:17:50 mydesktop mtp-probe: bus: 1, device: 10 was not an MTP device
Aug 31 19:17:51 mydesktop logger: usb_modeswitch: switched to 19d2:0124 on 001/010
Aug 31 19:17:51 mydesktop kernel: [ 3863.995291] scsi 12:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
Aug 31 19:17:51 mydesktop kernel: [ 3863.996171] sd 12:0:0:0: Attached scsi generic sg5 type 0
Aug 31 19:17:51 mydesktop kernel: [ 3863.998169] sd 12:0:0:0: [sde] Attached SCSI removable disk
================================================
root@mydesktop:/var/log# cat usb_modeswitch_1-4\:1.0
USB_ModeSwitch log from Sat Aug 31 19:17:43 CEST 2013
Raw args from udev: /1-4:1.0
Using global config file: /etc/usb_modeswitch.conf
Using top device dir /sys/bus/usb/devices/1-4
----------------
USB values from sysfs:
manufacturer ZTE,Incorporated
product ZTE WCDMA Technologies MSM
serial P671A2TMED010000
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
SCSI attributes not needed, moving on
checking config: /usr/share/usb_modeswitch/19d2:0149
! matched. Reading config data
config: TargetVendor set to 19d2
config: TargetProduct set to 0124
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 9 -v 19d2 -p 0149 -f $configBuffer
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.3 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0x0149
TargetVendor= 0x19d2
TargetProduct= 0x0124
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061e000000000000000000000000000000"
MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"
MessageContent3="55534243123456702000000080000c85010101180101010101000000000000"
NeedResponse=1
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/009 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 19d2:0149
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE WCDMA Technologies MSM
Serial No.: P671A2TMED010000
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reading the response to message 1 (CSW) ...
OK, response successfully read (13 bytes).
Trying to send message 2 to endpoint 0x01 ...
OK, message successfully sent
Reading the response to message 2 (CSW) ...
OK, response successfully read (13 bytes).
Trying to send message 3 to endpoint 0x01 ...
OK, message successfully sent
Reading the response to message 3 (CSW) ...
OK, response successfully read (0 bytes).
Resetting response endpoint 0x81
Resetting message endpoint 0x01
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Waiting for device file system (2 sec.) ...
Waiting for device file system (3 sec.) ...
Waiting for device file system (4 sec.) ...
Waiting for device file system (5 sec.) ...
Waiting for device file system (6 sec.) ...
Reading attributes ...
All attributes matched
Mode switching was successful, found 19d2:0124 (ZTE,Incorporated: ZTE WCDMA Technologies MSM)
Logger is /usr/bin/logger
Now checking for bound driver ...
driver has bound, device is known
Checking for AVOID_RESET_QUIRK kernel attribute
AVOID_RESET_QUIRK activated
All done, exiting
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB0
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/ttyUSB0/tty/ttyUSB0
My name is ttyUSB0
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0
checking ep_81 ...
checking ep_01 ...
--> I am not an interrupt port
Return empty name and exit
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB1
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1/ttyUSB1/tty/ttyUSB1
My name is ttyUSB1
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1
checking ep_82 ...
checking ep_02 ...
--> I am not an interrupt port
Return empty name and exit
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB2
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.2/ttyUSB2/tty/ttyUSB2
My name is ttyUSB2
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.2
checking ep_83 ...
checking ep_03 ...
--> I am not an interrupt port
Return empty name and exit
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB3
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.3/ttyUSB3/tty/ttyUSB3
My name is ttyUSB3
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.3
checking ep_84 ...
checking ep_04 ...
--> I am not an interrupt port
Return empty name and exit
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB4
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.4/ttyUSB4/tty/ttyUSB4
My name is ttyUSB4
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.4
checking ep_85 ...
ep_85 has interrupt transfer type
--> I am an interrupt port
Looking for lower ports with interrupt endpoints
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0 ...
checking ep_81 ...
checking ep_01 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1 ...
checking ep_82 ...
checking ep_02 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.2 ...
checking ep_83 ...
checking ep_03 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.3 ...
checking ep_84 ...
checking ep_04 ...
--> No interrupt interface below me
Return symlink name "gsmmodem" and exit
root@mydesktop:/var/log# cat usb_modeswitch_ttyUSB5
USB_ModeSwitch log from Sat Aug 31 19:17:51 CEST 2013
usb_modeswitch called with --symlink-name
parameter: /devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.5/ttyUSB5/tty/ttyUSB5
My name is ttyUSB5
Checking my endpoints ...
in /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.5
checking ep_87 ...
ep_87 has interrupt transfer type
--> I am an interrupt port
Looking for lower ports with interrupt endpoints
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0 ...
checking ep_81 ...
checking ep_01 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.1 ...
checking ep_82 ...
checking ep_02 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.2 ...
checking ep_83 ...
checking ep_03 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.3 ...
checking ep_84 ...
checking ep_04 ...
in ifDir /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.4 ...
checking ep_85 ...
ep_85 has interrupt transfer type
--> found an interrupt interface below me
Return empty name and exit
================================================
root@mydesktop:/var/log# ls -al /dev/gsmmodem
lrwxrwxrwx 1 root root 7 ago 31 19:17 /dev/gsmmodem -> ttyUSB4
================================================
root@mydesktop:/var/log# nm-tool
NetworkManager Tool
State: connected (global)
- Device: ttyUSB2 --------------------------------------------------------------
Type: Mobile Broadband (GSM)
Driver: option1
State: disconnected
Default: no
Capabilities:
================================================
Software Version
root@mydesktop:/var/log# uname -a
Linux mydesktop 3.2.0-2-amd64 #1 SMP Mon May 21 17:45:41 UTC 2012 x86_64 GNU/Linux
root@mydesktop:/var/log# cat /etc/issue
Debian GNU/Linux 7 \n \l
root@mydesktop:/var/log# dpkg-query --list | grep -i usb
ii libgusb2 0.1.3-5 amd64 GLib wrapper around libusb1
ii libusb-0.1-4:amd64 2:0.1.12-20+nmu1 amd64 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.11-1 amd64 userspace USB programming library
ii libusbmuxd1 1.0.7-2 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library
ii usb-modeswitch 1.2.3+repack0-1 amd64 mode switching tool for controlling "flip flop" USB devices
ii usb-modeswitch-data 20120815-2 all mode switching data for usb-modeswitch
ii usbmuxd 1.0.7-2 amd64 USB multiplexor daemon for iPhone and iPod Touch devices
ii usbutils 1:005-3 amd64 Linux USB utilities
ii xserver-xorg-video-sisusb 1:0.9.4-3 amd64 X.Org X server -- SiS USB display driver
Re: ZTE MF-190 [19d2:0124]
Other information
root@mydesktop:/etc# nmcli nm
EJECUTANDO ESTADO HARDWARE-WIFI WIFI HARDWARE-WWAN WWAN
ejecutando conectado activado desactivado activado desactivado
root@mydesktop:/etc# nmcli dev
DISPOSITIVO TIPO ESTADO
ttyUSB2 gsm desconectado
eth0 802-3-ethernet conectado
wlan0 802-11-wireless no disponible
root@mydesktop:/etc# nmcli nm
EJECUTANDO ESTADO HARDWARE-WIFI WIFI HARDWARE-WWAN WWAN
ejecutando conectado activado desactivado activado desactivado
root@mydesktop:/etc# nmcli dev
DISPOSITIVO TIPO ESTADO
ttyUSB2 gsm desconectado
eth0 802-3-ethernet conectado
wlan0 802-11-wireless no disponible
Re: ZTE MF-190 [19d2:0124]
I'm sorry but I don't understand what your problem is.alidhaey wrote:this problem is not ask by PIN code, althoug usb_modeswitch recognize dongle.
Re: ZTE MF-190 [19d2:0124]
Correct, ttyUSB4 is the modem devicealidhaey wrote:
================================================
root@mydesktop:/var/log# ls -al /dev/gsmmodem
lrwxrwxrwx 1 root root 7 ago 31 19:17 /dev/gsmmodem -> ttyUSB4
================================================
NetworkManager uses ttyUSB2 , that is wrong device!alidhaey wrote:
root@mydesktop:/var/log# nm-tool
NetworkManager Tool
State: connected (global)
- Device: ttyUSB2 --------------------------------------------------------------
Type: Mobile Broadband (GSM)
Driver: option1
State: disconnected
Default: no
Capabilities:
================================================
Your problem will probably be solved by updating NetworkManager or by specifying the modem device manually in the nm config.
Even better would be to update your whole linux distro and if that doesn't help then report the problem to the distro maintainer.