Re: [android-kernel] Accessing device driver (GPS) outside the framework

2012-11-19 Thread Emeric VIGIER
Le 19 nov. 2012 22:44, "J Ral" a écrit : > > Hi Emeric, > First, thank you for the reply. I am using some libraries off of the device and compiling it for android before pushing it to the device. Few things work though, I can get NMEA and status information such as number of satellites. Those call

Re: [android-kernel] Accessing device driver (GPS) outside the framework

2012-11-19 Thread J Ral
Hi Emeric, First, thank you for the reply. I am using some libraries off of the device and compiling it for android before pushing it to the device. Few things work though, I can get NMEA and status information such as number of satellites. Those callback functions work but not location, not sur

Re: [android-kernel] Accessing device driver (GPS) outside the framework

2012-11-19 Thread Emeric VIGIER
Are you using android ndk to compile your c program? If so you would probably notice that there is no IPC support in it. Then no android'ish way to call IPC from a c program... What don't you just do your gps tweaking in java, there is a full GPS api in android java framework, isn't it? Emeric Le

Re: [android-kernel] Re: Linux kernel 3.5.4 does not seem to have Android-enabling features implemented

2012-11-19 Thread Dave Taht
I would love an android build with fq_codel enabled? on something? It doesn't work well yet on wifi (as for why, see last week's preso on it from linuxcon/ELC at: http://www.teklibre.com/~d/bloat/Not_every_packet_is_sacred-Battling_Bufferbloat_on_wifi.pdf ) But I intend to make a focus of the bu

[android-kernel] Accessing device driver (GPS) outside the framework

2012-11-19 Thread Android Dev
Hello all, Not sure if this is the right place to post this question. I am trying to access the GPS device driver outside the java framework. I refer to gps.h from hardware_legacy. In my c user program I get the sGpsInterface before calling init with the callback functions (I only implemented th

[android-kernel] Bypassing the java framework, using C to communicate with drivers

2012-11-19 Thread J Ral
Hello I am currently using C and hardware_legacy/hardware inclue files to run some commands. I have setup callbacks for the GPS, calling init/start succeeds and I get nmea information but the location callback (which is supposed to provide the location) never gets fired. Is there something I mi

Re: [android-kernel] NDK belong to which layer

2012-11-19 Thread J Ral
d On Sunday, November 18, 2012 1:34:00 AM UTC-5, kanishka wrote: > > Thanks for the reply. Yes it is a so file.. > Any reference to support this argument? (NDK so file -> belongs > to library layer) > > On Sun, Nov 18, 2012 at 10:57 AM, bluesk...@gmail.com < > bluesk...@gmail.com > wrote: > >> l

[android-kernel] Why do I get a kernel panic while loading Linux on a Android device?

2012-11-19 Thread Yossi Eliaz
I try to use `jprobe` on Android phone. I turned on the compilation flag `CONFIG_KPROBES=y` (`CONFIG_MODULES=y` is already on too) and the build of a kernel went so far so good except these 2 warnings: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. w

[android-kernel] Re: Linux kernel 3.5.4 does not seem to have Android-enabling features implemented

2012-11-19 Thread José Ricardo De León Solís
You shouldn't need to patch anything. I don't know how it works on windows but in linux you open the terminal, go to the directory where linux sources are and then you type "make menuconfig" (without the "") and it should open a bios-like program where you can enable android features before the

Re: [android-kernel] NDK belong to which layer

2012-11-19 Thread ISO
Hi Please post only kernel related questions in this group. There is nothing like a library layer, it is also part of Android framework. You basically have three layers, Application, Framework and the Kernel. Applications: all the apps, widgets (java part) Framework: Android base classes, HAL, med