[android-porting] Integrating Audio decoder with OpenCore.

2009-10-20 Thread guru
HI All, I am new to Andoid. I have given task of integrating Audio decoder with OpenCore. I have gone through documents on OpenCore/OMX. I have some doubts. plz clarify me to better understand integration: 1. To port Audio decoder, vendor will ship OMX complaint decoder which exposes set of API's

[android-porting] Re: Integrating Audio decoder with OpenCore.

2009-10-20 Thread guru
to this and also let me know if I am wrong, so that i will help me to go further. Thanks Gururaja On Oct 20, 4:52 pm, guru wrote: > HI All, > I am new to Andoid. I have given task of integrating Audio decoder > with OpenCore. I have gone through documents on OpenCore/OMX. I have > s

[android-porting] Re: Integrating Audio decoder with OpenCore.

2009-10-21 Thread guru
decoder, how to make sure that it will use particular decoder? Regards Gururaja On Oct 21, 6:33 pm, mxm wrote: > Hi Guru > > You can use the existing parser node and the file parser. > In case if you add your own parser node then you need to register it with Pv > player node regis

[android-porting] OMX component registration

2009-10-22 Thread guru
HI All, I am trying to integrate decoder to OpenCORE. Below is my understanding after going through code base: OMX_Init() is called by player driver (Playerdriver.cpp) pv_omxmastercore.cpp --> OMX_Init()-->_OMX_Init() | pv_omxcore.cpp

[android-porting] Re: OMX component registration

2009-10-23 Thread guru
thor told me that we can use these and no need to write again. Please guide me or give some reference to follow. Regards Gururaja On Oct 22, 4:46 pm, RaviY wrote: > http://android.git.kernel.org/?p=platform/external/opencore.git;a=blo... > > On Oct 22, 5:49 am, guru wrote: > >

[android-porting] Re: OMX component registration

2009-10-24 Thread guru
(). from my understanding, player will invoke this OMX_Init then player will be created. is it right? Thanks Gururaja On Oct 23, 4:44 pm, RaviY wrote: > What am I supposed to guide you on? I did not find a question in your > post. > > -Ravi > > On Oct 23, 2:30 am, guru wrote:

[android-porting] Re: OMX component registration

2009-10-26 Thread guru
* it means that Initialization of all OMX core components will be done once when OMX_Init is called from playerdriver. is it right? Thanks Gururaja B O On Oct 26, 7:22 am, RaviY wrote: > On Oct 25, 1:23 am, guru wrote:> Hi ravi, > > > whatever i told, it was my understanding. >

[android-porting] Re: OMX component registration

2009-10-27 Thread guru
() function for each of the codec with different name or we can reuse same function by just changing the libomx_aacdec_sharedlibrary.so shared library name to our shared library name to reuse it. Hope my understanding is correct! Thanks Gururaja On Oct 26, 4:09 pm, guru wrote: > HI R

[android-porting] Re: OMX component registration

2009-11-01 Thread guru
er to the build? > > If the latter, why? > > If the former, then I think your understanding in the previous post is > correct. > > -Ravi > > On Oct 27, 9:04 am, guru wrote: > > > > > HI Ravi, > > > In this like you have answered about having mu

[android-porting] Re: OMX component registration

2009-11-04 Thread guru
be displayed in emulator and i was able to play media files. after replacing those images system.img in ../android-sdk-windows-1.6_r1\platforms\android-1.6\images media player is not showing in emulator. Please direct me where I am going wrong! Regards Gururaja B O On Nov 2, 10:09 am, guru wrote: > H

[android-porting] Writing OMX Core

2009-11-06 Thread guru
HI All, I am integrating codec to PV core. from omx integration doc what I read was, if we are integrating 3rd party component, we have to write our won OMX Core. I am figuring it out how to write OMX Core ( implement those 9 methods) I am trying to integrate decoder. can any one guide me on th

[android-porting] logging opencore through logcat - emulator

2009-11-09 Thread guru
Hi All, I want to capture some log traces from openCore by running/playing the media player from the emulator. I saw a mail thread regarding this in http://groups.google.com/group/android-framework/browse_thread/thread/d1ec0fb1fc8c886a I followed same procedure as mentioned in that thread rm -

[android-porting] Re: logging opencore through logcat - emulator

2009-11-09 Thread guru
Hi All, I am taking system.img built form source code taken for Zoom2 platform. I am replacing this image in emulator; path \android-sdk-windows-1.5_r1\android-sdk-windows-1.5_r1\platforms > \android-1.5\images whether problem due to this?? Regards Gururaja On Nov 9, 2:44 pm, guru wr

[android-porting] decoder integration - need help

2009-11-20 Thread guru
HI All, I am integrating decoder to opencore. I am facing problem while integration. OpenCore framework is written in C++ and our decoder is in C. I am able to build static library of decoder by doing some modification to existing .mk file. my question is : is procedure to integrate decoder wri

[android-porting] compiling C code using Android.mk file

2009-11-26 Thread guru
HI All, I am integrating codec written in C language. my question is can we use Android.mk makefile directly to create shared library and then load this library using dlopen? Will it make any difference in building library using C and C++ compiler or will they be the same? Thanks Gururaja B O -

[android-porting] OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-04 Thread guru
HI All, I have integrated Audio decoder(OpenMAX) to OpenCORE. OpenCORE is recognizing our component, but it is failing to play the audio file. I added logs to identify the problem and found that getting crashed at event handler callback. Following is the log E/( 773): Calling core spec

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-04 Thread guru
es. Can you post the > complete stacktrace? I would have expected the shared library names in > the stack trace, and some address. > > -Ravi > > On Dec 4, 3:07 pm, guru wrote: > > > > > HI All, > > > I have integrated Audio decoder(OpenMAX) to OpenCORE. OpenC

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-06 Thread guru
:31 pm, RaviY wrote: > From the stack trace, it looks like the crash is in the code that you > added. You would have to debug further. > > Just curious, why are you trying to add a new AAC decoder library? > > -Ravi > > On Dec 4, 5:50 pm, guru wrote: > > > >

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-07 Thread guru
ss. > > -Ravi > > On Dec 4, 3:07 pm, guru wrote: > > HI All, > > > > I have integrated Audio decoder(OpenMAX) to OpenCORE. OpenCORE is > > recognizing our component, but it is failing to play the audio file. > > > > I added logs to identify the

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-08 Thread guru
gards Gururaja B O On Dec 8, 12:09 pm, RaviY wrote: > If you don't support the index > "PV_OMX_COMPONENT_CAPABILITY_TYPE_INDEX", then the default value for > iIsOMXComponentMultiThreaded is true. > > -Ravi > > On Dec 7, 5:17 pm, guru wrote: > > > hi Ra

[android-porting] Re: OMX Component Integration- Getting crashed at event handler callback during audio playback.

2009-12-10 Thread guru
Thanks Ravi... I am able to resolve that Issue. As you told the issue was with my omx component initialization. On Dec 8, 2:34 pm, RaviY wrote: > iThreadSafeHandlerEventHandler is initalized in the node Prepare(). > > -Ravi > > On Dec 8, 1:58 pm, guru wrote: > > > > &

[android-porting] Error : PVMediaOutputNodePort::ConfigMIO setParametersSync of PVMF_FORMAT_SPECIFIC_INFO_KEY_AUDIO failed

2009-12-11 Thread guru
HI All, When I tried to run my AAC media file, it is giving following error and finally calling ComponentDeInit and halting. Below is the section of the log I got: PVLOG:TID(0x143e0):Time=389:AndroidAudioMIO::setParametersSyn c() Error, unrecognized key x-pvmf/media/ format_specific_info_pcm;val

[android-porting] Re: Error : PVMediaOutputNodePort::ConfigMIO setParametersSync of PVMF_FORMAT_SPECIFIC_INFO_KEY_AUDIO failed

2009-12-11 Thread guru
HI Ravi, I didnt get. Whether I have to send AAC file to you or do modification in my code. Regards Gururaja On Dec 11, 4:54 pm, RaviY wrote: > Please attach your AAC file. > > -Ravi > > On Dec 11, 3:20 pm, guru wrote: > > > > > HI All, > > > When

[android-porting] Re: Error : PVMediaOutputNodePort::ConfigMIO setParametersSync of PVMF_FORMAT_SPECIFIC_INFO_KEY_AUDIO failed

2009-12-14 Thread guru
t; > -Ravi > > On Dec 11, 5:24 pm, RaviY wrote: > > > Your AAC media file. > > > -Ravi > > > On Dec 11, 5:11 pm, guru wrote: > > > > HI Ravi, > > > > I didnt get. Whether I have to send AAC file to you or do modification > > >

[android-porting] Re: Error : PVMediaOutputNodePort::ConfigMIO setParametersSync of PVMF_FORMAT_SPECIFIC_INFO_KEY_AUDIO failed

2009-12-15 Thread guru
set these parameters? Regards Gururaja On Dec 15, 11:23 am, guru wrote: > Hi Ravi, > > Sorry for the delayed reply. I was not feeling well. > > Actually I am using Cupcake version. I browsed the code base of the > Donut version, there also same error is printed.

[android-porting] Re: Andoird on x86 Recompile with -Xlint:unchecked for details issue

2009-12-17 Thread guru
HI Yi Sun I too faced this problem. In one machine build was successful, but I copied to my system and tried then it stared giving the above problem. I was thinking why this behaviour!. What may be the exact reason? Regards Gururaja B O On Dec 16, 10:59 pm, Yi Sun wrote: > You need to pick up

[android-porting] migration from cupcake to donut - undefined reference

2009-12-27 Thread guru
Hi All, I am doing integration of OMX component to Opencore. Initially i was using Cupcake version of the Android. There it was building and PV was loading my component and trying to use it. Since I wanted to migrate to Donut, I copied component code to donut and try to build the code. It is givin

[android-porting] OMX component Integration - Transition to Idle state from loaded state is failing

2009-12-29 Thread guru
Hi All, I have integrated decoder component with OpenCore. If i try to play audio file it is failing. when I saw the log it is failing when it tries to change its state to Idle. My understanding is : Before it can change to idle state it has to allocate buffers to input and output ports. then it

[android-porting] Re: OMX component Integration - Transition to Idle state from loaded state is failing

2009-12-31 Thread guru
ing mechanism?. Please give me some inputs? Regards Gururaja B O On Dec 30, 9:26 am, guru wrote: > Hi All, > > I have integrated decoder component with OpenCore. If i try to play > audio file it is failing. when I saw the log it is failing when it > tries to change its state to Idle. &g

[android-porting] Re: OMX component Integration - Transition to Idle state from loaded state is failing

2010-01-03 Thread guru
Can any one guide me on this? I am thinking to provide thread synchronization mechanism! between state transition phase and buffer allocation to I/O ports. OR Current implementation itself provides? On Dec 31 2009, 5:32 pm, guru wrote: > HI Ravi > > According to Omx call sequence do

[android-porting] Re: OMX component Integration - Transition to Idle state from loaded state is failing

2010-01-04 Thread guru
tion of the "transition" seems correct. > - The command to move the component from Loaded to Idle state is an > asynchronous call. > - The command to allocate buffers should be all syncrhonous. So, the > statement that "buffer allocation takes time" should not be relevant

[android-porting] Re: OMX component Integration - Transition to Idle state from loaded state is failing

2010-01-05 Thread guru
conds" includes -- SendCommand issue, validate command parameters, allocation of buffers and again rescheduling of the command"? -- Not correct. just for "SendCommand issue, validate command parameters". I think this one is correct. Please clarify my doubt? Regards Gururaja B

[android-porting] PVPlayerEngine::GetPVPlayerStateSync() Issue??

2010-01-06 Thread guru
Hi All, I am trying to play .m4a file which uses aac decoder... our decoder is initialized and loaded and went upto OMX_StateExecution state. after that i am getting below error. It is trying to call GetPVPlayerStateSync and getting these logs. I want to know what is the significance of this fun

[android-porting] How to interpret the stack trace?

2010-01-08 Thread guru
Hi All I while playing audio file, I am getting following stack trace. I want to know, how to interpret the below stack trace? How can I map the address to the libraries? I/DEBUG ( 874): signal 11 (SIGSEGV), fault addr 00112000 I/DEBUG ( 874): r0 40f07480 r1 00111ffc r2 3a20 r3 00

[android-porting] capturing the encoded audio data read by the PV

2010-01-12 Thread guru
HI All I want to capture the encoded audio data read by the PV which is then sent for decoding to component decoder. I want to know Who is handling this reading of data from the audio file in pv framework? What is the best way to capture the data? we are using write system call to write to our f

[android-porting] Re: capturing the encoded audio data read by the PV

2010-01-12 Thread guru
e. > > -Ravi > > On Jan 12, 2:57 pm, guru wrote: > > > > > HI All > > > I want to capture the encoded audio data read by the PV which is then > > sent for decoding to component decoder. > > > I want to know > > Who is handling this reading o

[android-porting] Re: capturing the encoded audio data read by the PV

2010-01-18 Thread guru
simple form of debugging is to capture the input being sent > to the OMX component [as part of EmptyThisBuffer] and the output being > received [as part of FillBufferDone]. This will tell u whether u r > receiving the the output as expected against the input being provided. > > -

[android-porting] need info about SendConfigBufferToOMXComponent

2010-01-20 Thread guru
Hi All, I am trying to play audio file(AAC) Media player is failing to play. When I saw the log it is calling EmptyThisBuffer in SendConfigBufferToOMXComponent. the data length is nFilledLen=2. Whether decoder has to process this config data or what is the use of this config data to the decoder?

[android-porting] Re: need info about SendConfigBufferToOMXComponent

2010-01-20 Thread guru
317d1 /system/lib/ libopencore_common.so If possible can you give me some clue or where i have to look into so that I can proceed? Thanks Gururaja B O On Jan 20, 8:27 pm, RaviY wrote: > The decoder needs to decode the config data to initialize the decoder. > > On Jan 20, 3:56 pm, guru wrot

[android-porting] interpreting captured data from PV

2010-01-28 Thread guru
Hi Ravi, As per your suggestion I captured 2 bytes of data which is 12 10 and I am using this to configure the decoder. But after that PV is sending below data. it is of 997 bytes. currenty my OMX component is not handling this data, so returning error and I am not getting what exactly this data a

[android-porting] Re: interpreting captured data from PV

2010-01-28 Thread guru
28, 2:23 pm, guru wrote: > Hi Ravi, > > As per your suggestion I captured 2 bytes of data which is 12 10 and I > am using this to configure the decoder. But after that PV is sending > below data. it is of 997 bytes. currenty my OMX component is not > handling this data, so return

[android-porting] OMX component Integration was success, but poor sound quality.

2010-02-15 Thread guru
Hi Ravi Thanks for all your support/guidence. I am able to integrate AAC decoder successfully to opencore. But when I play aac file, sound quality is not clear. I added some logs and after analyzing the logs, I guess some of the frames might be skipped.In the function EmptyThisBuffer I am maintai

[android-porting] Unable to load Bluetooth module

2010-04-05 Thread guru
Hi All, I performed the below task repeatedly from Bluetooth UI 1. Bluetooth trun on/off 2. make bluetooth discoverable 3. scan for devices after doing these tasks for 10 to 15 times, Bluetooth application hangs. when I see the log... it is telling "module unloading"... but it doesnt unload. I

[android-porting] unable to un-load the Bluetooth module

2010-04-05 Thread guru
Hi All, I performed the below task repeatedly from Bluetooth UI 1. Bluetooth trun on/off 2. make bluetooth discoverable 3. scan for devices after doing these tasks for 10 to 15 times, Bluetooth application hangs. when I see the log... it is telling "module unloading"... but it doesnt unload. I

[android-porting] Re: unable to un-load the Bluetooth module

2010-04-05 Thread guru
logs (logcat). > > Regards, > Bheemsen > > > > On Tue, Apr 6, 2010 at 10:05 AM, guru wrote: > > Hi  All, > > > I performed the below task repeatedly from Bluetooth UI > > > 1. Bluetooth trun on/off > > 2. make bluetooth discoverable > > 3. scan f

[android-porting] Re: unable to un-load the Bluetooth module

2010-04-05 Thread guru
Hi Bheemsen, In unsuccessful case, it is not coming out of D/bluedroid( 1223): GURU:Calling delete_module function. if i do lsmod, it is showing unloading bt module and we cannot remove also... Regards Gururaja B O On Apr 6, 10:19 am, guru wrote: > Hi, > > Below is for successful

[android-porting] obtainBuffer timed out (is the CPU pegged?)!

2010-06-01 Thread guru
Hi All While transferring file via BT to other phone, if I try to play audio file via BT head set voice is breaking. when i see the log i am seeing W/AudioFlinger( 1184): write blocked for 335 msecs, 22 delayed writes, thread 0x22578 W/AudioTrack( 1184): obtainBuffer timed out (is the CPU pegged

[android-porting] Disabling wpa_supplicant logs

2010-06-11 Thread guru
HI all in many of the wpa_supplicant code they are using ENTER and LEAVE macros to display the logs(Below). At last it will call android_printf. I want to make sure that only message with MSG_WARNING should be displayed. so what I did is I assigned wpa_debug_leve = MSG_WARNING so since MSG_DEBU

[android-porting] Re: Disabling wpa_supplicant logs

2010-06-11 Thread guru
Sorry Manav, it was typing mistake. is is wpa_debug_level only. On Jun 11, 7:21 pm, Manav Gautama wrote: > On Fri, Jun 11, 2010 at 7:35 PM, guru wrote: > > HI all > > > in many of the wpa_supplicant code they are using ENTER and LEAVE > > macros to display the logs(Belo

[android-porting] Re: Disabling wpa_supplicant logs

2010-06-14 Thread guru
On Jun 11, 7:29 pm, guru wrote: > Sorry Manav, it was typing mistake. is is wpa_debug_level only. > > On Jun 11, 7:21 pm, Manav Gautama wrote: > > > On Fri, Jun 11, 2010 at 7:35 PM, guru wrote: > > > HI all > > > > in many of the wpa_supplicant code they are

[android-porting] Ipv6 support - dalvik/vm/Properties.c

2010-06-29 Thread guru
Hi All In Eclair code base under dalvik/vm/Properties.c I am seeing java.net.preferIPv6Addresses set to true. With this If i run CTS test cases all related to socket address and local address are failing. Is this means that phone is not supporting ipv6? If i make java.net.preferIPv4Stack to true

[android-porting] Re: Ipv6 support - dalvik/vm/Properties.c

2010-06-30 Thread guru
preferIPv6Addresses = true. But it fails. because it is returning IPv4 address as mentioned above. If I make preferIPv4Stack=true, then this case is getting pass. It means that my phone does not support IPv6. ? Thanks Gururaja B O On Jun 29, 11:17 pm, Elliott Hughes wrote: > On Jun 29, 2:45 am, g

[android-porting] Bluetooth - pairing rejection response.

2010-07-05 Thread guru
Hi All I am trying to understand how two bluetooth devices communicate status information. I am trying to pair with remote device, but the pairing is rejected by remote device. how the remote device send "rejected" response to the other device. In which section of the bluetooth code base, I have

[android-porting] Froyo wpa_supplicant

2010-07-26 Thread guru
Hi all in Froya, new directory wpa_supplicant_6 they added. why they added it? Thanks Gururaja -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory

2010-07-26 Thread guru
let me know what is the problem? Thanks Guru -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory

2010-07-26 Thread guru
Hi Ashwin, Who will copy that file during build time? Sorry may be this is basic question! Whether I have to enable any flag to make it happen ! Thanks Guru On Jul 26, 6:58 pm, Ashwin Bihari wrote: > Did you copy a wpa_supplicant.conf file into the system/etc directory > during Android

[android-porting] Re: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory

2010-07-26 Thread guru
Hi Weber, I am trying to enable wifi in froyo build. I dont know where to lookinto. I am looking into whatever ashwin told. Thanks Gururaja B O On Jul 27, 5:56 am, Weber wrote: > Hi,guru > Which version did you use? Last week I got the same problem > and after replacing

[android-porting] Re: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory

2010-07-26 Thread guru
MVED hardware support IPP_MVED := true #Hardware Platfrom definiton TARGET_BOOTLOADER_BOARD_NAME := BSW Whether I need to modify these files? Thanks Gururaja B O On Jul 27, 9:24 am, guru wrote: > Hi Weber, > > I am trying to enable wifi in froyo build. I dont know where to > lookinto.

[android-porting] Re: Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory

2010-07-26 Thread guru
y? Thanks Guru On Jul 26, 7:16 pm, Ashwin Bihari wrote: > Read this posting..that'll explain all the necessary details: > > http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-androi... > > -- Ashwin > > On Mon, Jul 26, 2010 at 10:08 AM, guru wrote: > >

[android-porting] dhcpcd must be one-shot to use dynamic args, disabling

2010-07-27 Thread guru
Hi All I am trying to enable wifi, but in logs it is showing V/WifiMonitor( 10[ 1653.370269] init: service '/system/bin/dhcpcd' must be one-shot to use dynamic args, disabling and if i try to connect to wifi then it DHCP request is failing. /WifiStateTracker( 1028): DhcpHandler: DHCP request fa

[android-porting] Re: Regarding wpa_supplicant_6

2010-07-28 Thread guru
Hi Dmitry, What is the major changes in wpa supplicant ver 0 6.? Thanks Gururaja B O On Jul 29, 4:07 am, Dmitry Shmidt wrote: > Hi Thirumalai, > > Yes, you are right. By default will be used wpa_supplicant (ver 0.5.11) > If you want wpa_supplicant_6 (ver 0.6.10) you need to set in board config

[android-porting] Re: OMX Codec Integration

2010-07-29 Thread guru
There are many topics posted about this in googlegroups. You can get there itself. On Jul 28, 5:22 pm, "patil.raviki...@gmail.com" wrote: > Hi All, > > I am working on OMX codec integration to Android platform.I have a OMX > compliant codec.How do I go abt it? -- unsubscribe: android-porting+un

[android-porting] wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-02 Thread guru
Hi All I am trying to enable wifi in froyo. I did some modification to the code base Now wifi is enabled and scanning. But it is not connecting logs shows that gateway dsn1 dsn2 server everything is zero. V/WifiStateTracker( 1020): IP configuration: ipaddr 10.50.200.236 gateway 0.0.0.0 netmask

[android-porting] Re: wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-04 Thread guru
cpcd command. > > On 8月3日, 下午2時21分, guru wrote: > > > Hi All > > > I am trying to enable wifi in froyo. I did some modification to the > > code base > > > Now wifi is enabled and scanning. But it is not connecting > > > logs shows that gateway dsn1 dsn2 se

[android-porting] Re: wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-05 Thread guru
y external/dhcpcd, or add > domain_name_servers to your dhcpcd.conf, > or add -o domain_name_servers to your > dhcpcd command. > > On 8月3日, 下午2時21分, guru wrote: > > > Hi All > > > I am trying to enable wifi in froyo. I did some modification to the > >

[android-porting] Re: wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-11 Thread guru
0). > But if you're using older version, eth0 is necessary. > > If it still doesn't work, you need to capture the > packets replied from dhcp server to see what's wrong. > > On 8月5日, 下午9時45分, guru wrote: > > > Hi Chih Wei > > > Can you comment o

[android-porting] Re: CST: TC Failure due to unknown host

2010-08-12 Thread guru
Hi Deven Try to put the logs in the corresponding test case. If the code is in cts add logs build cts again or if it is in android code base put logs in that and build it again. You may get reason for failure. that how i used to do while doing cts. Regards Gururaja B O On Aug 12, 10:09 am, deve

[android-porting] Re: Guide on adding WiFi drivers to Android

2010-08-12 Thread guru
Hi Ashwin, I am trying to enable wifi in froyo. when i try to enable wifi is getting enabled but I am unable to connect to AP. for IP configuration I am getting 0.0.0.0 entries for many fields(below) V/WifiStateTracker( 1010): IP configuration: ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1

[android-porting] Re: wifi - dhcpcd gateway dsn1 dsn2 server address are getting 0.0.0.0

2010-08-13 Thread guru
system system symlink /opl/telephony/modules /opl/modules # Added chown dhcp dhcp /data/misc/dhcp but i dont see any changes in the output. I ran "dhcpcd eth0" command from adb shell, server sending back proper values. Thanks Gururaja B O On Aug 12, 10:05 am, guru wrote: >

[android-porting] Re: CST: TC Failure due to unknown host

2010-08-15 Thread guru
Hi R, I need to know who will set other system properties like dhcp.eth0.ipaddress, dhcp.eth0.gateway etc?. from code I see that dhcpcd deamon will set system properties. * Wait for a system property to be assigned a specified value. * If desired_value is NULL, then just wait for the property

[android-porting] wifi - dhcpcd/getprop problem.

2010-08-16 Thread guru
r E/( 1029): Guru: fill_ip_info IN E/( 1029): E/( 1029): E/( 1029): 10.50.201.5 E/( 1029): 125.22.47.125 E/( 1029): E/( 1029): Guru: fill_ip_info OUT V/WifiStateTracker( 1029): DhcpHandler: DHCP request succeeded D/WifiHW ( 1029): en

[android-porting] Re: wifi - dhcpcd/getprop problem.

2010-08-17 Thread guru
initialize dns1 and dns2? Please let me know why this behavior? Guru On Aug 17, 10:19 am, guru wrote: > Hi All, > > When I enable the wifi in froyo and connect to AP, it is trying to get > IP address, but output at wifiStateTraker level shows that many fields > are 0. > > V/Wifi

[android-porting] unable to set system property

2010-08-18 Thread guru
Hi all I am trying to set system property so some value. like # setprop net.eth0.dns1 9 # getprop net.eth0.dns1 # if i follow above steps it is not setting system property. what may be the reason for this? How to make this to set the value? Thanks Gururaja -- unsubscribe: android-porting+u

[android-porting] Re: unable to set system property

2010-08-18 Thread guru
0.dns1 > > 9 > > # > > # > > > On Wed, Aug 18, 2010 at 8:32 PM, Robert Greenwalt > > wrote: > > >> try 'su' first > > >> R > > >> On Wed, Aug 18, 2010 at 6:56 AM, guru wrote: > > >>> Hi all > >

[android-porting] Re: Guide on adding WiFi drivers to Android

2010-08-22 Thread guru
Hi Weber to what permission i need to change?. current my system is showing # cd dhcpcd # ls -l drwxr-xr-x root root 2010-08-19 07:56 dhcpcd-hooks -rwxrwxrwx root shell1009 2010-08-19 07:00 dhcpcd-run- hooks -rw-r--r-- root root 189 2010-08-19 07:20 dhcpc

[android-porting] Re: wifi - dhcpcd/getprop problem.

2010-08-22 Thread guru
acc20, next in 4.76 seconds I/WifiStateTracker( 1010): DhcpHandler: DHCP request failed: DHCP result was failed Thanks Guru On Aug 20, 12:13 pm, Chih-Wei wrote: > Check if this script has exec bit set: > /system/etc/dhcpcd/dhcpcd-run-hooks > > Actually it's a froyo bug wh

[android-porting] Increasing system properties shared memory

2010-08-25 Thread guru
HI all, I am facing one problem where I am unable to set system properties. The total number of system properties I am getting is 246, if I count from getprop command. I have seen from blog http://rxwen.blogspot.com/2010/01/android-property-system.html that max 247 properties it can hold. What

[android-porting] Re: unable to set system property

2010-08-25 Thread guru
Hi Rober/Deva R If I comment some of the existing properties in system.prop I am able to set the value, otherwise not. Why this behavior and how to deal with this? Thanks Gururaja B O On Aug 19, 9:35 am, guru wrote: > Why I asked this question is when i enable wifi, dhcpcd is not sett

[android-porting] wifi scan

2010-08-26 Thread guru
Hi all what is the default time gap between successive scan request in wifi.? can we increase it? Thanks Gururaja B O -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: wifi scan

2010-08-26 Thread guru
specifying 6s > > On Thu, Aug 26, 2010 at 6:21 PM, Irfan Sheriff wrote: > > Look at  WifiSettings & WifiStateTracker. Its more frequent when you are in > > the settings (6s) than otherwise (15s). > > > The WifiManager API allows initiatiation of scans at th

[android-porting] wifi - signal strength

2010-08-27 Thread guru
HI All, I ported(enabled) wifi successfully on froyo. It is connecting to AP and showing signal strength. But it is not showing any signal strength on the icon which displayed on the Notice Bar. Is this problem at application layer or down the layer? Where I need to look into? I need some info, n

[android-porting] Re: Getting "A test that was a known failure actually passed. Please check. "

2010-08-29 Thread guru
Hi Deven The test case should actually fail, but in your case it is getting pass. If test case fails then it means that Result is PASS. I too experience this issue, but able to solve from my side. You have to fix this issue i think. Check where exactly it is fail with any existing Android Mobile

[android-porting] How to enable/turning phone into a WiFi hot spot

2010-08-30 Thread guru
Hi All How to enable/turning phone into a WiFi hot spot? I just ported wifi driver to froyo build, it is showing basic APP(as was in eclair) I am not seeing any app related to the tethering in froyo? will it not come by default or do I need to enable it? both APP and other configuration. what are

[android-porting] Re: How to enable/turning phone into a WiFi hot spot

2010-08-30 Thread guru
Hi Andy Burns, I am not finding Tethering & Portable Hotspot in Wireless & Networks... I want to know how to add that in to list. Whether I need to configure some thing? Thanks Gururaja B O On Aug 30, 3:42 pm, Andy Burns wrote: > guru wrote: > > How to enable/turning phone int

[android-porting] Re: wifi - signal strength

2010-08-30 Thread guru
showing signal strength" yet it is "not showing any signal > >>> strength on the icon which displayed on the Notice Bar".  Where *is* it > >>> showing signal strength?  In the settings app?  That is probably just in > >>> the > >>> sca

[android-porting] Wifi cpu utilization

2010-08-30 Thread guru
Hi All How to calculate the WIFI CPU utilization ? is there any standard method to do it or any other? What factors I need to consider in WIFI to calculate CPU utilization? Thanks Gururaja B O -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/a

[android-porting] Re: Wifi cpu utilization

2010-08-31 Thread guru
, you can > use Oprofile. > > On Tue, Aug 31, 2010 at 10:46 AM, guru wrote: > > Hi All > > > How to calculate the WIFI CPU utilization ? is there any standard > > method to do it or any other? > > What factors I need to consider in WIFI to calculate CPU

[android-porting] Re: How to enable/turning phone into a WiFi hot spot

2010-08-31 Thread guru
xml > +++ b/overlay/frameworks/base/core/res/res/values/config.xml > @@ -132,6 +132,14 @@ >          "eth\\d" >       > > +     > +     > +        "wl0.1" > +     > + > > On Mon, Aug 30, 2010 at 4:40 AM, guru wrote: > > Hi Andy Burns, > &g

[android-porting] Re: Android 2.2 Froyo Wifi Hotspot

2010-08-31 Thread guru
Hi R, For me also same problem, after porting froyo, it is not displaying Wifi Hotspot feature. I added "wl0.1" some value, but still the feature is not showing up. Do i need to do change any file? Thanks Gururaja B O On Aug 24, 8:05 pm, Robert Greenwalt wrote: > Doing this on the emulator doe

[android-porting] Re: How to enable/turning phone into a WiFi hot spot

2010-08-31 Thread guru
,14 @@ >          "eth\\d" >       > > +     > +     > +        "wl0.1" > +     > + > > On Mon, Aug 30, 2010 at 4:40 AM, guru wrote: > > Hi Andy Burns, > > > I am not finding Tethering & Portable Hotspot in Wireless & > > Networks... I want to know how to add

[android-porting] Re: How to enable/turning phone into a WiFi hot spot

2010-08-31 Thread guru
Hi Irfan I added below to config.xml "eth\\d" now it is showing D/Tethering( 1030): interfaceAdded :eth0 But still application is not showing up. Any reason for this? Thanks Gururaja B O On Sep 1, 10:26 am, guru wrote: > Hi Irfan > > after adding &quo

[android-porting] Re: Android 2.2 Froyo Wifi Hotspot

2010-09-01 Thread guru
nowledge you need some kernel > related stuffs. > > -Yogesh > > On Aug 31, 7:40 pm, guru wrote: > > > Hi R, > > > For me also same problem, after porting froyo, it is not displaying > > Wifi Hotspot feature. > > I added "wl0.1" some value, but

[android-porting] Re: Android 2.2 Froyo Wifi Hotspot

2010-09-01 Thread guru
config_tether_upstream_regexs"> >        "foo\\d" > > > -Yogesh > On Sep 1, 3:27 pm, guru wrote: > > > Hi Yogesh > > > Below are section of my config.xml. > > > > >     > name="config_tether_usb_regexs"&

[android-porting] Re: How to enable/turning phone into a WiFi hot spot

2010-09-01 Thread guru
s/res/values/config.xml > @@ -132,6 +132,14 @@ >          "eth\\d" >       > > +     > +     > +        "wl0.1" > +     > + > > On Mon, Aug 30, 2010 at 4:40 AM, guru wrote: > > Hi Andy Burns, > > > I am not finding Tethering & Port

[android-porting] adb over wifi

2010-09-06 Thread guru
HI all I am trying to run adb over wifi. from source what I got is, I need to follow below setps netcfg get the ip address of phone say it is 192.168.100.4 on PC export ADBHOST=192.168.100.4 Dont connect USB cable. adb push /sdcard/ this will transfer over wifi I followed these steps, the

[android-porting] Re: adb over wifi

2010-09-06 Thread guru
t; BR, > Xu > > On 6 September 2010 22:45, guru wrote: > > > HI all > > > I am trying to run adb over wifi. > > > from source what I got is, I need to follow below setps > > > netcfg > > get the ip address of phone  say it is 192.168.100.4 > &

[android-porting] Re: adb over wifi

2010-09-07 Thread guru
tat > su > adbd stop > setprop service.adb.tcp.port > adbd start > netstat > > check if some process starts listen on port after adbd restarts > > BR > xu > > On 7 September 2010 12:12, guru wrote: > > > Xu Wang, > > > I want to use adb onl

[android-porting] Re: WiFi always scanning after porting to Froyo

2010-09-07 Thread guru
Hi Edward did you merged everything in to froyo? some changes you need to do to enable wifi in froyo. in WifiStateTracker.java dhcpcd/android.mk ..etc Hope you have already referred this doc http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html Thanks Gururaja B O

[android-porting] performance using while transferring file via wifi

2010-09-07 Thread guru
HI all I am transferring file via wifi. (adb over wifi) while transferring if I try to scroll down the UI, scrolling is happening slowly. if I stop transferring and scroll the UI it is happening quickly. I am trying to find out what is the link between transferring file and the GUI? I checked th

[android-porting] Re: performance using while transferring file via wifi

2010-09-07 Thread guru
Hi All Please let me know any performance tools in Android. I tried traceview but not much help regarding CPU utilization and memory usage. Thanks Gururaja On Sep 7, 6:38 pm, guru wrote: > HI all > > I am transferring file via wifi. (adb over wifi) > while transferring if I try to

  1   2   >