[android-porting] a problem of usb driver and adb

2010-10-22 Thread yenchengwang
hi all, I'm porting usb driver, and have problem need some hints. my system is froyo + 2.6.32( git clone from http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.32 ) when I connect my device to NB : 1. use "lsusb", I can see my device. 2. us

[android-porting]

2010-07-16 Thread yenchengwang
hi all, I have a strange problems need some help~ 1. I have one library(abc.so file), and one java file. 2. there has one Runnable thread in the java would continually call a function( suppose the function name is cde() ) in the abc.so. 3. there has one global variable( suppose the

[android-porting] how to implement a sensor hardware module

2010-07-13 Thread yenchengwang
hi all, I refered to the sensors_qemu.c and the htc_sensors.c to write own sensor hardware module. but mine doesn't work well... it always stuck inside the while(1) in the data__poll() {...} can't get out... below is part of my data__poll() SensorData* data = (void*)dev; i

[android-porting] [android-developers] kernel panic

2010-07-12 Thread yenchengwang
hi all, I always get the error message below while kernel booting~ CONFIG_CMDLINE="console=ttyS0, 115200 mem=128M uard_dma android" VFS: Cannot open root device "" or unknown-block(0,0) please append a correct "root=" boot option; here are the available partitions: 1f00

Re: [android-porting] Re: Porting an existing Linux device driver to the Android platform

2010-07-09 Thread yenchengwang
hi, I think what the nature lover want is a sensor hardware module~just like the sensors_qemu.c in the development/emulator/sensors ~~ or u can get the htc_sensors.c on the android's git server. 2010/7/9 tungsys > Hi, > > I have a bit confuse about what you are doing : port an i2c dr