mirror of
https://github.com/joel16/android_device_sony_satsuki.git
synced 2025-02-17 01:29:08 +00:00
Attempt sensor fix
This commit is contained in:
parent
72e2837cc9
commit
bd416bc403
@ -1,152 +0,0 @@
|
||||
# Global configuration section:
|
||||
# - lists input and output devices always present on the device
|
||||
# as well as the output device selected by default.
|
||||
# Devices are designated by a string that corresponds to the enum in audio.h
|
||||
# - defines whether the speaker output path uses DRC
|
||||
# "TRUE" means DRC is enabled, "FALSE" or omission means DRC isn't used.
|
||||
|
||||
global_configuration {
|
||||
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_TELEPHONY_TX
|
||||
default_output_device AUDIO_DEVICE_OUT_SPEAKER
|
||||
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_TELEPHONY_RX|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_AHC_RX
|
||||
speaker_drc_enabled FALSE
|
||||
}
|
||||
|
||||
# audio hardware module section: contains descriptors for all audio hw modules present on the
|
||||
# device. Each hw module node is named after the corresponding hw module library base name.
|
||||
# For instance, "primary" corresponds to audio.primary.<device>.so.
|
||||
# The "primary" module is mandatory and must include at least one output with
|
||||
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
|
||||
# Each module descriptor contains one or more output profile descriptors and zero or more
|
||||
# input profile descriptors. Each profile lists all the parameters supported by a given output
|
||||
# or input stream category.
|
||||
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
|
||||
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
|
||||
|
||||
audio_hw_modules {
|
||||
primary {
|
||||
outputs {
|
||||
primary {
|
||||
sampling_rates 44100|48000
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM
|
||||
flags AUDIO_OUTPUT_FLAG_PRIMARY
|
||||
}
|
||||
deep_buffer {
|
||||
sampling_rates 44100|48000
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM
|
||||
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
|
||||
}
|
||||
multichannel {
|
||||
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|128000|176400|192000
|
||||
channel_masks dynamic
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_AUX_DIGITAL
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT
|
||||
}
|
||||
direct_pcm {
|
||||
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000
|
||||
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
|
||||
}
|
||||
compress_offload {
|
||||
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000
|
||||
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1
|
||||
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2
|
||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
|
||||
}
|
||||
voice_tx {
|
||||
sampling_rates 8000|16000|48000
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_TELEPHONY_TX
|
||||
}
|
||||
voip_rx {
|
||||
sampling_rates 8000|16000
|
||||
channel_masks AUDIO_CHANNEL_OUT_MONO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB|AUDIO_FORMAT_EVRCNW
|
||||
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX
|
||||
}
|
||||
high_res_audio {
|
||||
sampling_rates 96000
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_8_24_BIT
|
||||
devices AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE
|
||||
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HIGH_RES_AUDIO
|
||||
}
|
||||
}
|
||||
inputs {
|
||||
primary {
|
||||
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
|
||||
channel_masks AUDIO_CHANNEL_IN_5POINT1|AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK
|
||||
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB|AUDIO_FORMAT_EVRCNW
|
||||
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_AHC_RX|AUDIO_DEVICE_IN_EXTERNAL_STEREO_MIC
|
||||
}
|
||||
voice_rx {
|
||||
sampling_rates 8000|16000|48000
|
||||
channel_masks AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_MONO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_IN_TELEPHONY_RX
|
||||
}
|
||||
}
|
||||
}
|
||||
a2dp {
|
||||
outputs {
|
||||
a2dp {
|
||||
sampling_rates 44100
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_ALL_A2DP
|
||||
}
|
||||
}
|
||||
}
|
||||
usb {
|
||||
outputs {
|
||||
usb_accessory {
|
||||
sampling_rates 44100
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
|
||||
}
|
||||
usb_device {
|
||||
sampling_rates dynamic
|
||||
channel_masks dynamic
|
||||
formats dynamic
|
||||
devices AUDIO_DEVICE_OUT_USB_DEVICE
|
||||
}
|
||||
}
|
||||
inputs {
|
||||
usb_device {
|
||||
sampling_rates dynamic
|
||||
channel_masks dynamic
|
||||
formats dynamic
|
||||
devices AUDIO_DEVICE_IN_USB_DEVICE
|
||||
}
|
||||
}
|
||||
}
|
||||
r_submix {
|
||||
outputs {
|
||||
submix {
|
||||
sampling_rates 48000
|
||||
channel_masks AUDIO_CHANNEL_OUT_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
|
||||
}
|
||||
}
|
||||
inputs {
|
||||
submix {
|
||||
sampling_rates 48000
|
||||
channel_masks AUDIO_CHANNEL_IN_STEREO
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
DSI Module configuration XML file
|
||||
Copyright (c) 2013, 2015 Qualcomm Technologies, Inc. All Rights Reserved.
|
||||
Qualcomm Technologies Proprietary and Confidential.
|
||||
-->
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list name="dsi_config">
|
||||
|
||||
<!-- Configuration for legacy MSM targets -->
|
||||
|
@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Netmgr Module configuration XML file
|
||||
Copyright (c) 2013, 2016 Qualcomm Technologies, Inc. All Rights Reserved.
|
||||
Qualcomm Technologies Proprietary and Confidential.
|
||||
-->
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- QMI configuration -->
|
||||
<list name="netmgr_config">
|
||||
<!-- Logging overrides for ds_exec() family of commands -->
|
||||
|
@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
QMI Module configuration XML file
|
||||
Copyright (c) 2013-2015 Qualcomm Technologies, Inc. All Rights Reserved.
|
||||
Qualcomm Technologies Proprietary and Confidential.
|
||||
-->
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- QMI configuration -->
|
||||
<list name="qmi_config">
|
||||
|
||||
|
@ -1,16 +1,12 @@
|
||||
/* IPC Security Config */
|
||||
/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
|
||||
16:4294967295:1000:1021
|
||||
/* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
|
||||
56:4294967295:1021:3004
|
||||
/* Allow SS CTL service to be used by system and net_raw processes */
|
||||
43:4294967295:1000:3004
|
||||
/* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
|
||||
71:4294967295:1001
|
||||
/* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
|
||||
50:4294967295:1001
|
||||
/* QMI-SLIM service permitted to gps and net_raw */
|
||||
55:4294967295:1021:3004
|
||||
/* Allow Sensor services to be used by sensor process */
|
||||
256:4294967295:1000:1006:1013:1021:1047
|
||||
257:4294967295:1000:1006:1013:1021:1047
|
||||
|
312
configs/sensors/sensor_def_qcomdev.conf
Normal file
312
configs/sensors/sensor_def_qcomdev.conf
Normal file
@ -0,0 +1,312 @@
|
||||
#
|
||||
# File: sensor_def_qcomdev.conf
|
||||
#
|
||||
# Tihs file contains default sensor registry values for Qualcomm development
|
||||
# test platforms.
|
||||
#
|
||||
# Copyright (c) 2013 Qualcomm Technologies, Inc. All Rights Reserved.
|
||||
# Qualcomm Technologies Proprietary and Confidential
|
||||
#
|
||||
# NOTE: This file has been modified by Sony Mobile Communications Inc.
|
||||
# Modifications are Copyright (C) 2014 Sony Mobile Communications Inc.,
|
||||
# and licensed under the license of the file.
|
||||
|
||||
# File format:
|
||||
#
|
||||
# Lines starting with "#" are comments and ignored.
|
||||
#
|
||||
# File metadata uses this format:
|
||||
# :key value1 value2
|
||||
#
|
||||
# The following keys are defined:
|
||||
# - "version" : value1 is non-zero positive version number of the file. This
|
||||
# number will be stored in the sensors registry. It should be equal to the
|
||||
# largest version of any item. It will be saved in the sensors registry for
|
||||
# later use when initializing values. See the item format below.
|
||||
# This value should only be specified once in the file.
|
||||
#
|
||||
# - "hardware" : The value1 will be compared to the "Hardware" string from
|
||||
# the property of ro.board.platform.
|
||||
# Items will only be used as default values in the registry if the hardware
|
||||
# string value is a substring of the ro.board.platform string.
|
||||
# This metadata key can be used more than once, so that one file can support
|
||||
# more than one type of hardware.
|
||||
# The value may be NULL, indicating common item values for all hardware.
|
||||
#
|
||||
# - "platform" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of either /sys/devices/soc0/hw_platform or
|
||||
# /sys/devices/soc0/platform_subtype.
|
||||
#
|
||||
# - "soc_id" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of /sys/devices/soc0/soc_id.
|
||||
#
|
||||
# - "property" : value1 is the Android system property key, and value2 is
|
||||
# the desired property value. If the system property value matches the
|
||||
# desired property value, then the following items will be applied.
|
||||
# This metadata key can be used more than once, in which case the new
|
||||
# property value overrides the old.
|
||||
# value1 and 2 may be NULL, indicating common item values for all properties.
|
||||
#
|
||||
# Registry items are in lines with the following format:
|
||||
# <itemID> <value> <version>
|
||||
# Where:
|
||||
# itemID is the numeric item ID defined in sns_reg_api_v02.h
|
||||
#
|
||||
# "value" is the numeric value of the item.
|
||||
#
|
||||
# "version" is a non-zero version of the item value.
|
||||
# The version field will be compared against the previous saved
|
||||
# value in the sensors registry. If this value is greater than the
|
||||
# saved value, the default will be applied. Otherwise, the default
|
||||
# will be skipped.
|
||||
#
|
||||
# Registry item values will only be applied if the hardware, platform, and
|
||||
# property values match for the current hardware configuration.
|
||||
#
|
||||
# The numeric fields are parsed with the strtoull function, base 0.
|
||||
#
|
||||
|
||||
:version 0x00010001
|
||||
|
||||
########################################################################
|
||||
### 8994 Chipsets
|
||||
########################################################################
|
||||
:hardware 8994
|
||||
:platform
|
||||
:property
|
||||
# Orientation of sensors
|
||||
# accel x/y/z
|
||||
700 1 0x00010001 #accel-x-axis
|
||||
701 -2 0x00010001 #accel-y-axis
|
||||
702 -3 0x00010001 #accel-z-axis
|
||||
# gyro x/y/z
|
||||
800 1 0x00010001 #gyro-x-axis
|
||||
801 -2 0x00010001 #gyro-y-axis
|
||||
802 -3 0x00010001 #gyro-z-axis
|
||||
# mag x/y/z
|
||||
900 -2 0x00010001 #mag-x-axis
|
||||
901 3 0x00010001 #mag-y-axis
|
||||
902 -1 0x00010001 #mag-z-axis
|
||||
# SSI SMGR Version
|
||||
1900 1 0x00010001 #Maj Ver
|
||||
1901 1 0x00010001 #Min Ver
|
||||
|
||||
# SAM config
|
||||
#
|
||||
203 65536 0x10001 # AMD
|
||||
225 327680 0x10001 # RMD
|
||||
504 65536 0x10001 # Gyro Cal
|
||||
1703 65536 0x10001 # Ped
|
||||
2800 327680 0x10001 # basic ges
|
||||
2900 327680 0x10001 # Facing
|
||||
3400 65536 0x10001 # CMC
|
||||
609 65536 0x10001 # FMV
|
||||
1005 65536 0x10001 # Grav
|
||||
1103 65536 0x10001 # orientation
|
||||
3000 65536 0x10001 # gyro quat
|
||||
3100 65536 0x10001 # rot vec
|
||||
3500 65536 0x10001 # game rv
|
||||
4112 65536 0x10001 # SMD
|
||||
|
||||
# SSI SMGR Cfg 0 ICM-20628 Accelerometer DRI
|
||||
1903 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
1902 0xc14075963795c661 0x00010001 #UUID
|
||||
1904 500000 0x00010001 #off_to_idle
|
||||
1905 2000 0x00010001 #idle_to_ready
|
||||
1906 5 0x00010001 #i2c_bus
|
||||
1907 1000 0x00010001 #reg_group_id
|
||||
1908 0 0x00010001 #cal_grp_id
|
||||
1909 64 0x00010001 #gpio1
|
||||
1910 0xFFFF 0x00010001 #gpio2
|
||||
1911 0 0x00010001 #sensor_id
|
||||
1912 0x68 0x00010001 #i2c_address
|
||||
1913 1 0x00010001 #data_type1
|
||||
1914 0 0x00010001 #data_type2
|
||||
1915 1 0x00010001 #rel_sns_idx
|
||||
1916 1 0x00010001 #sens_default
|
||||
1917 0xD0 0x00010001 #flags
|
||||
1982 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 1 ICM-20628 Gyroscope DRI
|
||||
1919 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
1918 0xc14075963795c661 0x00010001 #UUID
|
||||
1920 500000 0x00010001 #off_to_idle
|
||||
1921 2000 0x00010001 #idle_to_ready
|
||||
1922 5 0x00010001 #i2c_bus
|
||||
1923 1010 0x00010001 #reg_group_id
|
||||
1924 10 0x00010001 #cal_grp_id
|
||||
1925 64 0x00010001 #gpio1
|
||||
1926 0xFFFF 0x00010001 #gpio2
|
||||
1927 10 0x00010001 #sensor_id
|
||||
1928 0x68 0x00010001 #i2c_address
|
||||
1929 3 0x00010001 #data_type1
|
||||
1930 0 0x00010001 #data_type2
|
||||
1931 0 0x00010001 #rel_sns_idx
|
||||
1932 3 0x00010001 #sens_default
|
||||
1933 0xD0 0x00010001 #flags
|
||||
1983 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 2 AK09912C DRI
|
||||
1935 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
1934 0xc14075963795c661 0x00010001 #UUID
|
||||
1936 500000 0x00010001 #off_to_idle
|
||||
1937 2000 0x00010001 #idle_to_ready
|
||||
1938 5 0x00010001 #i2c_bus
|
||||
1939 1020 0x00010001 #reg_group_id
|
||||
1940 0xFFFF 0x00010001 #cal_grp_id
|
||||
1941 64 0x00010001 #gpio1
|
||||
1942 0xFFFF 0x00010001 #gpio2
|
||||
1943 20 0x00010001 #sensor_id
|
||||
1944 0x0c 0x00010001 #i2c_address
|
||||
1945 2 0x00010001 #data_type1
|
||||
1946 0 0x00010001 #data_type2
|
||||
1947 0xFF 0x00010001 #rel_sns_idx
|
||||
1948 0 0x00010001 #sens_default
|
||||
1949 0xD0 0x00010001 #flags
|
||||
1984 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 3: HSPPAD038A POLL
|
||||
1951 0x5588c14de03f6490 0x00010001 #UUID
|
||||
1950 0x69469b7038b0dde8 0x00010001 #UUID
|
||||
1952 7680 0x00010001 #off_to_idle
|
||||
1953 10000 0x00010001 #idle_to_ready
|
||||
1954 5 0x00010001 #i2c_bus
|
||||
1955 0xFFFF 0x00010001 #reg_group_id
|
||||
1956 0xFFFF 0x00010001 #cal_grp_id
|
||||
1957 76 0x00010001 #gpio1
|
||||
1958 0xFFFF 0x00010001 #gpio2
|
||||
1959 30 0x00010001 #sensor_id
|
||||
1960 0x48 0x00010001 #i2c_address
|
||||
1961 7 0x00010001 #data_type1
|
||||
1962 0 0x00010001 #data_type2
|
||||
1963 0xFF 0x00010001 #rel_sns_idx
|
||||
1964 0 0x00010001 #sens_default
|
||||
1965 0 0x00010001 #flags
|
||||
1985 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 4: APDS9910 DRI
|
||||
1967 0x2c95aafbde68bd9d 0x00010001 #UUID
|
||||
1966 0xc04992988b1365d3 0x00010001 #UUID
|
||||
1968 10000 0x00010001 #off_to_idle
|
||||
1969 5000 0x00010001 #idle_to_ready
|
||||
1970 5 0x00010001 #i2c_bus
|
||||
1971 1040 0x00010001 #reg_group_id
|
||||
1972 0xFFFF 0x00010001 #cal_grp_id
|
||||
1973 40 0x00010001 #gpio1
|
||||
1974 0xFFFF 0x00010001 #gpio2
|
||||
1975 40 0x00010001 #sensor_id
|
||||
1976 0x39 0x00010001 #i2c_address
|
||||
1977 5 0x00010001 #data_type1
|
||||
1978 6 0x00010001 #data_type2
|
||||
1979 0xFF 0x00010001 #rel_sns_idx
|
||||
1980 0 0x00010001 #sens_default
|
||||
1981 0x80 0x00010001 #flags
|
||||
1986 0 0x00010001 #device_select
|
||||
103 0x384 0x00010001 #prx_near_thresh
|
||||
104 0x320 0x00010001 #prx_far_thresh
|
||||
105 0 0x00010001 #prx_factor
|
||||
106 100 0x00010001 #als_factor
|
||||
107 1 0x00010001 #version_num
|
||||
108 0x58 0x00010001 #id
|
||||
109 7 0x00010001 #als_change_pcnt
|
||||
110 0x04 0x00010001 #prx_pulse
|
||||
111 0x00 0x00010001 #prx_drive
|
||||
112 0x08 0x00010001 #prx_gain
|
||||
113 1999 0x00010001 #als_coe_b
|
||||
114 252 0x00010001 #als_coe_c
|
||||
115 450 0x00010001 #als_coe_d
|
||||
116 326 0x00010001 #als_dgf
|
||||
117 12800 0x00010001 #als_ch0_default
|
||||
118 3117 0x00010001 #als_ch1_default
|
||||
119 0x00 0x00010001 #prx_offset
|
||||
|
||||
# SSI SMGR Cfg 5 ICM-20628 Game Rotation Vector DRI
|
||||
3603 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
3602 0xc14075963795c661 0x00010001 #UUID
|
||||
3604 500000 0x00010001 #off_to_idle
|
||||
3605 2000 0x00010001 #idle_to_ready
|
||||
3606 5 0x00010001 #i2c_bus
|
||||
3607 0xFFFF 0x00010001 #reg_group_id
|
||||
3608 0xFFFF 0x00010001 #cal_grp_id
|
||||
3609 64 0x00010001 #gpio1
|
||||
3610 0xFFFF 0x00010001 #gpio2
|
||||
3611 226 0x00010001 #sensor_id
|
||||
3612 0x68 0x00010001 #i2c_address
|
||||
3613 26 0x00010001 #data_type
|
||||
3614 34 0x00010001 #data_type2
|
||||
3615 0xFF 0x00010001 #rel_sns_idx
|
||||
3616 0 0x00010001 #sens_default
|
||||
3617 0xD0 0x00010001 #flags
|
||||
3682 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 6 ICM-20628 SMD DRI
|
||||
3619 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
3618 0xc14075963795c661 0x00010001 #UUID
|
||||
3620 500000 0x00010001 #off_to_idle
|
||||
3621 2000 0x00010001 #idle_to_ready
|
||||
3622 5 0x00010001 #i2c_bus
|
||||
3623 0xFFFF 0x00010001 #reg_group_id
|
||||
3624 0xFFFF 0x00010001 #cal_grp_id
|
||||
3625 64 0x00010001 #gpio1
|
||||
3626 0xFFFF 0x00010001 #gpio2
|
||||
3627 224 0x00010001 #sensor_id
|
||||
3628 0x68 0x00010001 #i2c_address
|
||||
3629 25 0x00010001 #data_type1
|
||||
3630 0 0x00010001 #data_type2
|
||||
3631 0xFF 0x00010001 #rel_sns_idx
|
||||
3632 0 0x00010001 #sens_default
|
||||
3633 0xC0 0x00010001 #flags
|
||||
3683 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 7 ICM-20628 Step Counter DRI
|
||||
3635 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
3634 0xc14075963795c661 0x00010001 #UUID
|
||||
3636 500000 0x00010001 #off_to_idle
|
||||
3637 2000 0x00010001 #idle_to_ready
|
||||
3638 5 0x00010001 #i2c_bus
|
||||
3639 0xFFFF 0x00010001 #reg_group_id
|
||||
3640 0xFFFF 0x00010001 #cal_grp_id
|
||||
3641 64 0x00010001 #gpio1
|
||||
3642 0xFFFF 0x00010001 #gpio2
|
||||
3643 222 0x00010001 #sensor_id
|
||||
3644 0x68 0x00010001 #i2c_address
|
||||
3645 24 0x00010001 #data_type1
|
||||
3646 0 0x00010001 #data_type2
|
||||
3647 0xFF 0x00010001 #rel_sns_idx
|
||||
3648 0 0x00010001 #sens_default
|
||||
3649 0xC0 0x00010001 #flags
|
||||
3684 0 0x00010001 #device_select
|
||||
|
||||
# SSI SMGR Cfg 8 ICM-20628 Step Detector DRI
|
||||
3651 0x0b25b8431bfd46bc 0x00010001 #UUID
|
||||
3650 0xc14075963795c661 0x00010001 #UUID
|
||||
3652 500000 0x00010001 #off_to_idle
|
||||
3653 2000 0x00010001 #idle_to_ready
|
||||
3654 5 0x00010001 #i2c_bus
|
||||
3655 0xFFFF 0x00010001 #reg_group_id
|
||||
3656 0xFFFF 0x00010001 #cal_grp_id
|
||||
3657 64 0x00010001 #gpio1
|
||||
3658 0xFFFF 0x00010001 #gpio2
|
||||
3659 220 0x00010001 #sensor_id
|
||||
3660 0x68 0x00010001 #i2c_address
|
||||
3661 23 0x00010001 #data_type1
|
||||
3662 0 0x00010001 #data_type2
|
||||
3663 0xFF 0x00010001 #rel_sns_idx
|
||||
3664 0 0x00010001 #sens_default
|
||||
3665 0xD0 0x00010001 #flags
|
||||
3685 0 0x00010001 #device_select
|
||||
|
||||
#
|
||||
# SSI GPIO configuration
|
||||
#-----------------------------
|
||||
2700 1 0x00010001 #maj ver
|
||||
2701 0 0x00010001 #min ver
|
||||
2702 23 0x00010001 #I2C SDA_1
|
||||
2703 24 0x00010001 #I2C SCL_1
|
||||
2704 0xFFFF 0x00010001 #I2C SDA_2(Reserved)
|
||||
2705 0xFFFF 0x00010001 #I2C SCL_2(Reserved)
|
||||
|
||||
# Mag Cal config
|
||||
#-----------------------------
|
||||
3801 1 0x00010001
|
||||
3804 0x000a0000 0x10001 #Sample Rate
|
@ -38,8 +38,7 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Audio
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
|
||||
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
|
||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += \
|
||||
@ -54,7 +53,8 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# IRSC
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config
|
||||
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config \
|
||||
$(LOCAL_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf
|
||||
|
||||
# NFC configs
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
Loading…
x
Reference in New Issue
Block a user