Re: [android-kernel] Getting battery current read

2012-10-29 Thread Durgadoss Ramanathan
Hi, Yes, looks like it is almost impossible to measure without external h/w. Meanwhile, you can have a look at the sysfs interfaces in your device: cd /sys/class/power_supply/*_battery/ grep . * [it is grep space dot space star] This will give you a list of attributes the kernel driver (for whate

Re: [android-kernel] Kmalloc

2012-10-29 Thread Emeric VIGIER
Hi Ajay, Q: does the kernel create page tables for the memory returned by kmalloc. A: Yes, it does. Without page allocation table, the kernel is unable to know which chunks of memory are allocated and which are not. http://www.makelinux.net/ldd3/chp-8-sect-1 is a fairly good introduction of kmallo

[android-kernel] Getting battery current read

2012-10-29 Thread Rodrigo Terra
Hi everybody, I'm newbie in this list and I'll be really thankfull for some help to double check a point. I'm current developing an experiment to evaluate impacting Android energy consumption changing kernel scheduler. My choice of model to conduct the experiment was google flagship Galaxy N

[android-kernel] Re: Android emulator and system call table.

2012-10-29 Thread Chris Sarbora
What value is supposed to be c0021d24? "The value" isn't very specific. On Monday, October 22, 2012 9:16:20 AM UTC-7, B70k3n wrote: > > > I have few questions regarding Android emulator: > > 1) why Android emulator does not have '/boot' directory? > 2) where in Android emulator can the System.map

[android-kernel] Re: How to hook up Linux Device Driver in Android Framework?

2012-10-29 Thread Prerna Gupta
Hi Parth, I do have one rek if you are comfortable kindly send me your resume on pre...@net2source.com On Wednesday, 26 January 2011 04:01:50 UTC-5, Parth shah wrote: > Hello Guys, > > I'm new to android but i know how to develop device driver in Linux. > > Can anybody guide me on how andr

[android-kernel] Compiler inside Android

2012-10-29 Thread biga gaber
hi my name is biga gaber I'm working in developing fully IDE in mobiles which support Android platform I want to make my compiler in Android not as application I want to make it as system program any suggestions or help by links and references -- unsubscribe: android-kernel+unsubscr...@goo

[android-kernel] Android USB gadget driver - kernel module instead of built-in

2012-10-29 Thread Ryan Leonard
Hello all, My question is, is it possible to build the linux kernel for an android device without the usb gadget driver built-in? My motivation and what I have tried thus far is listed below. I am attempting to emulate the behavior of connecting and disconnecting an android phone from a given

[android-kernel] Binder driver code

2012-10-29 Thread shunty
Hi I am trying to fix a android kernel panic, which occurred by BUG call in function binder_get_ref_for_node() in binder.c. More specifically while (*p) { parent = *p; ref = rb_entry(parent, struct binder_ref, rb_node_desc); if (new_ref->desc < ref->desc) p = &(*p)->rb_left; else if (new_ref

Re: [android-kernel] editor in adb shell

2012-10-29 Thread Erhard Dinhobl
maybe it's late, but you can use "cat" to read the file and "echo jdfkjdkf > file.txt" to put smthng into a file ;) regards Am Dienstag, 10. November 2009 03:45:30 UTC+1 schrieb dang: > > You can download busybox toolbox from > http://benno.id.au/blog/2007/11/14/android-busybox. > Push this to

[android-kernel] how operating system assigns different tasks to quad-core

2012-10-29 Thread Shaosong Li
Hi, I am a new guy to android kernel development, recently I am thinking the quad-core phones like the samsung galaxy s3. How android kernel uses these cores? Does anyone have some experience on this or give some advice where I should start with? Thanks. -- unsubscribe: android-kernel+unsubs

[android-kernel] Kmalloc

2012-10-29 Thread ajay
Kmalloc is used for returning a logical address pointer to a chunk of physical address.My question is that the locgical address that kmalloc is a part of the virtual memory .i.e does the kernel create page tables for the memory returned by kmalloc. -- unsubscribe: android-kernel+unsubscr...@go