i am working in i.mx535qsb board, how do i connect the 3g datacard on the board, Is there any driver i need to install, if it so can any one share me how?
From the linux booting log and the flowing messages, we can know 3G module driver has been normally worked.usb 1-1.3: new high speed USB device using fsl-ehci and address 6option 1-1.3:1.0: GSM modem (1-port) converter detectedusb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0option 1-1.3:1.1: GSM modem (1-port) converter detectedusb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1 USB on 3G Module has been vitualized two ttys : ttyUSB0 and tty USB1. Next step ,you will do some works in android system level. <I want to know , On your dongle, Is there SIM connector and SIM card now ?>(1)Modifying init.rc to start RIL service for your special 3G module(maybe like the following).service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyUSB1 -u /dev/ttyUSB0 socket rild stream 660 root radio socket rild-debug stream 660 radio system socket rild-ppp stream 660 radio system user root group radio cache inet misc audio
on property:ril.reset.rild=1 stop ril-daemon start ril-daemon setprop ril.reset.rild 0
service pppd_gprs /system/etc/init.gprs-pppd user root group radio cache inet misc disabled oneshot<Note,I can't confirm ttyUSB1 and ttyUSB0 ,which one is used to send AT command,which one is for pppoe, see it's user's guide or corresponding document, if the above lines can't start severvice,exchange ttyUSB1 and ttyUSB0>(2)Copy libreference-ril.so to /system/lib/libreference-ril.so,this file should be from Huawei.(3)copy init.gprs-pppd to /system/ect/init.gprs-pppdinit.gprs-pppd,this flle is a script ,also should be from Huawei.Between WCDMA and CDMA, this script is different.
Normally, Porting 3G to i.MX platform , we should take the following steps:
Connecting 3G Module to USB HOST port of i.MX53.
Most of 3G modules maybe use one of the two drivers:
*USB driver for GSM and CDMA modems
*USB Modem (CDC ACM) support
these 2 drivers are supported by linux kernel. you can check them in "device drivers--->USB support...."
(3)Changing some source code in android system.
you can refer to 3G document supplied by manufature to modify some code of android RIL. such as your 3G type (WCDMA or CDMA)
(4)Replacing orignal RIL lib with the RIL lib for you 3G or copy it to /system/lib/
(5)Add lines for starting RIL service in init.rc or init.freescale.rc
On how to start service, you also need to get them from manufacture.
(6)Script of WCDMA or CDMA
For WCDMA or CDMA, PPPOE scrript is different, So you should get correct one from manufacture.
I tried to connect a 3G USB dongle on i.MX53 QSB. It seems recognized by Linux and ANDROID. The SIM card is locked, and when ANDROID asks to enter the PIN code when I validate the code, it says 'Incorrect PIN code' (the PIN code is correct, it is the same I used on a smartphone and accepted when I start the phone).
Could you paste linux booting log here ?
Find attached my booting kernel log and a part of logcat.
I am using a HUAWEI USB dongle (E160E).
I am trying what you suggested. About your question, there is a sim connector with sim card.
It works now. Thanks.
Good Job ! Xavier !
If answer is useful or corrcet ,please press corresponding button, this will guide other friends to find answers they want.
There are no buttons for validation. I don't know why.
thanks for your reply and sorry for the delay,
I have one more doubt, i want to use this data-card in i.MX535 board for the application of live streaming and recording the video from the board to Server PC, for that i want to cross compile the source? or i can use this as it is.
I am using NON ANDROID SOURCE not android
Message was edited by: Shanmugam sundar
Retrieving data ...