Re: [android-kernel] what is ANDROID_PMEM?

2011-04-28 Thread Jon Pry
Pmem is a terrible contraption for allocating contiguous regions of physical memory. In essence its like putting holes in the available memory. This is required on many socs that have functional units using main memory. For example a framebuffer might require several megabytes of sdram to not be us

[android-kernel] what is ANDROID_PMEM?

2011-04-28 Thread Allen Curtis
Hello, What is the difference between ANDROID_PMEM and the standard Linux protected memory functions? For instance, there is currently a conflict between drivers/char/mem.c AND drivers/misc/pmem.c They both have implementations of phys_mem_access_prot() and other routines The

Re: [android-kernel] Re: Developing driver for a chip that requires low latency IRQ handling...

2011-04-28 Thread mike digioia
So did you use the low latency Patch and threads with Sched_FIFO? Did your system slow down to noticable amounts? I built a driver for an intersil light sensor and this one has some issues with the amount of time that elapses between succesive reads of the reg values. So I may or may not need th

[android-kernel] Re: Developing driver for a chip that requires low latency IRQ handling...

2011-04-28 Thread robstoddard
It seems that the SCHED_FIFO and 'low latency desktop' fixed the situation. Now I have 200uS latency, which is sufficient. Thank you Rob On Apr 20, 11:53 am, robstoddard wrote: > I considered polling.  I'll give it a shot. > > I am at current removed from DSOs and logic analyzers (just order

[android-kernel] Re: Touchscreen two finger zoom is not working

2011-04-28 Thread robstoddard
There are a few controllers that can do dual-touch (not 3+ touch though) using a 4 wire sensor. Rob On Apr 21, 11:42 am, hedwin wrote: > With the average 4wire/5wire resistive touchscreens multitouch is not > possible.. > > > > > > > > On Thu, Apr 21, 2011 at 7:30 PM, jagan <402ja...@gmail.co

[android-kernel] Re: Touchscreen two finger zoom is not working

2011-04-28 Thread robstoddard
What I am suggesting here are a few things that you can do to establish what's going on. I think each one would be sufficient. A few things you'll want to try: 1) using getevent, look to see that both touches come in for EVERY sync. 2) If you can, put your device on a logic analyzer and see if

[android-kernel] What is differences between Accelerometer vs Orientation vs Gravity sensors in Android

2011-04-28 Thread jagan
Hi All, Just for curiosity can you just tell me differences b/w Accelerometer vs Orientation vs Gravity sensors in Android. Regards, Jagan -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel