Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-libsensors: Listed des commits

hardware/intel/libsensors


RSS
Révision l'heure Auteur
8404867 oreo-x86 pie-x86 q-x86 android-x86-8.1-r3 2019-06-26 12:30:18 Chih-Wei Huang

Merge branch 'lineage-16.0' of https://github.com/me176c-dev/android_hardware_iio-sensors-hal into oreo-x86

21c5c78 2019-01-15 03:48:16 lambdadroid

Add support for sensor specific available sampling frequencies

Change-Id: Iad0e5aed487a35d32ee7333599316f72915bd858

c4ba43d 2018-10-13 21:39:22 lambdadroid

Avoid building "sens" and "activity" executables unless selected

d16b0ee nougat-x86 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-8.1-r1 android-x86-8.1-r2 2018-02-14 22:34:38 Chih-Wei Huang

Reverse the default orientation of accelerometer

More people reported the orientation of accelerometer is reversed.
Though we can adjust that by properties, it's easier to just change
the default orientation.

2c59909 2018-02-01 00:19:30 Rob Herring

Fix bool typedef warning, take 2

'bool' is already defined, so just remove the typedef and defines
altogether.

Signed-off-by: Rob Herring <robh@kernel.org>

9e3bf32 android-x86-7.1-r1 2018-01-22 12:35:04 Mauro Rossi

activity: fix build error by including <errno.h>

Fixes the following building errors:

hardware/intel/libsensors/activity.c:314:48: error: use of undeclared identifier 'errno'
ALOGE("Error %s creating socket\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:320:47: error: use of undeclared identifier 'errno'
ALOGE("Error %s binding socket\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:326:66: error: use of undeclared identifier 'errno'
ALOGW("Error %s setting socket to listening state\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:349:54: error: use of undeclared identifier 'errno'
ALOGE("Error %s accepting connection\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:355:65: error: use of undeclared identifier 'errno'
ALOGE("Error %s in receiving message, conn = %d\n", strerror(errno), conn);
^
hardware/intel/libsensors/activity.c:508:62: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" creating socket\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:509:10: error: use of undeclared identifier 'errno'
return errno;
^
hardware/intel/libsensors/activity.c:514:67: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" connecting to server\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:515:10: error: use of undeclared identifier 'errno'
return errno;
^
hardware/intel/libsensors/activity.c:520:72: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" sending message to server\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:521:10: error: use of undeclared identifier 'errno'
return errno;
^
hardware/intel/libsensors/activity.c:526:73: error: use of undeclared identifier 'errno'
fprintf(stderr, "Error \"%s\" getting answer from server\n", strerror(errno));
^
hardware/intel/libsensors/activity.c:527:10: error: use of undeclared identifier 'errno'
return errno;
^
13 errors generated.

6eb1fe7 2018-01-17 23:44:07 Rob Herring

Fix bool typedef warning

Builds on AOSP master now fail with the error:

activity_event_utils.h:27:9: error: 'bool' cannot be signed or unsigned typedef unsigned bool;

Use the C99 type _Bool for bool instead.

Signed-off-by: Rob Herring <robh@kernel.org>

2b340a9 2017-11-30 02:41:05 Rob Herring

Fix build warnings

AOSP now builds with -Werror, so the build needs to be warning free.

Signed-off-by: Rob Herring <robh@kernel.org>

e6ffbc7 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2016-07-29 16:10:51 Chih-Wei Huang

libsensors: workaround sensors never detected

Sometimes the iio:devices may not be ready at booting.
Assume it's always present. If you want to detect it
at runtime, set persist.sys.sensors.iio.present=0.

d19ba78 2016-07-27 22:10:10 Rob Herring

Remove unused android_alarm.h include

This is now removed in AOSP master and isn't actually needed, so just
remove the include.

Signed-off-by: Rob Herring <robh@kernel.org>

2682669 2016-05-06 00:46:03 Rob Herring

Fix printf size related warnings

Signed-off-by: Rob Herring <robh@kernel.org>

4b4c955 2016-05-06 00:15:52 Rob Herring

Add missing include of stdlib.h

stdlib.h is needed for malloc.

Signed-off-by: Rob Herring <robh@kernel.org>

d3fcd61 2016-05-06 00:15:22 Rob Herring

Add missing include of linux/iio/types.h

Signed-off-by: Rob Herring <robh@kernel.org>

a9bd9b6 2016-05-05 22:59:14 Rob Herring

Android.mk: make the module names generic instead of based on TARGET_BOARD_PLATFORM

Use "iio" for the module name. Platforms using this HAL should set the
properties "ro.hardware.sensors" and "ro.hardware.activity_recognition" to
"iio".

Signed-off-by: Rob Herring <robh@kernel.org>

3ecba55 2016-05-05 22:54:29 Rob Herring

Android.mk: Remove unnecessary include paths

We don't need to include the project path and
vendor/intel/hardware/iio-sensors isn't actually needed to build.

Signed-off-by: Rob Herring <robh@kernel.org>

20af89d 2016-05-05 22:52:36 Rob Herring

Android.mk: Remove USE_IIO_SENSOR_HAL and USE_IIO_ACTIVITY_RECOGNITION_HAL

The modules will only be built if included in the product, so there is no
point in having an additional setting to control building of these modules.

Signed-off-by: Rob Herring <robh@kernel.org>

1b0d964 2015-12-05 00:17:01 Constantin Musca

sensors: iio: remove events dependency if __NO_EVENTS__ is set

Add option/cflag for disabling the IIO events support.

Change-Id: I64502530275f4797ddb652f04237518a047bc0f6
Signed-off-by: Constantin Musca <constantin.musca@intel.com>

8102947 2015-10-29 17:40:31 Mihai Serban

Add a README file

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-6795
Change-Id: Ibf7a90f1dc713c06daaca4e950b2843389dd0f06
Signed-off-by: Mihai Serban <mihai.serban@intel.com>

d359c3a 2015-10-11 02:53:44 Chih-Wei Huang

Fix the building issues on Android 6.0

The stlport is gone.

7a62a90 2015-09-24 21:58:27 Viorel Suman

Merge remote-tracking branch 'origin/android/l/mr1/master' into r1

git log --pretty=format:"%h %ad | %s%d [%an]" origin/android/master..origin/android/l/mr1/master:
392a6b4 Thu Sep 24 11:23:13 2015 +0300 | Merge remote-tracking branch 'origin/android/master' (origin/android/l/mr1/master, origin/android/candidates/mergerequest/llp_mr1-r2, origin/android/candidates/mergerequest/llp_mr1-r1) [Viorel Suman]
cda77fa Tue May 5 01:05:40 2015 -0700 | Add errno includes (origin/android/l/mr1/release/r1/L1R101820) [Axel Fagerstedt]
92f7407 Thu Sep 17 13:59:43 2015 +0300 | Distribute under Apache License v2.0 (origin/android/l/mr1/release/r1/L1R101810, origin/android/l/mr1/release/r1/L1R101800, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r2/2015/ww39.2, origin/abt/topic/gmin/l-dev/mr1/camera/master, origin/abt/topic/gmin/l-dev/mr1/autodetect/master) [Mihai Serban]
1ee37bf Wed Sep 2 13:25:15 2015 +0300 | calibration.h: set accel BUCKET_TOLERANCE to 2.5 (origin/android/l/mr1/release/r2/L1l000182, origin/android/l/mr1/release/r2/L1l000178, origin/android/l/mr1/release/r2/L1l000169, origin/android/l/mr1/release/r2/L1l000164, origin/android/l/mr1/release/r2/L1l000156, origin/android/l/mr1/release/r2/L1l000148, origin/android/l/mr1/release/r2/L1l000145, origin/android/l/mr1/release/r2/L1l000142, origin/android/l/mr1/release/r2/L1l000139, origin/android/l/mr1/release/r1/L1R101790, origin/android/l/mr1/release/r1/L1R101780, origin/android/l/mr1/release/r1/L1R101770, origin/android/l/mr1/release/r1/L1R101760, origin/android/l/mr1/release/r1/L1R101750, origin/android/l/mr1/release/r1/L1R101740, origin/android/l/mr1/release/r1/L1R101730, origin/android/l/mr1/release/r1/L1R101721, origin/android/l/mr1/release/r1/L1R101720, origin/android/l/mr1/release/r1/L1R101710, origin/android/l/mr1/release/r1/L1R101700, origin/android/l/mr1/release/r1/L1R101690, origin/android/l/mr1/release/r1/L1R101680, origin/android/l/mr1/release/r1/L1R101670, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r2/2015/ww37.5_cj, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r2/2015/ww37.4, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r2/2015/ww37.3_cj, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r2/2015/ww36.5, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/rebase/r1/2015/ww37.3_cj, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/r2, origin/abt/topic/gmin/l-dev/mr1/graphics-gen/archives/r2/2015/ww39.2) [Constantin Musca]

git diff --stat origin/android/master..HEAD:
Android.mk | 12 ++-
LICENSE | 201 +++++++++++++++++++++++++++++++++++++++++++
MODULE_LICENSE_APACHE2 | 0
Makefile | 14 +++
NOTICE | 191 ++++++++++++++++++++++++++++++++++++++++
accel-calibration.c | 16 +++-
activity.c | 17 +++-
activity_event_entry.c | 18 +++-
activity_event_utils.h | 16 +++-
calibration.h | 18 +++-
common.h | 16 +++-
compass-calibration.c | 16 +++-
control.c | 16 +++-
control.h | 16 +++-
description.c | 18 +++-
description.h | 16 +++-
discovery.c | 17 +++-
entry.c | 16 +++-
enumeration.c | 16 +++-
enumeration.h | 16 +++-
filtering.c | 16 +++-
filtering.h | 16 +++-
gyro-calibration.c | 16 +++-
iio-sensors.txt | 14 +++
linux/cutils/native_handle.h | 16 ++++
linux/cutils/properties.h | 16 +++-
linux/linux/android_alarm.h | 16 ++++
linux/log.c | 16 +++-
linux/system/graphics.h | 16 ++++
linux/utils/Atomic.h | 16 +++-
linux/utils/Log.h | 16 +++-
matrix-ops.c | 16 +++-
matrix-ops.h | 16 +++-
sens.c | 16 +++-
transform.c | 16 +++-
transform.h | 16 +++-
utils.c | 16 +++-
utils.h | 16 +++-
38 files changed, 891 insertions(+), 61 deletions(-)

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-3844
Change-Id: Ie52aa811b4c42bbae74c6e8cbd0ee23f3d490eb2
Signed-off-by: Viorel Suman <viorel.suman@intel.com>

392a6b4 2015-09-24 17:50:52 Viorel Suman

Merge remote-tracking branch 'origin/android/master'

git log --pretty=format:"%h %ad | %s%d [%an]" origin/android/l/mr1/master..origin/android/master:
a614978 Mon Sep 7 17:27:17 2015 +0300 | Increase limit of trigger names to 64 characters (origin/feature/m_mr0/trusty, origin/feature/m_mr0/gfx_gen/rebase/r2/2015/ww38.2, origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww38.3_cj, origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww38.2_cj, origin/feature/m_mr0/gfx_gen/r2, origin/feature/m_mr0/camera/master, origin/feature/m_mr0/art/release/2015-WW38, origin/feature/m_mr0/art/master, origin/android/master, origin/android/m/mm/release/r1/MMR100230, origin/android/m/mm/release/r1/MMR100220, origin/android/m/mm/release/r1/MMR100210, origin/android/m/mm/release/r1/MMR100200, origin/android/m/mm/release/r1/MMR100190, origin/android/m/mm/release/r1/MMR100180, origin/android/m/mm/release/r1/MMR100170, origin/android/m/mm/release/r1/MMR100160, origin/android/candidates/mergerequest/master-r2, origin/android/candidates/mergerequest/master-r1) [Mihai Serban]
6dd7dd1 Tue Aug 11 15:18:12 2015 +0000 | Merge branch e35fc5677585eb789efb5c02e2de084fbedcd67d into android/master (origin/feature/m_mr0/gfx_gen/rebase/r2/2015/ww37.2, origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww37.2, origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww35.4, origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww34.1, origin/feature/m_mr0/gfx_gen/r1, origin/feature/m_mr0/gfx_gen/archives/r2/2015/ww37.2, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww38.2, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww37.2_cj, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww37.2, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww36.1, origin/feature/m_mr0/gfx_gen/archives/r1/2015/WW35.3, origin/feature/m_mr0/art/release/2015-WW37, origin/feature/m_mr0/art/release/2015-WW36, origin/cas/integ/cas_tech, origin/android/masterM0R1TEST00019, origin/android/m/mr0/release/r1/M0R1TEST00019, origin/android/m/mr0/release/r1/M0R100009, origin/android/m/mm/release/r1/MMR100150, origin/android/m/mm/release/r1/MMR100140, origin/android/m/mm/release/r1/MMR100130, origin/android/m/mm/release/r1/MMR100120, origin/android/m/mm/release/r1/MMR100110, origin/android/m/mm/release/r1/MMR100100, origin/android/m/mm/release/r1/MMR100090, origin/android/m/mm/release/r1/MMR100080, origin/android/m/mm/release/r1/MMR100070, origin/android/m/mm/release/r1/MMR100060, origin/android/m/mm/release/r1/MMR100050, origin/android/m/mm/release/r1/MMR100040, origin/android/m/mm/release/r1/MMR100030, origin/android/m/mm/release/r1/MMR100020, origin/android/m/mm/release/r1/MMR100010, origin/android/m/mm/release/r1/MMR100009, origin/abt/private/topic/gmin/art-optim/staging/oam, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW36, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW35, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW34a, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW34) [buildslave]
b220959 Mon Aug 3 10:28:11 2015 +0200 | add missing includes (origin/feature/m_mr0/gfx_gen/rebase/r1/2015/ww32.5, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww34.1, origin/feature/m_mr0/gfx_gen/archives/r1/2015/ww32.5, origin/abt/topic/gmin/l-dev/graphics-gen/rebase/2015/ww32.1, origin/abt/topic/gmin/l-dev/graphics-gen/r1, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW33, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW32) [christophe.continente]
b27955f Fri Jul 24 18:51:09 2015 -0700 | Fix 64bit builds on master (origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW31a, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW31) [Ganesh Mahalingam]
07118de Wed Jul 22 13:00:13 2015 +0000 | Merge branch ab9bfb48e9c9aa0d4d0e182a8b7f78f8cae27e42 into android/master [buildslave]
d9b3154 Tue May 5 01:05:40 2015 -0700 | Add errno includes (origin/android/m/topic/aosp/pdk, origin/android/m/topic/aosp/master, origin/android/m/mr0/release/r1/M0R1TEST00009, origin/android/m/mr0/master, origin/abt/topic/gmin/l-dev/graphics-gen/archives/2015/ww32.1, origin/abt/topic/gmin/l-dev/graphics-gen/archives/2015/ww29.4, origin/abt/private/topic/gmin/art-optim/staging/oam-rebase, origin/abt/private/topic/gmin/art-optim/staging/oam-dev, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW29, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW28, origin/abt/private/topic/gmin/art-optim/release/staging/oam/2015-WW27, origin/abt/private/topic/gmin/art-optim/release/staging/oam-dev/WW28) [Axel Fagerstedt]

git diff --stat origin/android/l/mr1/master..HEAD:
common.h | 4 +++-
sens.c | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)

Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-18956
Change-Id: I3e022365c3e5c22e72a494b2f848dcb53313ed9f
Signed-off-by: Viorel Suman <viorel.suman@intel.com>

cda77fa 2015-09-23 23:52:56 Axel Fagerstedt

Add errno includes

The patch add errno includes.

Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-18956
Change-Id: I5df3283ecedf52e36edd30c19a95d4b1fd0fb366
Reviewed-on: https://android.intel.com:443/415236

92f7407 2015-09-21 21:02:14 Mihai Serban

Distribute under Apache License v2.0

Add license files and update all project files for Apache License v2.0.

Change-Id: Iceefd025d7bc2a189ec1b11f56a6b2e8bf7227c0
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-18678
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Reviewed-on: https://android.intel.com:443/412439

a614978 2015-09-12 05:06:49 Mihai Serban

Increase limit of trigger names to 64 characters

The current limit of 32 characters makes impossible usage of triggers with long
names like hrtimer-lsm303dlhc_accel-hr-dev3.

Change-Id: Ic54c5d7cd2f7fb0be936812680d3fb547a9a052b
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-326
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Reviewed-on: https://android.intel.com:443/409856

1ee37bf 2015-09-02 23:04:30 Constantin Musca

calibration.h: set accel BUCKET_TOLERANCE to 2.5

The Emdoor I8170 STK8312 accel sensor's Z axis has a
(2.3, 2.5) bias.
Set the accel BUCKET_TOLERANCE to 2.5 to allow compensation
for this sensor.

Change-Id: I39c434d5ba8c9b81558003751dd409b20ef93c85
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17695
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17696
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17698
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Reviewed-on: https://android.intel.com:443/407030

6dd7dd1 2015-08-12 00:18:12 buildslave

Merge branch e35fc5677585eb789efb5c02e2de084fbedcd67d into android/master

Change-Id: I6d82ee93caa92676ff671d9b706ce7ee100aaed9
Tracked-On: https://jira01.devtools.intel.com/browse/CACTUS-3894

e35fc56 2015-08-10 20:23:22 Constantin Musca

Ignore avail freqs when the hrtimer trigger is selected

Setting the hrtimer quirk doesn't mean that the hrtimer
trigger will be selected.
Remove the hrtimer quirk checks and reset the freqs
without considering avail freqs in the create_hrtimer_trigger
function.

Change-Id: I0c45b024664768fe2a7f4d7d6ca57859f44c028d
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-15776
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Reviewed-on: https://android.intel.com:443/398640

43f5d04 2015-08-06 03:11:36 Constantin Musca

flush: use a pipe to unlock the sensor_poll func

If the framework calls the flush method while *sensor_poll*
is waiting for events then the flush_complete event is delayed until
the sensor reports the first event.
The CTSVerifier Sensor test (testBatchAndFlush) is failing for SX9500
due to this delay. (No event is reported because SX9500's reporting mode
is On-change).
Use a pipe to generate an event when the flush method is executed so that
the flush_complete event can be reported to the framework.

Change-Id: Ie24a32f546f71330bdd0205e7b6f398855c2146c
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-15425
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Reviewed-on: https://android.intel.com:443/397566

b220959 2015-08-03 21:34:32 christophe.continente

add missing includes

Change-Id: If04b561d58bcd3351529745f0ae5ea071985d5f3
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-243
Signed-off-by: christophe.continente <christophe.continente.@intel.com>
Reviewed-on: https://android.intel.com:443/396264

3d94158 2015-07-31 03:13:45 Benjamin Pujol

Move module path to vendor

Required to build vendor image separated from system

Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-15112
Change-Id: I56b0586d5679accbbdbe089fa8d5090d775c3c2f
Signed-off-by: Benjamin Pujol <benjamin.pujol@intel.com>
Reviewed-on: https://android.intel.com:443/384718

Afficher sur ancien navigateur de dépôt.