Activation Codes and Methods, Hardware Details, Sniffing
month23
Posts: 10
Joined: 26 Jun 2009, 04:18

ZTE MF100 19D2:2000 to 19d2:0031

Post by month23 » 24 Dec 2009, 12:17

I already switch from 19d2:2000 to 19d2:0031 on Asubs WL-500GP

but status log show unrecognized /dev/usb/tts0.

My Aircard has sd card slot. How I can do next step.

Thank you.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 24 Dec 2009, 21:11

What does the "dmesg" output say after you plug in and switch ?

month23
Posts: 10
Joined: 26 Jun 2009, 04:18

status log on WL-500GP

Post by month23 » 27 Dec 2009, 05:12

I already switch to modem mode by hyperterminal and this log on WL-500GP

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=b8003000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2502 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=19d2 ProdID=0031 Rev= 0.00
S: Manufacturer=ZTE,Incorporated
S: Product=ZTE WCDMA Technologies MSM
S: SerialNumber=P671A1AISD010000
C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 64 Ivl=5ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Josh wrote:What does the "dmesg" output say after you plug in and switch ?

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 27 Dec 2009, 09:43

As I said, please post the output of "dmesg".

month23
Posts: 10
Joined: 26 Jun 2009, 04:18

dmesg

Post by month23 » 27 Dec 2009, 10:27

Josh wrote:As I said, please post the output of "dmesg".
ort 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:03.0-1.1, assigned address 3
usb.c: kmalloc IF 81a144a0, numif 4
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=4
usb.c: USB device number 3 default language ID 0x409
Manufacturer: ZTE,Incorporated
Product: ZTE WCDMA Technologies MSM
SerialNumber: P671A1AISD010000
usb.c: unhandled interfaces on device
usb.c: USB device 3 (vend/prod 0x19d2/0x31) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 2.00
Vendor:Product = 19d2:0031
MaxPacketSize0 = 64
NumConfigurations = 1
Device version = 0.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 006c
bNumInterfaces = 04
bConfigurationValue = 01
iConfiguration = 01
bmAttributes = e0
MaxPower = 500mA

Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = ff:ff:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20

Interface: 1
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 01
bAlternateSetting = 00
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = ff:ff:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 02 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20

Interface: 2
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 02
bAlternateSetting = 00
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 08:06:50
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 03 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 83 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00

Interface: 3
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 03
bAlternateSetting = 00
bNumEndpoints = 03
bInterface Class:SubClass:Protocol = ff:ff:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 84 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0040
bInterval = 05
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 85 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 04 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 20
usb.c: kusbd: /sbin/hotplug add 3
usb.c: kusbd: /sbin/hotplug add 3
usb.c: kusbd: /sbin/hotplug add 3
usb.c: kusbd: /sbin/hotplug add 3
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: ZTE Model: USB SCSI CD-ROM Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
Vendor: ZTE Model: MMC Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 1
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
Partition check:
/dev/scsi/host0/bus0/target0/lun1: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: usb-storage driver claimed interface 81a144d0
USB Mass Storage support registered.
usb.c: registered new driver acm
acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters (patched)
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Modem
modem.c: GSM/CDMA modem driver v0.1
usbserial.c: USB Serial support registered for PL-2303
pl2303.c: Prolific PL2303 USB to serial adaptor driver
usbserial.c: USB Serial support registered for FTDI SIO
usbserial.c: USB Serial support registered for FTDI 8U232AM Compatible
usbserial.c: USB Serial support registered for FTDI FT232BM Compatible
usbserial.c: USB Serial support registered for FTDI FT2232C Compatible
usbserial.c: USB Serial support registered for FTDI FT232R Compatible
usbserial.c: USB Serial support registered for USB-UIRT Infrared Tranceiver
usbserial.c: USB Serial support registered for Home-Electronics TIRA-1 IR Transc eiver
ftdi_sio.c: v1.3.5r1:USB FTDI Serial Converters Driver
Device not ready. Make sure there is a disc in the drive.
VFS: Disk change detected on device 08:00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
/dev/scsi/host0/bus0/target0/lun1: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
Device not ready. Make sure there is a disc in the drive.
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
/dev/scsi/host0/bus0/target0/lun1: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 30 Dec 2009, 17:17

Did you load "usbserial" or "cdc_acm"? Are there parameters for the modem in /etc/modprobe.conf or /etc/modprobe.d ?

Anyway, the device has obviously switched all right.

Now try this:

Code: Select all

# modprobe -r -v usbserial
# modprobe -r -v cdc_acm
# modprobe -v option
# echo "19d2 0031" >/sys/bus/usb-serial/drivers/option1/new_id
Then check "dmesg" again.

Astronomik
Posts: 7
Joined: 07 Jan 2010, 14:06
Contact:

Post by Astronomik » 07 Jan 2010, 14:37

Josh, thanks, It help me to, but it's a problem of all debian-like systems. Modules usbserial & cdc_acm load by default, but without

Code: Select all

# modprobe -v option 
# echo "19d2 0031" >/sys/bus/usb-serial/drivers/option1/new_id
modem doesn't start

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 07 Jan 2010, 15:33

Astronomik:
Not just a Debian problem. It affects most distributions.

As I said on several occasions, support for mode switching and for modem driver binding has lots of holes when it comes to the big distributions.

If you want, try the latest version and do a "make install_integrated" (save your edited version of /etc/usb_modeswitch.conf first!).

The "option" lines that you're using are included in the automatic wrapper mechanism. I'd really like to know if it works on your system.

Afterwards, you can optionally do a "make uninstall_integrated" to remove everything without a trace.


Astronomik
Posts: 7
Joined: 07 Jan 2010, 14:06
Contact:

Post by Astronomik » 25 Jan 2010, 10:34

Josh: the automatic wrapper mechanism doesn't work. Today i've install new version of usb_modeswitch, but it doesn't help. I wrote a simple script to do all these steps by manually to start modem.
P.S. If I can do anything to help - please write.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 25 Jan 2010, 21:37

OK, please tell me about your system (distribution) and your device.

For a first diagnosis enable the logging in the wrapper; see Troubleshooting on the doc page.

Astronomik
Posts: 7
Joined: 07 Jan 2010, 14:06
Contact:

Post by Astronomik » 27 Jan 2010, 14:33

uname -a
Linux lexa 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64 GNU/Linux
Debian 5.0.3
Modem ZTE MF100

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 27 Jan 2010, 20:05

OK. I have tested on Debian Lenny and it ran well, so let's check if something is missing on your system.

Do you have "tcl" installed? Then you should get at least a log in /var/log if you turned on logging as advised in my previous post.

Astronomik
Posts: 7
Joined: 07 Jan 2010, 14:06
Contact:

Post by Astronomik » 15 Feb 2010, 14:45

Sorry for delay... Tcl is installed, and I can't find any logs.
Some over information:

lexa:/lib/udev# usb_modeswitch

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 011 on bus 004 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached

SCSI inquiry data (for identification)
-------------------------
Vendor String: ZTE
Model String: USB SCSI CD-ROM
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: ZTE,Incorporated
Product: ZTE WCDMA Technologies MSM
Serial No.: P671A1ZTED010000
-------------------------
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.

lexa:/lib/udev#ls /dev - no ttyUSB device.

lexa:/lib/udev# lsusb
Bus 004 Device 013: ID 19d2:0053 ONDA Communication S.p.A.
Bus 004 Device 003: ID 03f0:4105 Hewlett-Packard ScanJet 4370
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 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 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lexa:/lib/udev# eject /dev/sr0
lexa:/lib/udev# usb_modeswitch

Looking for target devices ...
Found devices in target mode or class (1)
Looking for default devices ...
No default device found. Is it connected? Bye.

Astronomik
Posts: 7
Joined: 07 Jan 2010, 14:06
Contact:

Post by Astronomik » 15 Feb 2010, 15:09

And now I find Huawei 1552. It stat work without any problems...

lexa:/etc# usb_modeswitch

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 016 on bus 004 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
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.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 16 Feb 2010, 00:14

Are there any messages from usb_modeswitch in /var/log/syslog or /var/log/messages after you plug the devices ?

Post Reply