phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.39k stars 655 forks source link

[Sony Xperia X (suzu)][/e/ OS GSI] Microphone doesn't work #1997

Open breversa opened 3 years ago

breversa commented 3 years ago

Hello !

After installing an /e/ OS GSI (https://images.ecloud.global/dev/treble_arm64_avN/) on a Sony Xperia X (suzu) (https://github.com/phhusson/treble_experimentations/wiki/Sony-Xperia-X), I was informed that the microphone doesn't work : during a call, the remote participant is heard just fine, but the local participant is not heard.

Here's a log after a call using Signal, taken using MatLog : device_info.txt dmesg.txt logcat.txt

breversa commented 3 years ago

I believe the relevant lines start here : 09-04 11:15:38.155 E/audio_hw_utils(16102): send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 16 App Type Cfg

And then :

09-04 11:15:38.157 E/ACDB-LOADER(16102): Error: ACDB get asm topology returned = -8
09-04 11:15:38.159 E/ACDB-LOADER(16102): Error: ACDB get adm topology for acdb id = 4, returned = -8
09-04 11:15:38.160 E/ACDB-LOADER(16102): Error: ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE Returned = -19
09-04 11:15:38.161 E/ACDB-LOADER(16102): Error: ACDB audproc returned = -19
09-04 11:15:38.163 E/ACDB-LOADER(16102): Error: ACDB_CMD_GET_AUDPROC_VOL_STEP_TABLE_SIZE Returned = -19
09-04 11:15:38.164 E/ACDB-LOADER(16102): Error: ACDB AudProc vol returned = -19
09-04 11:15:38.166 E/ACDB-LOADER(16102): Error: ACDB_CMD_GET_AUDPROC_STREAM_TABLE_SIZE Returned = -19
09-04 11:15:38.167 E/ACDB-LOADER(16102): Error: ACDB get audstream table returned = -19
09-04 11:15:38.170 E/ACDB-LOADER(16102): Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
09-04 11:15:38.171 E/ACDB-LOADER(16102): Error: ACDB AFE returned = -19
09-04 11:15:38.173 E/audio_route(16102): unable to find path 'audio-record-voip'
09-04 11:15:38.178 E/audio_hw_primary(16102): start_input_stream: pcm_prepare returned -1
breversa commented 3 years ago

(Also posted here : https://community.e.foundation/t/device-support-project-treble/19645/66?u=breversa)