3G modem detection on i.MX53QSB

cancel
Showing results for 
Search instead for 
Did you mean: 

3G modem detection on i.MX53QSB

579 Views
Xavier
Contributor III

Hi,

I have two 3G modem (HUAWEI E160E and ZTE K3565). When I connect HUAWEI 3G modem on the i.MX53QSB with ANDROID, the dongle is correctly mounted by Linux :

usb 1-1.2: new high speed USB device using fsl-ehci and address 11

usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1003

usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0

usb 1-1.2: Product: HUAWEI Mobile

usb 1-1.2: Manufacturer: HUAWEI Technology

option 1-1.2:1.0: GSM modem (1-port) converter detected

usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0

option 1-1.2:1.1: GSM modem (1-port) converter detected

usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1

scsi9 : usb-storage 1-1.2:1.2

scsi10 : usb-storage 1-1.2:1.3

scsi 9:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

scsi 10:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2

sd 10:0:0:0: [sda] Attached SCSI removable disk

ANDROID discovers with "telephony registry" the operator, and creates a PPP connection. And then I can access to the web with a 3G connection.


With the ZTE 3G modem, it doesn't work. When I connect the modem to i.MX53QSB, it is partially discovered :

usb 1-1.2: new high speed USB device using fsl-ehci and address 13

usb 1-1.2: New USB device found, idVendor=19d2, idProduct=2000

usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0

usb 1-1.2: Product: ZTE CDMA Technologies MSM

usb 1-1.2: Manufacturer: ZTE, Incorporated

scsi11 : usb-storage 1-1.2:1.0

scsi 11:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 0

ANDROID doesn't discover the operator and doesn't create a PPP connection.

Any idea?

Xavier




Labels (2)
Tags (1)
0 Kudos
3 Replies

46 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Xavier,

     Please try to add ZTE modem to usb serial :

Open myandroid/kernel_imx/drivers/usb/serial/option.c, add it on first line :

static const struct usb_device_id option_ids[] = {

{ USB_DEVICE(0x19d2, 0x2000) },/* ZTE CDMA*/

...

}

Then recompile linux kernel.

Regards,

Weidong

46 Views
Xavier
Contributor III

Hello Weidong,

I did what you suggested. But it is not OK.

I think the dongle is not recognized as a modem but just like a mass storage.

There is no detection for ttyUSBx.

So, the "telephony registry" can't detect automatically the dongle. Is that all 3G modems are recognized by ANDROID?

Regards,

Xavier

0 Kudos

46 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Xavier,

     As long as 3G's VID and PID are supported by USB serial,  and select GSM modem in usb driver, the 3G  can be emulated and virtualize some ttys.

     you can check you kenel selection again. I thinks 3G mode from HuaWei is OK, ZTE should not have problem.

Regards,

Weidong