Have look /android/hardware/libhardware/include/hardware/sensors.h , sensors_poll_device_t and sensors_module_t
When Android boot up. All library in /system/lib/hw/ are loaded on boot-up. - android/hardware/libhardware/hardware.c thanks, Hong,seokgi On Tuesday, August 14, 2012 12:27:27 PM UTC+9, Chirag Shah wrote: > > Hi All, > I am new to an Android. I just have compiled android source code and load > it. > I want to know about Android HAL and its interface to linux device driver > calls. Can you please let me know which directory and files ( I guess > hardware) can i look for this into Android source tree? > > Also can you let me know which device HAL should i start with for basic > understandings of HAL calls to the device driver ? > > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel