le_adc_ReadValue failed after legato upgrage (16.10.2 => 17.08.0)

Hello forum,

I am trying to test the update of the Legato version (17.08.0) on my device (Update with instlegato tool).
With the latest version, le_adc_ReadValue doesn’t work.

Channel names changed ?

cm adc read EXT_ADC0

Oct  2 15:54:15 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[2079]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 808 | Sending QMI_SWI_M2M_ADC_READ_RESP_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
Oct  2 15:54:15 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[2079]/le_pa T=main | pa_adc_qmi.c pa_adc_ReadValue() 151 | Failed to read ADC.0 (channel.10)
Oct  2 15:54:15 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[2079]/modemDaemon T=main | le_mrc.c CloseSessionEventHandler() 1101 | SessionRef (0x28b0c) has been closed
Oct  2 15:54:16 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[2079]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2112 | SessionRef (0x96d8c) has been closed

thanks,
Sylvain

Try with legato 17.06.1

Oct 27 07:00:51 swi-mdm9x15 user.err Legato: =ERR= | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 678 | QMI_SERVICE_AUDIO is not ready
Oct 27 07:00:51 swi-mdm9x15 user.info Legato:  INFO | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 680 | Waiting 500 milliseconds for QMI_SERVICE_AUDIO to be ready (Retry 120)
Oct 27 07:00:51 swi-mdm9x15 user.warn Legato: -WRN- | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 693 | Cannot retrieve active QMI audio profile value, set it to 0
Oct 27 07:00:51 swi-mdm9x15 user.err Legato: =ERR= | audioDaemon[535]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 806 | Sending QMI_SWI_M2M_AUDIO_SET_PROFILE_REQ_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
Oct 27 07:00:51 swi-mdm9x15 user.err Legato: =ERR= | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 722 | Cannot activate the QMI audio profile value to .0
Oct 27 07:00:51 swi-mdm9x15 user.info Legato:  INFO | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 775 | DefaultAcdbDevice.0
Oct 27 07:00:51 swi-mdm9x15 user.info Legato:  INFO | audioDaemon[535]/le_pa_audio T=main | pa_audio.c _le_pa_audio_COMPONENT_INIT() 817 | pa_audio init done
Oct 27 07:00:51 swi-mdm9x15 user.info Legato:  INFO | powerManagerService[544]/powerMgr T=main | le_pm.c le_pm_NewWakeupSource() 341 | Created new wakeup source 'legato_MediaStream_535' for pid 535.

Oct 27 07:01:06 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[541]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 806 | Sending QMI_SWI_M2M_ADC_READ_RESP_V01 failed: rc=-49 (x), resp.result=0.[0x00], resp.error=0.[0x00]
Oct 27 07:01:06 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[541]/le_pa T=main | pa_adc_qmi.c pa_adc_ReadValue() 151 | Failed to read ADC.0 (channel.10)
Oct 27 07:01:07 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[541]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 1560 | SessionRef (0x2895c) has been closed

Work only if legato version <= 16.10.2

what does cm info show?

sorry, I meant cm info

cm info
Device: WP8548
IMEI: 359377060034260
IMEISV:
FSN: LL629100391010
Firmware: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
Bootloader: SWI9X15Y_07.11.22.00 r33729 CARMD-EV-FRMWR1 2017/01/11 18:04:06
PRI PN: 9906350
PRI Rev: 01.00
Carrier PRI Name:
Carrier PRI Rev:
SKU: 1103112
MCU Version: 001.011
LAST RESET REASON: Unknown
RESETS COUNT: Expected: 0 Unexpected: 0

Your modem firmware is too old for 17.08.0. I suggest downloading Release 14 from source.sierrawireless.com and then installing legato 17.08.0 after that.

same problem come for 2.18. version also.
have any other modification in hardware side?