[android-porting] Issue while compiling Multimedia Acclerated code in Android

2009-02-02 Thread gulshan karmani
Hi All, When we try to compile our HW Accelerated code with Android toolchain, we get the following error : bionic/libc/include/unistd.h:161:error: 'ptrdiff_t' was not declared in this scopebionic/libc/include/unistd.h:161:error: 'ptrdiff_t' was not declared in this scope While when we

[android-porting] Re: network defaultroute

2009-02-02 Thread Sean McNeil
I've been looking at iproute2 in conjunction with iptables. I got iproute2 to compile, but need to study it more to see exactly what should be done. Hugo Darwin wrote: I am thinking this problem also. Now I am porting Android in our company x86 netbook with HSDPA. 1. ethernet 2. wifi 3.

[android-porting] Re: How to use pmem driver?

2009-02-02 Thread Manish Sharma
Hi, Further I have compiled the pmem driver with our kernel. I have added following 2 memory devices. #ifdef CONFIG_ANDROID_PMEM static struct android_pmem_platform_data android_pmem_pdata = { .name = pmem, .start = PMEM_BASE, .size = PMEM_BASE_SIZE, .no_allocator =

[android-porting] system_server segfault while booting android

2009-02-02 Thread saroj
Hi, Below is the log message: D/PackageManager( 1672): Scanning app dir /system/app I/PackageManager( 1672): /system/app/ImProvider.apk changed; collecting certs I/PackageManager( 1672): New shared user android.uid.shared: id=1 I/PackageManager( 1672): /system/app/ImProvider.apk changed;

[android-porting] Re: android_get_control_socket fails....

2009-02-02 Thread pavan savoy
hciattach hcid should be running as user bluetooth with both of them in group bluetooth net_bt_admin. If you are in development just remove the ANDROID_PARANOID_NETWORK option from your kernel. regards, Pavan On Mon, Feb 2, 2009 at 5:40 PM, Sidharth Malhotra sep...@gmail.com wrote: Hi

[android-porting] Re: How to develop more than 20 timer parallely..

2009-02-02 Thread Vandana Vuthoo
Hi All, Want to know if anybody has added hardware acceleration on TI OMAP platform. Rgds. Vandana --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Dual display support?

2009-02-02 Thread David Turner
I don't know exactly which controller is being used. Even if the controller hardware supports dual display, that doesn't mean that it is wired on the device's board to do so. The Android system as a whole doesn't support dual-display, so I don't think you'll be able to enable the feature anytime

[android-porting] Re: Dual display support?

2009-02-02 Thread RS
Thanks David, and even later if you can get me a pointer to hardware tear-down or at least some open data sheets for ADP1/G1, it would be great. Thanks, Rajesh.S On Feb 2, 1:50 pm, David Turner di...@android.com wrote: I don't know exactly which controller is being used. Even if the controller

[android-porting] Re: ksoftirqd CPU load is too high during video playback

2009-02-02 Thread Dave Sparks
Are you using floating point in your codec? On Feb 2, 1:42 am, Manish Sharma manishsharm...@gmail.com wrote: Hi Dave, With software decoder this is not happening. Mostly the issue with our video driver. Regards, Manish On Sat, Jan 31, 2009 at 7:06 AM, Dave Sparks

[android-porting] Dual display support?

2009-02-02 Thread RS
Wish to know if the reference phone (ADP1/G1) can support dual display. Is there any possibility of enabling this feature. If the phone is using a sharp LCD controller mentioned in http://www.phonewreck.com/wiki/index.php?title=T-Mobile_G1 there is a possibility. But might not be routed so in

[android-porting] Re: Howto build Android full source for X86 Architecture like EeePC(ASUS)

2009-02-02 Thread Stargatto
post above. I replaced mydroid/vendor/asus/ eee_701/ kernel with that of Stargatto's posted above. However booting up Android with VMware keeps giving me the below error over and over. SurfaceFlinger[]: segfault at 38 ip sp error 4 in libc.so[8010+49000] Sorry,

[android-porting] Re: How to develop more than 20 timer parallely..

2009-02-02 Thread Dianne Hackborn
Just put all of your timers in one event list and sort them all together, then we you dispatch each event call the appropriate code for that timer. On Sun, Feb 1, 2009 at 9:03 PM, Girish htgir...@gmail.com wrote: Hi David, The above explanation will hold only good if and only if the timers

[android-porting] Re: ksoftirqd CPU load is too high during video playback

2009-02-02 Thread Manish Sharma
Hi Dave, With software decoder this is not happening. Mostly the issue with our video driver. Regards, Manish On Sat, Jan 31, 2009 at 7:06 AM, Dave Sparks davidspa...@android.comwrote: Something is obviously generating a lot of softirq's. Does this happen when you use the software codec?

[android-porting] Re: x86 boot trouble

2009-02-02 Thread Chen Yang
It looks that your configuration in grub is incorrect. You can modify it according to the reported sdb: /boot/grub/menu.lst: kernel /boot/kernel root=/dev/sdb2 rootdelay=6 rw ... Or use the make-live script to build the usb book disk again, by selecting 1 or default when promting How many disks

[android-porting] Re: How to develop more than 20 timer parallely..

2009-02-02 Thread David Turner
I suggest you to look at POSIX's timer_create() and related functions. If you want your handlers to run in parrallel, just use one distinct SIGEV_THREAD per timer. No need to use any signals here. On Mon, Feb 2, 2009 at 3:46 AM, Girish htgir...@gmail.com wrote: David, Thanks, How should

[android-porting] OpenGL composition artefacts

2009-02-02 Thread anand b
Hi, We are seeing some artefacts while running the OpenGL application Translucent GLSurfaceView on our board. Could you please help us to understand what could be going wrong? We see a flicker (where the background image is visible) for a short time instead of 2 intersecting cubes. So, the

[android-porting] Re: OpenGL composition artefacts

2009-02-02 Thread Mathias Agopian
Could give more details? Which hardware is this? Could be a bug in your display driver or GL driver. Mathias On Mon, Feb 2, 2009 at 6:27 AM, anand b anand@gmail.com wrote: Hi, We are seeing some artefacts while running the OpenGL application Translucent GLSurfaceView on our board.

[android-porting] How to use pmem driver?

2009-02-02 Thread Manish Sharma
Hi All, I have ported the android environment on my board (ARM9). I am able to play the video using PV player. I have a specific IP to perform color space conversion. Now in playback case after decoding I am able to convert the YUV output from s/w decoder to RGB using the h/w. The RGB output is

[android-porting] Re: Dual display support?

2009-02-02 Thread RS
Hello David, Thanks David. Which LCD controller is used? I understand that an answer must not be expected... but could somebody provide or can you point us to something more official a tear-down than http://www.phonewreck.com/wiki/index.php?title=T-Mobile_G1 for developers ... those who have an

[android-porting] Re: android_get_control_socket fails....

2009-02-02 Thread Sidharth Malhotra
Hi Nick, I have been a silent observer of this group till now, but now I am kinda stuck. I am able to run hciattach, hciconfig, hcitool, etc. but while running hcid I get this error message: bash-3.2# hcid hcid[1155]: Bluetooth HCI daemon hcid[1155]: Create and Bind socket hcid[1155]: Can't

[android-porting] I cant install repo

2009-02-02 Thread el.faus...@gmail.com
Well, first of all please escuse me for my bad english, im trying to boot android on my asus eee 701, i followed this instructions http://docs.google.com/View?docid=ajdmx8kfg357_81cmpr56f6 but when im trying to install repo with this command: $ curl http://android.git.kernel.org/repo ~/bin/repo

[android-porting] Re: I cant install repo

2009-02-02 Thread Jean-Baptiste Queru
Do you have a ~/bin directory? try ls -l ~/bin JBQ On Mon, Feb 2, 2009 at 4:00 PM, el.faus...@gmail.com el.faus...@gmail.com wrote: Well, first of all please escuse me for my bad english, im trying to boot android on my asus eee 701, i followed this instructions

[android-porting] Re: How to develop more than 20 timer parallely..

2009-02-02 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Girish wrote: [...] The above explanation will hold only good if and only if the timers are in ascending order or descending order.Not ina random fashion which i missed to mention Well, sort them then! Remember, time *only* increments. It

[android-porting] Re: android_get_control_socket fails....

2009-02-02 Thread Sidharth Malhotra
Hi Pavan, I am aware of this flag and have unset this to ensure that sockets can be opened by hcid. But, I am still struggling with how to bring up hcid. By the way, can you share the init.rc file and the hcid source you are running. It seems you also had certain problems earlier. Since

[android-porting] Re: ksoftirqd CPU load is too high during video playback

2009-02-02 Thread Manish Sharma
Hi Dave, In video driver we are not doing any major processing. It is just any interface driver to the h/w video codec. It manages the interrupts coming from the h/w. For decoding and display 4 interrupts are coming, 2 inputs and 2 outputs. If we are using 25fps stream then 100 interrupts/sec. We

[android-porting] Re: android_get_control_socket fails....

2009-02-02 Thread Sidharth Malhotra
Hi Pavan Thanks for the quick reply. I am essentially using this init.rc file only, as fasr as hcid and hciattach go. That should help me for the moment, right? I did not understand how does adding another service hciattacth_legacy help in running hcid? I'm sorry if I missed something. I

[android-porting] Touch Screen issue with I.MX31

2009-02-02 Thread Rajesh N
HI friends, I have ported Android on freescale i.MX31 board, there are 3 problems which I am facing now, I appreciate if anyone can give me some pointer on this problem. 1. Touch screen is not working, I have seen mails in group where touch screen was working fine with earlier version of google

[android-porting] android alarm

2009-02-02 Thread zhqzh1982
hi all: I know ,android use the driver/android/alarm.c to realise the alarm applation,but ,I do not sure ,where the driver set the alarm time ,where the driver enable the alarm ? I have check the goldfish code,and find the struct goldfish_clockevent ,in the fouction

[android-porting] Re: inverted touch on ads7846 chip

2009-02-02 Thread AJAY
Yes the problem got solved enabling Android PM module in Kernel. On Jan 30, 3:23 am, virstud russia.proje...@gmail.com wrote: help On 28 янв, 21:15, girish neo.driz...@gmail.com wrote: the cupcake power should be properly enabled in kernel space. 2009/1/28 virstud