Archive for February, 2010

Ubuntu+claro+hsdpa huawei e226

sudo rmmod usb-storage
sudo modprobe usbserial vendor=0×12d1 product=0×1003

wvdial configuration
[Dialer claro]
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
Init5 = AT+CGDCONT=1,"IP","claro.com.br";
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Phone = *99***1#
Dial Command = ATDT
Username = claro
Password = claro
Stupid Mode = 1

For vivo;

[Dialer 3g]
Modem = /dev/ttyUSB0
Baud = 921600
DialCommand = ATDT
Check Def Route = on
FlowControl = Hardware(CRTSCTS)
Username = vivo
Password = vivo
Phone = *99#
Stupid mode = 1
Auto Reconnect = off
Auto DNS = on
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","zap.vivo.com.br"
ISDN = 0
Modem Type = Analog Modem

Leave a comment

ADB over TCP

To make ADB work in iMX51 using TCP:

*In your host machine:

– Install android SDK
– export ADBHOST=BOARD_IP (setenv ADBHOST=xxx.xxx.xxx.xxx)
– adb kill-server

*In your board:

– make sure that  ro.secure property is *not* set when the adbd daemon is launched, so edit the file default.prop
– make sure that /dev/android_adb or /dev/android do *not* exist
– stop adbd
– start adbd

Now you will be able to list the device:

hamilton@saygon:/opt/work/androidsdk/android-sdk-linux_86/tools$ ./adb kill-server
hamilton@saygon:/opt/work/androidsdk/android-sdk-linux_86/tools$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
emulator-5554   device

Leave a comment