Hi. As the newly added sensor framework layer in GB.
we may need to change you HAL. For reff. HAL see device/htc/passion-common/ libsensors Jagan. On Mon, Apr 18, 2011 at 6:04 PM, Aditya <aditya.s.mukher...@gmail.com>wrote: > Dan, > I had the exact same problem, and my HAL (Hardware Access Layer) was had a > different name. Took me a while to figure it out. It would be a good idea to > submit in the the exceptions for this. > -Aditya > > > On Sun, Apr 17, 2011 at 9:39 AM, DanM <murpd...@gmail.com> wrote: > >> I assume you are checking the logcat log and not the kernel log? >> >> If you are checking logcat and don't see that your HAL is started make >> sure your sensor HAL .so has the correct name >> or else Android will not find the HAL and load it >> >> Dan >> >> On Apr 16, 8:40 am, jagan <402ja...@gmail.com> wrote: >> > I got the sensor boot logs for drivers, >> > but while testing any sensor i didn't get any logs from HAL. >> > >> > Jagan >> > >> > >> > >> > >> > >> > >> > >> > On Sat, Apr 16, 2011 at 5:15 PM, DanM <murpd...@gmail.com> wrote: >> > > Is your sensor library being loaded at boot? >> > >> > > Maybe put some log messages in your HAL and first verify that the >> > > sensor library initialized. >> > > Are you sure that the drivers are producing data? >> > >> > > Dan >> > >> > > On Apr 15, 11:53 pm, Luo Chunbo <lu...@paragonfmc.com> wrote: >> > > > There framework for sensors are changed in Gingerbread. >> > >> > > > And and think you can refer device/htc/passion-common/libsensors >> > > > or device/samsung/crespo/libsensors >> > >> > > > There are some sample code of sensors in these directories. >> > >> > > > Thanks >> > > > Chunbo >> > >> > > > On 04/15/2011 08:43 PM, jagan wrote: >> > >> > > > > Hi All, >> > >> > > > > I am upgrading my android device[with qualcomm chipset] into >> > > > > Gingerbread. >> > >> > > > > I am facing a problem with All my sensors are not working on >> device. >> > >> > > > > I ported: >> > > > > ----------- >> > > > > => sensor drivers in kernel [i got the boot up sensor init logs] >> > > > > => my HAL sensor daemon [having all sensor operations from user >> space >> > > > > to call driver code] >> > >> > > > > With the above changes my sensors are not working. >> > >> > > > > As per my analysis there is a new sensorservice layer is added in >> > > > > Gingerbread. >> > >> > > > > Is there any way to change my HAL, to support new sensorservice >> added >> > > > > by GB. >> > >> > > > > Please tell me any one how to add my sensor HAL to Gingerbread. >> > >> > > > > Thank you. >> > > > > Jagan >> > >> > > -- >> > > unsubscribe: android-kernel+unsubscr...@googlegroups.com >> > > website:http://groups.google.com/group/android-kernel >> >> -- >> unsubscribe: android-kernel+unsubscr...@googlegroups.com >> website: http://groups.google.com/group/android-kernel >> > > > > -- > Aditya Mukherjee > Rutgers University > Department Of Computer Science > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel