[android-porting] Re: Eclair on Nokia N900

2010-01-24 Thread Brandon
Thanks for the link :-) I've got eclair to boot, but it hangs because zygote keeps restarting, and my strace log has these connection refused messages. Can you make anything of these? recv(1152208640, NULL, 2, 0)= 0 syscall_983045(0x44ad4f00, 0x12ba08, 0, 0x40, 0x44ad4f00, 0xad0425a1,

Re: [android-porting] dns/dhcp problems (or - net.dns1 vs. dhcp.xxx.dns1)

2010-01-24 Thread Yi Sun
Still no 100% sure about your requirement, approach and goal. Anyway, I assume (please confirm, since I'm wrong in the most of times) that you are not trying to take a shortcut like (netcfg eth0 dhcp) to make your interface/device to work and what you really want is something like Wifi or

[android-porting] dhcpcd - issue

2010-01-24 Thread linux newbie
Hi, wpa_supplicant service is started in init.rc and my target network module gets associated with AP. On the Android GUI, once I enabed WIFI, the SSID is shown on the screen, but it says unable to obtain IP address and logcat shows dhcp failed. On command prompt, if I execute, dhcpcd eth1 it

[android-porting] Re: dhcpcd - issue

2010-01-24 Thread linux newbie
Hi, I also observed that if I enable dhcpcd as service in init.rc as *service dhcpcd /system/bin/dhcpcd eth1* I can able to observe that after enabling WIFI in GUI, it can able to get *connected to SSID.* But, there are lot of dhcpcd process spawned if I do *ps*. Any suggestions. Thanks On

[android-porting] Re: how to output audio directly into hardware in andriod, video could user surfaceclient.

2010-01-24 Thread ani
ani, I don't think there is an external/libaudio in AOSP. Where do you get the tree? Thanks Chih you are right. This external/libaudio is there in my local setup however David if you want to see the audiohardwarealsa and related files you can use this url.

[android-porting] Adding some changes to AudioHardwareAlsa.cpp file

2010-01-24 Thread ani
Hi Sean et al, I have some suggestions in the form of code changes which i would like to merge with the main line alsa files.Please guide me about this. Regards, anish -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: dhcpcd - issue

2010-01-24 Thread Chih-Wei
You should ask dhcpcd do not fork itself. Add -dd option to solve the issue. service dhcpcd /system/bin/dhcpcd -dd eth1 On 1月25日, 上午9時36分, linux newbie linux.newbi...@gmail.com wrote: I also observed that if I enable dhcpcd as service in init.rc as *service dhcpcd /system/bin/dhcpcd eth1* I

[android-porting] Re: Adding some changes to AudioHardwareAlsa.cpp file

2010-01-24 Thread Chih-Wei
Just upload your changes to Gerrit code review. Rough procedures: repo branch your_fix hardware/alsa_sound/ cd hardware/alsa_sound/ modify the code git commit -a cd ../.. repo upload hardware/alsa_sound/ An example: https://review.source.android.com/13251 On 1月25日, 上午10時58分, ani

[android-porting] Re: alsa_aplay error

2010-01-24 Thread ani
You need to comment the mediaserver server which is using your device.Comment it in init.rc file and then try. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] pressing home button to launch the web browser

2010-01-24 Thread Jun Sun
Big thanks for pointing to this useful debugging feature (adb logcat). I have fixed the problem. As I suspected, the context is a system service, which is not suitable to start an intent activity. And the error message actually gives a clue on the fix, which is to add FLAG_ACTIVITY_NEW_TASK flag.

[android-porting] executable directories under /system partition

2010-01-24 Thread Jun Sun
This might be a dumb question, but I can't seem to figure it out. In my donut build tree, I added some additional directories to out/target/product/dream-open/system/. Just as I expected, next re-make actually included the new directories in the system.img file. However, during run-time, I found