This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

3G modem support in android

Dear Sir/Mam, i have struck out with the problem.....Pls try to help  me out from here....

Am using AM33x and i am trying 3gusb modem on android :

Check list :

i followed the ti-ics porting guide and i  checked 

1.the kernel configuration is done...

2.file system changes 

3.Mode switch succeed as

[ 49.892272] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 50.034149] usb 1-1: New USB device found, idVendor=12d1, idProduct=1436
[ 50.041168] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 50.048614] usb 1-1: Product: HUAWEI Mobile
[ 50.053009] usb 1-1: Manufacturer: HUAWEI Technology
[ 50.064086] option 1-1:1.0: GSM modem (1-port) converter detected
[ 50.070983] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 50.083801] cdc_ether 1-1:1.1: wwan0: register 'cdc_ether' at usb-musb-hdrc.0
[ 50.099731] option 1-1:1.3: GSM modem (1-port) converter detected
[ 50.106597] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 50.115081] option 1-1:1.4: GSM modem (1-port) converter detected
[ 50.121826] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2

when i type the below command

/system/bin/pppd /dev/ttyUSB0 115200 persist defaultroute usepeerdns updetach crtscts noauth debug connect "/system/xbin/chat -v -s -f /system/etc/ppp/airtel.chat"

it throws me like this

timeout set to 10 seconds
abort on (BUSY)
abort on (NOANSWER)
abort on (ERROR)
StartingGPRSconnectscript
send (ATZ^M)
SettingAPN
expect (OK)
^M
OK
-- got it

send (AT+CGDCONT=1,"IP","airtelgprs.com"^M)
abort on (NOCARRIER)
Dialing...
expect (OK)
^M
AT+CGDCONT=1,"IP","airtelgprs.com"^M^M
OK
-- got it

send (ATD*99***1#^M)
expect (CONNECT'')
^M
ATD*99***1#^M^M
NO CARRIER^M
^M
^BOOT:1141512,0,0,0,20^M
alarm
Failed

my airtel.chat is like this:

TIMEOUT 10
ABORT 'BUSY'
ABORT 'NOANSWER'
ABORT 'ERROR'
SAY 'StartingGPRSconnectscript\n'
""'ATZ'
SAY 'SettingAPN\n'
OK 'AT+CGDCONT=1,"IP","airtelgprs.com"'
ABORT 'NOCARRIER'
SAY 'Dialing...\n'
OK 'ATD*99***1#'
CONNECT''



  • I have never used such modem but looking at AT commands I suspect problem with modem/GSM network. Not Android issue to me. I would try to use modem from PC with same settings and see what happens.

    Regards,
    Maciej 

  • Hello MaciejKucia,

    Thanks for your suggestion,please let me know whats the result for it.....and tell me where i should proceed further because am new to this concept.

    usb 3g modem am using is Huawei e173......

    i placed my file in the following directory:

    system ->xbin->usb_modeswitch-1.1.9-arm-static.bz2(exe-file)

    system->xbin->usb_modeswitch.conf

    system->xbin->chat(exe-file)

    system->etc->ppp->airtel.chat(script file)....

    Finally, what is primary and secondary dns server IPs?