# # 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 # 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: # # 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. # ef63s.conf :version 0x00010002 ######################################################################## ### 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 1902 0xaf4644363f26965d 0x00010001 1903 0xc10ffaeed4057c96 0x00010001 1904 3000 0x00010001 1905 2000 0x00010001 1906 12 0x00010001 1907 0 0x00010001 1908 0 0x00010001 1909 73 0x00010001 1910 68 0x00010001 1911 0 0x00010001 1912 0x18 0x00010001 1913 1 0x00010001 1914 0 0x00010001 1915 1 0x00010001 1916 1 0x00010001 1917 0x40 0x00010001 1982 0 0x00010001 # SSI SMGR Cfg 1 1918 0xc347c5575be90345 0x00010001 1919 0xc0b3f9bee990498d 0x00010001 1920 30000 0x00010001 1921 30000 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 0 0x00010001 1932 2 0x00010001 1933 0x40 0x00010001 1983 0 0x00010001 # SSI SMGR Cfg 2 1934 0xbd403129b15b7905 0x00010001 1935 0x1dc79ad346a827b3 0x00010001 1936 10000 0x00010001 1937 10000 0x00010001 1938 3 0x00010001 1939 1020 0x00010001 1940 -1 0x00010001 1941 0xFFFF 0x00010001 1942 0xFFFF 0x00010001 1943 20 0x00010001 1944 0x2E 0x00010001 1945 2 0x00010001 1946 0 0x00010001 1947 -1 0x00010001 1948 0 0x00010001 1949 0 0x00010001 1984 0 0x00010001 # SSI SMGR Cfg 3 1950 0x0000000000000000 0x00010001 1951 0x0000000000000000 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 0x0EE/2 0x00010001 1961 7 0x00010001 1962 0 0x00010001 1963 0xFF 0x00010001 1964 0 0x00010001 1965 0 0x00010001 1985 0 0x00010001 # SSI SMGR Cfg 4 1966 0xcc44f904e9e569f7 0x00010001 1967 0x9ab11a6ea1c0218a 0x00010001 1968 5000 0x00010001 1969 0 0x00010001 1970 3 0x00010001 1971 1040 0x00010001 1972 0xFFFF 0x00010001 1973 80 0x00010001 1974 0xFFFF 0x00010001 1975 40 0x00010001 1976 0x39 0x00010001 1977 5 0x00010001 1978 6 0x00010001 1979 0xFF 0x00010001 1980 0 0x00010001 1981 0xc0 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 0xFFFF 0x00010001 # QMAG_CAL Configuration smgr (1) sam (0) 3801 0 0x00010001 # Default report rates for algorithms 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 3400 65536 0x10001 # CMC 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 # sam parameters for BMA2x2 201 0x1048 0x00010001 #AMD_INT_cfg_prm1 202 0xcccd 0x00010001 #AMD_INT_cfg_prm2 211 0x10db 0x00010001 #VMD_INT_cfg_prm1 221 0x20000 0x00010001 #RMD_INT_cfg_prm1 222 0x451f 0x00010001 #RMD_INT_cfg_prm2 223 0x1acf 0x00010001 #RMD_INT_cfg_prm3 224 0x451f 0x00010001 #RMD_INT_cfg_prm4 :platform Fluid # Fluid has a different orientation of sensors 700 1 0x00010001 701 -2 0x00010001 702 -3 0x00010001 800 1 0x00010001 801 -2 0x00010001 802 -3 0x00010001 900 1 0x00010001 901 2 0x00010001 902 3 0x00010001 ######################################################################## ### 8x26 Chipsets ######################################################################## :hardware 8226 :platform # Orientation of sensors 700 -2 0x00010001 701 -1 0x00010001 702 -3 0x00010001 800 -2 0x00010001 801 -1 0x00010001 802 -3 0x00010001 900 -1 0x00010001 901 2 0x00010001 902 -3 0x00010001 # SMGR SSI Configuration 1900 1 0x00010001 1901 1 0x00010001 1903 0xc10ffaeed4057c96 0x00010001 1902 0xaf4644363f26965d 0x00010001 1919 0x1b810db85f93c082 0x00010001 1918 0xc546930e071dc819 0x00010001 1935 0x6b7b6b353051699e 0x00010001 1934 0xe1451a747fc17ad2 0x00010001 1951 0x0 0x00010001 1950 0x0 0x00010001 1967 0x9ab11a6ea1c0218a 0x00010001 1966 0xcc44f904e9e569f7 0x00010001 1904 2000 0x00010001 1920 150000 0x00010001 1936 100000 0x00010001 1952 0 0x00010001 1968 5000 0x00010001 1905 100000 0x00010001 1921 100000 0x00010001 1937 0 0x00010001 1953 0 0x00010001 1969 0 0x00010001 1906 2 0x00010001 1907 1000 0x00010001 1908 0 0x00010001 1909 63 0x00010001 1910 0xFFFF 0x00010001 1922 2 0x00010001 1923 1010 0x00010001 1924 10 0x00010001 1925 64 0x00010001 1926 0xFFFF 0x00010001 1938 2 0x00010001 1939 1020 0x00010001 1940 0xFFFF 0x00010001 1941 0xFFFF 0x00010001 1942 0xFFFF 0x00010001 1954 0 0x00010001 1955 0xFFFF 0x00010001 1956 0xFFFF 0x00010001 1957 0xFFFF 0x00010001 1958 0xFFFF 0x00010001 1970 2 0x00010001 1971 1040 0x00010001 1972 0xFFFF 0x00010001 1973 0xFFFF 0x00010001 1974 0xFFFF 0x00010001 1911 0 0x00010001 1912 0x18 0x00010001 1913 1 0x00010001 1914 0 0x00010001 1915 0xFF 0x00010001 1916 1 0x00010001 1917 0x40 0x00010001 1927 10 0x00010001 1928 0x68 0x00010001 1929 3 0x00010001 1930 4 0x00010001 1931 0xFF 0x00010001 1932 3 0x00010001 1933 0x40 0x00010001 1943 20 0x00010001 1944 0x0C 0x00010001 1945 2 0x00010001 1946 0 0x00010001 1947 0xFF 0x00010001 1948 0 0x00010001 1949 0 0x00010001 1959 30 0x00010001 1960 0x0 0x00010001 1961 7 0x00010001 1962 4 0x00010001 1963 0xFF 0x00010001 1964 0 0x00010001 1965 0 0x00010001 1975 40 0x00010001 1976 0x39 0x00010001 1977 5 0x00010001 1978 6 0x00010001 1979 0xFF 0x00010001 1980 0 0x00010001 1981 0 0x00010001 1982 0 0x00010001 1983 0 0x00010001 1984 0 0x00010001 1985 0 0x00010001 1986 0 0x00010001 # GPIO SSI Configuration 2700 1 0x00010001 2701 0 0x00010001 2702 6 0x00010001 2703 7 0x00010001 2706 62 0x00010001 # QMAG_CAL Configuration 3801 0 0x00010001 # sam parameters for BMA2x2 201 0x1048 0x00010001 202 0xcccd 0x00010001 211 0x10db 0x00010001 221 0x20000 0x00010001 222 0x451f 0x00010001 223 0x1acf 0x00010001 224 0x451f 0x00010001 :platform MTP # Override orientation on MTP 700 -1 0x00010001 701 -2 0x00010001 702 3 0x00010001 800 2 0x00010001 801 -1 0x00010001 802 3 0x00010001 900 -1 0x00010001 901 2 0x00010001 902 -3 0x00010001 # On MTP, also disable the prox/light sensor by zero-ing out the UUID 1967 0 0x00010001 1966 0 0x00010001 :platform SKUF # Override orientation on SKUF 700 -1 0x00010001 701 2 0x00010001 702 -3 0x00010001 # Override gyro orientation 800 -1 0x00010001 801 2 0x00010001 802 -3 0x00010001 # Override accel 1903 0x14ac75f5047dffbf 0x00010001 1902 0x3a4b28e0ebfab614 0x00010001 1912 0x19 0x00010001 # override mag 1935 0x1dc79ad346a827b3 0x00010001 1934 0xbd403129b15b7905 0x00010001 1941 66 0x00010001 1944 0x2E 0x00010001 # override prox/light 1966 0x194a7a549019f36d 0x00010001 1967 0x2f1531647b9aa8b3 0x00010001 1976 0x23 0x00010001 :platform SKUG # Override gyro orientation 800 -1 0x00010001 #gyro-x-axis 801 -2 0x00010001 #gyro-y-axis 802 3 0x00010001 #gyro-z-axis # override gyroscope as MPU6050 1919 0x8d79ae42524820ad 0x00010001 1918 0xcc4575757b462d60 0x00010001 1925 64 0x00010001 1928 0x68 0x00010001 # override mag as MEMSIC3XXX 1935 0xbe02212a00fd2182 0x00010001 1934 0xe1478ad2a73e07b2 0x00010001 1941 66 0x00010001 1944 0x30 0x00010001 # override prox/light as ISL29147 100 10 0x00010001 101 60 0x00010001 102 20 0x00010001 103 200 0x00010001 104 200 0x00010001 105 100 0x00010001 106 100 0x00010001 107 0xC001 0x00010001 1967 0xd67bfccdfd7fb594 0x00010001 1966 0x2645a3e15fb0a0a9 0x00010001 1976 0x44 0x00010001