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.
Dear all
i followed the below path
"http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide#Android_USB_Configuration"
to configure the HUAWEI E1731 3G dongle to Android 2.3.4 and Android 4.0.3 and it worked fine by
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
xxx.sh
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1) mount -t usbfs usbfs /proc/bus/usb 2) /system/xbin/usb_modeswitch -I -W -c /system/xbin/usb_modeswitch.conf
3) /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"
4) setprop net.dns1 <IP1> 5) setprop net.dns2 <IP2>
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
using this above commands and Kernel configuration i success fully connected to the net. and browsed manully executing the commands.
what i want:
But the problem is using these commands 1-5 above i would like to create a shell script "XXX.sh" in /system/bin/
when i plug-in the Usb3G Modem in the usb hub "XXX.sh" should get executed.
I.e., i want to implement the functionality for Plug and Play.
so that i can use Usb3G Modem without any problem.
Could any one suggest me a solution to make it work in plug and play mode with the shell script "XXX.sh".
so that the XXX.sh script gets called when ever the "Usb3G Modem" is plugged-in.
PLATFORM:
BEAGLEBOARD-XM
Regards
Mahaboob A Aslam
The above steps seem to work for the huawei 3G modem. However is there a way of integrating this with the android framework, which will show the signal strength and allow apps to use the 3G connectivity?
Rgds
Sanjeev