Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

No sensor working on OP7

  • /e/ version: 0.14
  • Device model(s): OnePlus 7

Summary

All hardware sensors listed below do now work :

  • Accelerometer
  • Light (Button disabled in top bar)
  • Proximity
  • Compass
  • Gyroscope
  • Orientation

The problem

There is some problem with OS to access hardware sensors on this device.

Steps to reproduce

  1. Use OP7 device
  2. Navigate to top bar
  3. Check light button and auto-rotate button

What is the current behavior? No response from sensors

What is the expected correct behavior? All above mentioned sensors should work

Technical informations

Relevant logs (adb logcat)

02-25 23:43:33.261  1116  1810 E LightsService: Light requested not available on this device. 2
02-25 23:43:33.372   750  4957 D audio_hw_primary: start_output_stream: enter: stream(0xe8f9e000)usecase(1: low-latency-playback) devices(0x2)
02-25 23:43:33.373   750  4957 D audio_hw_primary: select_devices for use case (low-latency-playback)
02-25 23:43:33.373   750  4957 I msm8974_platform: platform_get_output_snd_device: enter: output devices(0x2)
02-25 23:43:33.373   750  4957 D audio_hw_primary: select_devices: out_snd_device(10: speaker) in_snd_device(0: )
02-25 23:43:33.373   750  4957 D ultrasound_extn: ultrasound_select_devices_pre ultrasound_enabled:0 usecase(low-latency-playback), devices:2 in_snd_device(0, ), out_snd_device(10, speaker)
02-25 23:43:33.373   750  4957 D ultrasound_extn: dump_usecase_list: SDM660 enter sensor_activated:0 hw_port_enabled:0
02-25 23:43:33.373   750  4957 D ultrasound_extn: dump_usecase_list: SDM660 select_devices_pre usecase[#0]:(1, low-latency-playback) in_dev:(0, ) out_dv:(0, )
02-25 23:43:33.373   750  4957 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
02-25 23:43:33.373   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(1) new_snd_devices(0)
02-25 23:43:33.373   750  4957 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 10
02-25 23:43:33.373   750  4957 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
02-25 23:43:33.373   750  4957 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-25 23:43:33.373   750  4957 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-25 23:43:33.373   750  4957 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-25 23:43:33.373   750  4957 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
02-25 23:43:33.373   750  4957 D audio_hw_primary: check_usecases_codec_backend:becf: (85) check_usecases curr device: speaker, usecase device: backends match 0
02-25 23:43:33.373   750  4957 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
02-25 23:43:33.373   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(0) new_snd_devices(0)
02-25 23:43:33.373   750  4957 D hardware_info: hw_info_append_hw_type : device_name = speaker
02-25 23:43:33.373   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(0) new_snd_devices(0)
02-25 23:43:33.373   750  4957 D audio_hw_primary: enable_snd_device: snd_device(10: speaker)
02-25 23:43:33.373   750  4957 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xa of type 0 for Event 1, with Raise=0
02-25 23:43:33.373   750  4957 D audio_route: Apply path: speaker
02-25 23:43:33.373   750  4957 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
02-25 23:43:33.373   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(151) num devices(0) new_snd_devices(-358791827)
02-25 23:43:33.373   750  4957 D audio_hw_primary: enable_snd_device: snd_device(151: vi-feedback)
02-25 23:43:33.373   750  4957 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x97 of type 1 for Event 1, with Raise=0
02-25 23:43:33.373   750  4957 D audio_route: Apply path: vi-feedback
02-25 23:43:33.374   750  4957 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 48 of type 1 for Event 3, with Raise=0
02-25 23:43:33.374   750  4957 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->in_snd_device vi-feedback
02-25 23:43:33.374   750  4957 E voice   : voice_is_in_call_rec_stream: input stream is NULL
02-25 23:43:33.374   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(151) num devices(0) new_snd_devices(0)
02-25 23:43:33.374   750  4957 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 35 App Type Cfg
02-25 23:43:33.374   750  4957 E voice   : voice_is_in_call_rec_stream: input stream is NULL
02-25 23:43:33.374   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(151) num devices(1) new_snd_devices(0)
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 102, path = 1, app id = 0x11132, sample rate = 48000
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> send_asm_topology
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> send_adm_topology
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> send_audtable
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[102] app_type[69938]
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> send_audvoltable
02-25 23:43:33.374   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
02-25 23:43:33.374   750  4957 D         : Failed to fetch the lookup information of the device 00000066 
02-25 23:43:33.375   750  4957 E ACDB-LOADER: Error: ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE Returned = -19
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 0
02-25 23:43:33.375   750  4957 D         : Failed to fetch the lookup information of the device 00000066 
02-25 23:43:33.375   750  4957 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> send_audstrmtable
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> send_afe_topology
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 102, Topology Id 1000b909
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> send_afe_cal
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[17] acdb_id[102]
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 102 path = 1
02-25 23:43:33.375   750  4957 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
02-25 23:43:33.375   750  4957 D audio_hw_primary: enable_audio_route: apply mixer and update path: spkr-vi-record
02-25 23:43:33.375   750  4957 D audio_route: Apply path: spkr-vi-record
02-25 23:43:33.373   787   822 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
02-25 23:43:33.376  1116  1116 V SettingsProvider: Notifying for 0: content://settings/system/accelerometer_rotation
02-25 23:43:33.378   750  4957 E audio_hw_tfa98xx_feedback: audio_extn_tfa98xx_start_feedback: pcm device tx id=35
02-25 23:43:33.394   750  4957 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-25 23:43:33.394   750  4957 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device speaker
02-25 23:43:33.394   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(0) new_snd_devices(0)
02-25 23:43:33.394   750  4957 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-25 23:43:33.394   750  4957 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 15, sample_rate 48000, snd_device_be_idx 39
02-25 23:43:33.395   750  4957 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(1) new_snd_devices(0)
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_asm_topology
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_adm_topology
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_audtable
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[15] app_type[69937]
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_audvoltable
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 5
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_audstrmtable
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_afe_topology
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1000b910
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_afe_cal
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[16] acdb_id[15]
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
02-25 23:43:33.395   750  4957 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
02-25 23:43:33.395   750  4957 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback quat_i2s
02-25 23:43:33.396   750  4957 D audio_route: Apply path: low-latency-playback quat_i2s
02-25 23:43:33.396   750  4957 D ultrasound_extn: ultrasound_select_devices_post: enter: engine_suspended: 0
02-25 23:43:33.396   750  4957 D ultrasound_extn: dump_usecase_list: SDM660 enter sensor_activated:0 hw_port_enabled:0
02-25 23:43:33.396   750  4957 D ultrasound_extn: dump_usecase_list: SDM660 select_devices_post usecase[#0]:(1, low-latency-playback) in_dev:(0, ) out_dv:(10, speaker)
02-25 23:43:33.396   750  4957 D ultrasound_extn: dump_usecase_list: SDM660 select_devices_post usecase[#1]:(48, spkr-vi-record) in_dev:(151, vi-feedback) out_dv:(0, )
02-25 23:43:33.396   750  4957 D audio_hw_primary: select_devices:FOUND ultrasound devices : snd_device(10: speaker)
02-25 23:43:33.396   750  4957 D audio_hw_primary: select_devices:NotifyAudioState AUDIO_ULTRASOUND_ENABLE !
02-25 23:43:33.396   750  4957 D audio_hw_primary: select_devices: done
02-25 23:43:33.397   750  4957 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map13
02-25 23:43:33.397   750  4957 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
02-25 23:43:33.399   750  1328 I audio_hw_primary: NotifyAudioState :1
02-25 23:43:33.431   750  4957 D audio_hw_primary: start_output_stream: exit
02-25 23:43:35.514   948  1056 I ThermalEngine: Monitor : quiet_therm = 32107, msm_therm = 33725, xo_therm = 33284, battery_therm = 315,current_now = 237000 
02-25 23:43:36.520   750 11670 D audio_hw_primary: out_standby: enter: stream (0xe8f9e000) usecase(1: low-latency-playback)
02-25 23:43:36.554   750 11670 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback quat_i2s
02-25 23:43:36.558   750 11670 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
02-25 23:43:36.558   750 11670 D hardware_info: hw_info_append_hw_type : device_name = speaker
02-25 23:43:36.559   750 11670 D audio_hw_primary: disable_snd_device: snd_device(10: speaker)
02-25 23:43:36.559   750 11670 D msm8974_platform: platform_split_snd_device: snd_device(10) num devices(0) new_snd_devices(0)
02-25 23:43:36.579   750 11670 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
02-25 23:43:36.579   750 11670 D audio_hw_primary: disable_snd_device: snd_device(151: vi-feedback)
02-25 23:43:36.579   750 11670 D msm8974_platform: platform_split_snd_device: snd_device(151) num devices(0) new_snd_devices(-403194284)
02-25 23:43:36.579   750 11670 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x97 of type 1 for Event 0, with Raise=0
02-25 23:43:36.579   750 11670 D audio_hw_primary: disable_audio_route: reset and update mixer path: spkr-vi-record
02-25 23:43:36.581   750 11670 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 48 of type 1 for Event 2, with Raise=0
02-25 23:43:36.582   750 11670 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xa of type 0 for Event 0, with Raise=0
02-25 23:43:36.582   750 11670 D audio_hw_primary: disable_snd_device:NotifyAudioState AUDIO_ULTRASOUND_DISABLE !!
02-25 23:43:36.582   750 11670 D audio_hw_primary: out_standby: exit
02-25 23:43:36.586   750  1328 I audio_hw_primary: NotifyAudioState :0
02-25 23:43:38.706  1116  1829 D ConnectivityService: handleMessage >EVENT_NETWORK_CAPABILITIES_CHANGED<
02-25 23:43:38.706  1116  1829 D ConnectivityService: maybeHandleNetworkMonitorMessage: 528386
02-25 23:43:38.706  1116  1829 D ConnectivityService: notifyType CALLBACK_CAP_CHANGED for NetworkAgentInfo [WIFI () - 113]
02-25 23:43:38.706  1116  1829 D ConnectivityService:  sending notification for NetworkRequest [ REQUEST id=1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN Unwanted: ] ]
02-25 23:43:38.706  1116  1829 D ConnectivityService:  sending notification for NetworkRequest [ LISTEN id=3, [] ]
02-25 23:43:38.706  1116  1829 D ConnectivityService: sending notification CALLBACK_CAP_CHANGED for NetworkRequest [ LISTEN id=3, [] ]
02-25 23:43:38.706  1116  1829 D ConnectivityService:  sending notification for NetworkRequest [ LISTEN id=4, [ Capabilities: NOT_RESTRICTED&TRUSTED&NOT_VPN Unwanted:  Uid: 1000] ]
02-25 23:43:38.706   747 24084 D /vendor/bin/sscrpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:925: Error 0x68: remote_handle_invoke failed for handle 0x3, method 4 on domain 2 (sc 0x4020200)

Relevant screenshots

image

image

Solutions

Workaround

Possible fixes

Edited by Nivesh Krishna