mirror of
https://github.com/team-infusion-developers/proprietary_vendor_samsung_msm8976.git
synced 2024-11-07 04:25:56 +00:00
msm8976-common: Move sensors HAL out of common tree
* gts210vewifi isn't exactly compatible with gts28vewifi.
This commit is contained in:
parent
8b5d48ea79
commit
6e9bd4cb8b
17 changed files with 211 additions and 6 deletions
21
gts210vewifi/Android.mk
Normal file
21
gts210vewifi/Android.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),gts210vewifi)
|
||||
|
||||
endif
|
16
gts210vewifi/BoardConfigVendor.mk
Normal file
16
gts210vewifi/BoardConfigVendor.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh
|
||||
|
22
gts210vewifi/gts210vewifi-vendor.mk
Normal file
22
gts210vewifi/gts210vewifi-vendor.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/samsung/gts210vewifi/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \
|
||||
vendor/samsung/gts210vewifi/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \
|
||||
vendor/samsung/gts210vewifi/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \
|
||||
vendor/samsung/gts210vewifi/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \
|
||||
vendor/samsung/gts210vewifi/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so
|
21
gts28vewifi/Android.mk
Normal file
21
gts28vewifi/Android.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_DEVICE),gts28vewifi)
|
||||
|
||||
endif
|
16
gts28vewifi/BoardConfigVendor.mk
Normal file
16
gts28vewifi/BoardConfigVendor.mk
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh
|
||||
|
22
gts28vewifi/gts28vewifi-vendor.mk
Normal file
22
gts28vewifi/gts28vewifi-vendor.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Copyright (C) 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/samsung/gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \
|
||||
vendor/samsung/gts28vewifi/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \
|
||||
vendor/samsung/gts28vewifi/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \
|
||||
vendor/samsung/gts28vewifi/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \
|
||||
vendor/samsung/gts28vewifi/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so
|
BIN
gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so
Normal file
BIN
gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so
Normal file
Binary file not shown.
92
gts28vewifi/proprietary/vendor/etc/yas_set.cfg
vendored
Normal file
92
gts28vewifi/proprietary/vendor/etc/yas_set.cfg
vendored
Normal file
|
@ -0,0 +1,92 @@
|
|||
[mag_matrix]
|
||||
matrix_load=1
|
||||
matrix0=10000
|
||||
matrix1=0
|
||||
matrix2=0
|
||||
matrix3=0
|
||||
matrix4=10000
|
||||
matrix5=0
|
||||
matrix6=0
|
||||
matrix7=0
|
||||
matrix8=10000
|
||||
|
||||
[mag_calib]
|
||||
calib_enable=1
|
||||
mode=2
|
||||
spread0=10
|
||||
spread1=100
|
||||
spread2=180
|
||||
variation0=65535
|
||||
variation1=400
|
||||
variation2=40
|
||||
el_spread0=200
|
||||
el_spread1=300
|
||||
el_spread2=500
|
||||
el_variation0=30
|
||||
el_variation1=20
|
||||
el_variation2=15
|
||||
trad_variation0=30000
|
||||
trad_variation1=400
|
||||
trad_variation2=400
|
||||
cwg_threshold0=20
|
||||
cwg_threshold1=6000
|
||||
cwg_threshold2=350
|
||||
cwg_threshold3=8000
|
||||
cwg_threshold4=20
|
||||
cwg_threshold5=3500
|
||||
cwg_threshold6=350
|
||||
cwg_threshold7=4500
|
||||
cwg_threshold8=100
|
||||
cwg_threshold9=2864
|
||||
cwg_threshold10=350
|
||||
cwg_threshold11=3246
|
||||
|
||||
[mag_filter]
|
||||
filter_enable=1
|
||||
len=30
|
||||
noise=1800
|
||||
|
||||
[gyro_calib]
|
||||
calib_enable=1
|
||||
mag_noise=1500
|
||||
gyro_noise=3000
|
||||
|
||||
[soft_gyro]
|
||||
soft_gyro_enable=1
|
||||
|
||||
[fusion]
|
||||
am_fusion_enable=1
|
||||
ag_fusion_enable=1
|
||||
amg_fusion_enable=1
|
||||
|
||||
[gamevec]
|
||||
ini_set_value=3000
|
||||
hpf_sq_out_threshold=1000000
|
||||
sustain=5
|
||||
|
||||
[platform]
|
||||
;platform=MSM
|
||||
;platform=MTK
|
||||
;platform=SAMSUNG
|
||||
platform=
|
||||
|
||||
[driver]
|
||||
;acc=BMA250E
|
||||
;acc=BMA255
|
||||
acc=BMI055
|
||||
;acc=KXTJ2
|
||||
;acc=LIS3DH
|
||||
;acc=LSM6DS3
|
||||
;acc=MMA8452Q
|
||||
;acc=STK8313
|
||||
;acc=U2DH
|
||||
;acc=NONE
|
||||
;mag=YAS530
|
||||
;mag=YAS532
|
||||
;mag=YAS533
|
||||
;mag=YAS537
|
||||
mag=YAS539
|
||||
;mag=NONE
|
||||
;gyro=LSM6DS3
|
||||
gyro=BMI055
|
||||
;gyro=NONE
|
BIN
gts28vewifi/proprietary/vendor/lib/libsensor1.so
vendored
Normal file
BIN
gts28vewifi/proprietary/vendor/lib/libsensor1.so
vendored
Normal file
Binary file not shown.
BIN
gts28vewifi/proprietary/vendor/lib64/libsensor1.so
vendored
Normal file
BIN
gts28vewifi/proprietary/vendor/lib64/libsensor1.so
vendored
Normal file
Binary file not shown.
BIN
gts28vewifi/proprietary/vendor/lib64/libyasalgo.so
vendored
Normal file
BIN
gts28vewifi/proprietary/vendor/lib64/libyasalgo.so
vendored
Normal file
Binary file not shown.
|
@ -83,7 +83,6 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/samsung/msm8976-common/proprietary/lib/libsynaFpSensorTestNwd.so:system/lib/libsynaFpSensorTestNwd.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib/libvpplibrary.so:system/lib/libvpplibrary.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib64/hw/gps.default.so:system/lib64/hw/gps.default.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib64/libbauthserver.so:system/lib64/libbauthserver.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib64/libbauthtzcommon.so:system/lib64/libbauthtzcommon.so \
|
||||
vendor/samsung/msm8976-common/proprietary/lib64/libegis_fp_normal_sensor_test.so:system/lib64/libegis_fp_normal_sensor_test.so \
|
||||
|
@ -96,7 +95,6 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/samsung/msm8976-common/proprietary/vendor/bin/perfd:system/vendor/bin/perfd \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/bin/qseeproxydaemon:system/vendor/bin/qseeproxydaemon \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/bin/thermal-engine:system/vendor/bin/thermal-engine \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/eglSubDriverAndroid.so:system/vendor/lib/egl/eglSubDriverAndroid.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/libEGL_adreno.so:system/vendor/lib/egl/libEGL_adreno.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/libGLESv1_CM_adreno.so:system/vendor/lib/egl/libGLESv1_CM_adreno.so \
|
||||
|
@ -317,7 +315,6 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/samsung/msm8976-common/proprietary/vendor/lib/librs_adreno_sha1.so:system/vendor/lib/librs_adreno_sha1.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libscale.so:system/vendor/lib/libscale.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libsd_sdk_display.so:system/vendor/lib/libsd_sdk_display.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libsmemlog.so:system/vendor/lib/libsmemlog.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libthermalclient.so:system/vendor/lib/libthermalclient.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib/libts_detected_face_hal.so:system/vendor/lib/libts_detected_face_hal.so \
|
||||
|
@ -417,7 +414,6 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsd_sdk_display.so:system/vendor/lib64/libsd_sdk_display.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsecureui.so:system/vendor/lib64/libsecureui.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsecureui_svcsock.so:system/vendor/lib64/libsecureui_svcsock.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsmemlog.so:system/vendor/lib64/libsmemlog.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libssd.so:system/vendor/lib64/libssd.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libthermalclient.so:system/vendor/lib64/libthermalclient.so \
|
||||
|
@ -425,8 +421,7 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libulp2.so:system/vendor/lib64/libulp2.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxt_native.so:system/vendor/lib64/libxt_native.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtadapter.so:system/vendor/lib64/libxtadapter.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtwifi_ulp_adaptor.so:system/vendor/lib64/libxtwifi_ulp_adaptor.so \
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so
|
||||
vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtwifi_ulp_adaptor.so:system/vendor/lib64/libxtwifi_ulp_adaptor.so
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libloc_api_v02 \
|
||||
|
|
Loading…
Reference in a new issue