[android-porting] Re: touchscreen support.

2009-05-24 Thread deepak singal
Hello Sun, Thanks for reply #define ADC_MAX ((1 12) - 1) #define ADC_SCALE(x) ((x) * 640 / 4096) // scale down to 640 pixels. I am using 640 X 640 screen. But on another board ads7846 touchscreen gives the approximate same output means--- dev/input/Pressure On Screen x=3440 y=3786 Has

[android-porting] Is Cupcake branch good for new hardware?

2009-05-24 Thread neilnguyen_2...@yahoo.com
I got mixed understanding about which branch to use for porting Android onto a new hardware. I read somewhere, device branch is the one more appropriate for porting. Can someone please give me a hint here? Neil --~--~-~--~~~---~--~~ unsubscribe:

[android-porting] Re: android didn't start GUI after init

2009-05-24 Thread neilnguyen_2...@yahoo.com
Dear friend: I am trying to do the porting of Android on my hw too. However, I have gone this far as you. My problem is I do not know which init and rootfs I should use. My first crack is to use the init, and ramdisk.img built by make from cupcake branch. I would appreciate if you can tell me:

[android-porting] Re: not loaded BT lib....

2009-05-24 Thread windrg
Absolutely Yes. I'd used the cmd 'id' and it shows I have a root privilege. thx. On 5월23일, 오전7시44분, Nick Pelly npe...@google.com wrote: == #insmod btpower.ko insmod: init_module 'btpower.ko' faied (Operation not permitted)

[android-porting] Re: [android-porting]About RILD system

2009-05-24 Thread Johnny Song
Hi, Brian and Mike Thanks for your help, I think I get through my confusion now! I mistake the code will run into the piece of code bellow for granted. Yes, only the error condition that should happen. if (ret == 0 || !(errno == EAGAIN || errno == EINTR)) { /* fatal error or

[android-porting] Modules under hardware/libhardware/modules not been built

2009-05-24 Thread katherine
Hi, I generated a lights module including Android.mk and source under hardware/libhardware/modules( a lights folder under it). But seems this module can not been built from the the top of android project. Anyone has similar problems? Thanks in advance! Katherine