Re: [android-porting] i2c under /dev

2010-10-13 Thread kavitha bk
Hi, U can go through Linux Documentation for i2c Plain I2C communication --- int i2c_master_send(struct i2c_client *client, const char *buf, int count); int i2c_master_recv(struct i2c_client *client, char *buf, int count); These

Re: [android-porting] Re: opening L2CAP socket: Operation not permitted

2010-10-13 Thread praneeth juturu
Hi, Had to make changes to ApplicationContext.java file in frameworks/base/core/java/android/app Praneeth On Tue, Oct 12, 2010 at 3:17 PM, Praneeth praneethoc...@gmail.com wrote: Hi, I am not sure why the above conveys that opening L2CAP socket is not permitted. But I am able to use

[android-porting] Re: htop ncurses static library

2010-10-13 Thread kslater
I just looked at my tree for CM (6) and I see that htop is in vendor/ cyanogenmod/prebuilt/common/xbin as a prebuilt binary. From a bit of poking around it looks like it comes from one of koush's trees. But he has a lot of source trees and I'm not very good with github.com searching, so that's

Re: [android-porting] Re: Making Wifi work on overo board running Android

2010-10-13 Thread manish shakya
Hi Hedwin, Thanks. Good to know you made wifi working. Which version of kernel are you using ? I am using kernel 2.6.32 and Android 2.2 . I am going through you posts in rowboat mailing list. I will update my findings. On Wed, Oct 13, 2010 at 5:49 AM, hedwin hedwin.kon...@gmail.com wrote:

[android-porting] Re: Android porting problem

2010-10-13 Thread Srikant
looks like some problem with the FB driver initialization based on the below logs: E/SurfaceFlinger( 1730): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake what is the kernel logs? - On Oct 13, 5:23 pm, ashwani ash1...@gmail.com wrote: Hi All, I am trying to port

Re: [android-porting] Re: Making Wifi work on overo board running Android

2010-10-13 Thread manish shakya
Hi Hedwin, I have solved Timeout problem as you have said in your post.I could not see the need of SIOCSIWPRIV and vold. In my case, permission for sockets are fine. I tried both unix socket and android socket but both of them didn't work. After solving timeout problem,I think ,WPA Supplicant is

[android-porting] Froyo Boot up error

2010-10-13 Thread TheLoneJoker
I am trying to bring up Froyo on a custom board. Could someone please drop hints on what the error below pertains to ? E/AndroidRuntime( 673): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread E/AndroidRuntime( 673): java.lang.UnsatisfiedLinkError: native_update

Re: [android-porting] Re: porting 3G modem in Android to transfer data

2010-10-13 Thread Hamilton Vera
Show some output, try : adb logcat -b radio and then plug your modem. []'s Hamilton Vera On Tue, Oct 12, 2010 at 12:23 AM, binh nguyen binh.ro...@gmail.com wrote: Hello, Hardware is OMAP3630 with USB serial + 27.010 demuxer, ex: /dev/ ttyUSB0 please help me about this. Thanks On Oct

Re: [android-porting] Re: Making Wifi work on overo board running Android

2010-10-13 Thread manish shakya
I came to know SIOCSIWPRIV is required in froyo also. Do you have any idea how it should be implement SIOCSIWPRIV? On Wed, Oct 13, 2010 at 11:57 PM, hedwin hedwin.kon...@gmail.com wrote: Hmm, interesting. Thnx for the feedback. The vold change was needed in eclair to ignore no SD-card

[android-porting] Re: [rowboat] Gallery app cannot play the video

2010-10-13 Thread Deva R
When I checked the Logcat, I noticed the two applications were issuing different Intents. Intent is same., except that minor diff what u see is = file argument is absolute path in file manager, and in case of gallery app, relative clip database path is passed.. Its good as long as

Re: [android-porting] Re: Making Wifi work on overo board running Android

2010-10-13 Thread hedwin
The kernel patch (0001-Update-for-IGEPv2-Wifi-support.patch) already adds the basic SIOCSIWPRIV stuff to the libertas wireless driver. In eclair it is good enough to get wireless running. Hedwin On Wed, Oct 13, 2010 at 10:58 PM, manish shakya msha...@oakland.edu wrote: I came to know

Re: [android-porting] Re: Froyo Boot up error

2010-10-13 Thread Deva R
E/AndroidRuntime( 883): java.lang.UnsatisfiedLinkError: native_update E/AndroidRuntime( 883):at com.android.server.BatteryService.native_update(Native Method) E/AndroidRuntime( 883):at till proper battery interface is up, u need to fake battery interface to keep android going.

Re: [android-porting] Android porting problem

2010-10-13 Thread Deva R
deja vu., felt like i just replied for this log :) http://groups.google.com/group/android-porting/browse_thread/thread/abc0633915c8b047# [snip] E/AndroidRuntime( 883): java.lang.UnsatisfiedLinkError: native_update E/AndroidRuntime( 883):at

Re: [android-porting] Re: Making Wifi work on overo board running Android

2010-10-13 Thread manish shakya
Thanks.. 2010/10/13 hedwin hedwin.kon...@gmail.com Attached. Change is in drivers/mmc/host/omap_hsmmc.c For now I commented the clk_disable. Need to take a closer to figure out what is wrong. Also saw a thread in the linux-omap kernel mailing list about the very problem. Hedwin On

[android-porting] request_suspend_state sleep (0-3) at 286838669063 (2029-06-12 15:19:00.243719470 UTC)

2010-10-13 Thread liu guoqing
i have ported android-2.1 to my s3c6410 platform but when it start after a moment,it print follow request_suspend_state sleep (0-3) at 286838669063 (2029-06-12 15:19:00.243719470 UTC) I/power ( 695): *** set_screen_state 0 PM: Syncing filesystems ... done.