OSDN Git Service

android-x86/hardware-intel-libsensors.git
10 years agoSensor HAL: Allow orientation and hysteresis config
srinivas pandruvada [Wed, 29 Aug 2012 20:15:26 +0000 (13:15 -0700)]
Sensor HAL: Allow orientation and hysteresis config

This patch adds defines for orientation and hysteresis, so
that they can be modified to tune for individual platform.
It is initializing hysteresis to 0 and orientation values to
-1.

Change-Id: I086945a73f482bfc08f3baf12ce836c7b40d4ae6
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
10 years agopc_std: rename to 'bigcore'
Andrew Boie [Tue, 11 Sep 2012 20:49:09 +0000 (13:49 -0700)]
pc_std: rename to 'bigcore'

For: AXIA-840
Depends-Change-Id: I14b8908b947e1bccf0cf6cce79d4ce18d5a219dd
Depends-Change-Id: I6e279ea4f900b8d251364458b521a15a0438e2c8
Depends-Change-Id: I8b42b677e60d4eaf35f284a0eda446de83bda5be
Depends-Change-Id: I4e567a35c5f2eab56466f84f203b1d0ec3294667
Change-Id: If76e81cb9ff0325c0c90498d8b047c8a2e60aa9b
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
10 years agoSensor HAL: Added ALS
srinivas pandruvada [Wed, 30 May 2012 23:30:56 +0000 (16:30 -0700)]
Sensor HAL: Added ALS

Added HAL for ALS as defined by HID sensor usage table.
This only implements the minimal set.

Change-Id: I8720a3f02d2145e7df7d51abaf60944ec6706ea5
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
10 years agoSensor HAL: Added Compass
srinivas pandruvada [Wed, 30 May 2012 23:29:11 +0000 (16:29 -0700)]
Sensor HAL: Added Compass

Added Compass (Magnetometer) HAL as defined by HID sensor usage
table. This only implements the minimal set.

Change-Id: I19c222019b8770942e23f614ada8a2c35d401471
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
10 years agoSensor HAL: Gyro 3D
srinivas pandruvada [Wed, 30 May 2012 23:27:05 +0000 (16:27 -0700)]
Sensor HAL: Gyro 3D

Added processing for Gyro 3D as defined by HID sensor usage table.
This only implements the minimal set.

Change-Id: Ie60beebe7187569b1a483766b587fa73d633556e
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
10 years agoSensor HAL: Accelerometer 3D
srinivas pandruvada [Wed, 30 May 2012 23:24:27 +0000 (16:24 -0700)]
Sensor HAL: Accelerometer 3D

Added processing for Accelerometer 3D as defined by HID Sensor
usage table. This only implements the minimal set.

Change-Id: I0eebc550dab314cb954b8b533bae735d6179326a
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
10 years agoSensor HAL: IIO
srinivas pandruvada [Wed, 30 May 2012 22:33:24 +0000 (15:33 -0700)]
Sensor HAL: IIO

Implemented IIO based interface for sensors. This adds basic infrastructure
to parse IIO configuration and channels.
Since it is implemented for PnP devices, device can be enumerated
much later than the init process completion and also devices can
be removed during suspend causing stale handles and ownership issues.

Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Conflicts:

common/libsensors/sensors.cpp

Change-Id: Iec71987e719f241c155587910efc48c0270e8d36

10 years agoTweak Lenovo target for Jelly Bean
Jim Bride [Thu, 12 Jul 2012 20:00:14 +0000 (13:00 -0700)]
Tweak Lenovo target for Jelly Bean

Change some logging stuff and tweak the location of the accelerometer
XML permissions file to make this target build correctly on Jelly
Bean.

Change-Id: Ic7e8ec9bf2044a07f635ec6a537df22e124c8258
Signed-off-by: Jim Bride <jim.bride@intel.com>
10 years agolibsensors framework
srinivas pandruvada [Mon, 14 May 2012 21:28:43 +0000 (14:28 -0700)]
libsensors framework

Copied libsensors from Medfield and kept only sensor core files.
Removed all sensor specific files.

The commiters includes:
ommit 21964ccb08d199672cdf986cca91a714f55302ab
Author: Dragos Tatulea <dragos.tatulea@intel.com>

    libsensors: remove unneeded double close error

commit f5d69164ee57a048c4aa0f4747e43d8e894cca2f
Author: Dragos Tatulea <dragos.tatulea@intel.com>

    libsensors: refactor sensors to close fd on disable

commit a66c57c95532739c2e05c3aa40a26e0dc91da05b
Author: Dragos Tatulea <dragos.tatulea@intel.com>

    libsensors: check & skip sensor poll errors

commit 664ec9c48708a177eee9f68f3d11e57a35400a7b
Author: Dragos Tatulea <dragos.tatulea@intel.com>

    libsensors: base class enhancements

commit 9d16e254aab71082adf16749e771a54c84d26e24
Author: Dragos Tatulea <dragos.tatulea@intel.com>

    libsensors: move to vendor and split in platform and common

Change-Id: I0fbb737155331a60e362bba9402a6a036a2ec2f6
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
10 years agoInitial empty repository
Jenkins [Wed, 30 Oct 2013 18:49:26 +0000 (11:49 -0700)]
Initial empty repository