Legato 16.10.3 ADC Reading broken

Seems there is a gremlin in the soup ā€¦

extern int ciis4_readadc(uint8_t adc) {
	char buf[9];
	int val;

	if (adc > 3) {
		return -1;
	}

	snprintf(buf, 9, "EXT_ADC%i", adc);
	le_adc_ReadValue(buf, &val);

Or using CM

cm adc read EXT_ADC0
Read EXT_ADC0 failed.
May  7 23:08:35 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[526]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_SWI_M2M_ADC_READ_RESP_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
May  7 23:08:35 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[526]/le_pa T=main | pa_adc_qmi.c pa_adc_ReadValue() 151 | Failed to read ADC.0 (channel.10)

Also having problem with Audio settings that are fine in 16.10.2

May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_SWI_M2M_AUDIO_SET_VOLUME_REQ_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/le_pa_audio T=main | pa_audio.c pa_audio_SetGain() 3495 | Cannot set the gain for 4 interface
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/audio T=main | le_audio.c le_audio_SetGain() 1597 | Cannot set stream gain
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_SWI_M2M_AUDIO_SET_TXVOL_REQ_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/le_pa_audio T=main | pa_audio.c pa_audio_SetGain() 3532 | Cannot set the gain for 5 interface
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/audio T=main | le_audio.c le_audio_SetGain() 1597 | Cannot set stream gain
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_SWI_M2M_AUDIO_SET_AVEC_REQ_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/audio T=main | le_audio.c le_audio_EnableEchoCanceller() 2125 | Cannot enable Echo Canceller for audio stream
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 781 | Sending QMI_SWI_M2M_AUDIO_SET_AVNS_REQ_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
May  7 23:58:41 | swi-mdm9x15 | user.err | Legato | =ERR= | audioDaemon[519]/audio T=main | le_audio.c le_audio_EnableNoiseSuppressor() 2049 | Cannot enable Noise Suppressor for audio stream

Hi,

16.10.3 is only compatible with the Release 14 for WP85/WP75 modules, which is not available yet.
I fear that the QMI issues that you are facing are because of this.

Iā€™m not sure why the Release 14 has not been posted on the source yet.
I will check internally and let you know, but hopefully this should be available this week (fw + new toolchain).

Well it seems that the publication of Release 14 is not going to happen until the end of May ā€¦
So for now on WP85 it is best not to use 16.10.3.

Great ill wait for that and perhaps we can meet up in paris in june.

2 Likes

Version 14 of firmware has landed busy building boot/rootfs/legato ā€¦