forked from SuperLamic/android_device_sony_amami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sensor_def_qcomdev.conf
228 lines (214 loc) · 5.96 KB
/
sensor_def_qcomdev.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
#
# File: sensor_def_qcomdev.conf
#
# Tihs file contains sensor registry values for SOMC development platforms.
#
# Copyright (c) 2013 Qualcomm Technologies, Inc. All Rights Reserved.
# Qualcomm Technologies Proprietary and Confidential
# Copyright (C) 2013 Sony Mobile Communications AB.
# 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
# /proc/cpuinfo.
# Items will only be used as default values in the registry if the hardware
# string value is a substring of the /proc/cpuinfo 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.
#
# - "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
########################################################################
### 8974 Chipsets
########################################################################
:hardware 8974
:platform
:property
# Orientation of sensors
# accel x/y/z
700 -1 0x00010001
701 2 0x00010001
702 -3 0x00010001
# gyro x/y/z
800 -1 0x00010001
801 2 0x00010001
802 -3 0x00010001
# mag x/y/z
900 -1 0x00010001
901 2 0x00010001
902 -3 0x00010001
# SSI SMGR Version
1900 1 0x00010001
1901 1 0x00010001
# SSI SMGR Cfg 0 (Acc)
1902 0xe2114f8070922524 0x00010001
1903 0x669a0c200008969e 0x00010001
1904 2000 0x00010001
1905 1000 0x00010001
1906 12 0x00010001
1907 1000 0x00010001
1908 0 0x00010001
1909 73 0x00010001
1910 65 0x00010001
1911 0 0x00010001
1912 0x18 0x00010001
1913 1 0x00010001
1914 0 0x00010001
1915 0xFF 0x00010001
1916 1 0x00010001
1917 0xD0 0x00010001
1982 0 0x00010001
# SSI SMGR Cfg 1 (Gyro)
1918 0xc347c5575be90345 0x00010001
1919 0xc0b3f9bee990498d 0x00010001
1920 2000 0x00010001
1921 1000 0x00010001
1922 12 0x00010001
1923 1010 0x00010001
1924 10 0x00010001
1925 0xFFFF 0x00010001
1926 0xFFFF 0x00010001
1927 10 0x00010001
1928 0x68 0x00010001
1929 3 0x00010001
1930 0 0x00010001
1931 0xFF 0x00010001
1932 4 0x00010001
1933 0x40 0x00010001
1983 0 0x00010001
# SSI SMGR Cfg 2 (Mag)
1934 0x9e4e43dd9919b2d4 0x00010001
1935 0x355c5a01689ed8b6 0x00010001
1936 1000 0x00010001
1937 0 0x00010001
1938 12 0x00010001
1939 1020 0x00010001
1940 0 0x00010001
1941 0xFFFF 0x00010001
1942 0xFFFF 0x00010001
1943 20 0x00010001
1944 0x0C 0x00010001
1945 2 0x00010001
1946 0 0x00010001
1947 0xFF 0x00010001
1948 0 0x00010001
1949 0 0x00010001
1984 0 0x00010001
# SSI SMGR Cfg 3 (BMP085)
1950 0xf2494d45c55e4f96 0x00010001
1951 0x8624930f2c38a784 0x00010001
1952 10000 0x00010001
1953 0 0x00010001
1954 3 0x00010001
1955 0xFFFF 0x00010001
1956 0xFFFF 0x00010001
1957 0xFFFF 0x00010001
1958 0xFFFF 0x00010001
1959 30 0x00010001
1960 0x77 0x00010001
1961 7 0x00010001
1962 4 0x00010001
1963 0xFF 0x00010001
1964 0 0x00010001
1965 0 0x00010001
1985 0 0x00010001
# SSI SMGR Cfg 4 (Prox/ALS)
1966 0x4c4bfbc3d8a879e6 0x00010001
1967 0x0ce6069d4d31faaf 0x00010001
1968 10000 0x00010001
1969 0 0x00010001
1970 12 0x00010001
1971 1040 0x00010001
1972 0xFFFF 0x00010001
1973 0x4A 0x00010001
1974 0xFFFF 0x00010001
1975 40 0x00010001
1976 0x39 0x00010001
1977 5 0x00010001
1978 6 0x00010001
1979 0xFF 0x00010001
1980 0 0x00010001
1981 0x80 0x00010001
1986 0 0x00010001
# SSI GPIO config
2700 1 0x00010001
2701 0 0x00010001
2702 10 0x00010001
2703 11 0x00010001
2704 87 0x00010001
2705 88 0x00010001
2706 64 0x00010001
# Other Item for Cfg4 (Prox/ALS)
100 20 0x00010001
101 80 0x00010001
102 0 0x00010001
105 0 0x00010001
106 100 0x00010001
107 1 0x00010001
108 0x18 0x00010001
109 7 0x00010001
111 0x40 0x00010001
112 0 0x00010001
113 1815 0x00010001
114 623 0x00010001
115 1094 0x00010001
116 113 0x00010001
124 12800 0x00010001
125 3117 0x00010001
203 65536 0x10001 # AMD
225 983040 0x10001 # RMD
504 65536 0x10001 # Gyro Cal
1703 65536 0x10001 # Ped
2800 983040 0x10001 # basic ges
2900 983040 0x10001 # Facing
609 983040 0x10001 # FMV
1005 983040 0x10001 # Grav
1103 983040 0x10001 # orientation
3000 983040 0x10001 # gyro quat
3100 983040 0x10001 # rot vec
3500 1966080 0x10001 # game rv
4112 65536 0x10001 # SMD
4109 3 0x10001 # Sony SMD threshold
4110 30 0x10001 # Sony SMD dyn threshold
4113 1048576 0x10001 # Sony SMD sampling rate (16 Hz, Q16)
3801 1 0x00010001 # QMAG_CAL Configuration