Skip to content

broadband-modem-telit: fix endless loop when enabling events in secondary port

Daniele Palmas requested to merge dnlplm/ModemManager:dp/fix-endless-loop into main

Fix the following endless loop when enabling events in the secondary port:

ModemManager[18330]: <dbg> [1730818490.004609] [modem2] (shared-telit) enabling telit-specific 3GPP unsolicited events in primary port
ModemManager[18330]: <dbg> [1730818490.004660] [ttyACM0/at] device open count is 3 (open)
ModemManager[18330]: <dbg> [1730818490.004727] [ttyACM2/at] device open count is 1 (close)
ModemManager[18330]: <dbg> [1730818490.004788] [ttyACM0/at] --> 'AT+CIND=0,1,1,0,0,0,1,0,0<CR>'
ModemManager[18330]: <dbg> [1730818490.037794] [ttyACM0/at] <-- '<CR><LF>+CME ERROR: 3<CR><LF>'
ModemManager[18330]: <dbg> [1730818490.037946] [ttyACM0/at] operation failure: 3 (Operation not allowed)
ModemManager[18330]: <wrn> [1730818490.038003] [modem2] (shared-telit) couldn't enable custom +CIND settings: Operation not allowed
ModemManager[18330]: <dbg> [1730818490.038031] [modem2] (shared-telit) enabling telit-specific 3GPP unsolicited events in secondary port
ModemManager[18330]: <dbg> [1730818490.038080] [ttyACM2/at] device open count is 2 (open)
ModemManager[18330]: <dbg> [1730818490.038128] [ttyACM0/at] device open count is 2 (close)
ModemManager[18330]: <dbg> [1730818490.038188] [ttyACM2/at] --> 'AT+CIND=0,1,1,0,0,0,1,0,0<CR>'
ModemManager[18330]: <dbg> [1730818490.071216] [ttyACM2/at] <-- '<CR><LF>ERROR<CR><LF>'
ModemManager[18330]: <dbg> [1730818490.071361] [ttyACM2/at] operation failure: 100 (Unknown error)
ModemManager[18330]: <wrn> [1730818490.071417] [modem2] (shared-telit) couldn't enable custom +CIND settings: Unknown error
ModemManager[18330]: <dbg> [1730818490.071446] [modem2] (shared-telit) enabling telit-specific 3GPP unsolicited events in secondary port
ModemManager[18330]: <dbg> [1730818490.071491] [ttyACM2/at] device open count is 3 (open)
ModemManager[18330]: <dbg> [1730818490.071542] [ttyACM2/at] device open count is 2 (close)
ModemManager[18330]: <dbg> [1730818490.071601] [ttyACM2/at] --> 'AT+CIND=0,1,1,0,0,0,1,0,0<CR>'
ModemManager[18330]: <dbg> [1730818490.104826] [ttyACM2/at] <-- '<CR><LF>ERROR<CR><LF>'
ModemManager[18330]: <dbg> [1730818490.104970] [ttyACM2/at] operation failure: 100 (Unknown error)
ModemManager[18330]: <wrn> [1730818490.105026] [modem2] (shared-telit) couldn't enable custom +CIND settings: Unknown error
ModemManager[18330]: <dbg> [1730818490.105052] [modem2] (shared-telit) enabling telit-specific 3GPP unsolicited events in secondary port
ModemManager[18330]: <dbg> [1730818490.105099] [ttyACM2/at] device open count is 3 (open)
ModemManager[18330]: <dbg> [1730818490.105203] [ttyACM2/at] device open count is 2 (close)
ModemManager[18330]: <dbg> [1730818490.105290] [ttyACM2/at] --> 'AT+CIND=0,1,1,0,0,0,1,0,0<CR>'
ModemManager[18330]: <dbg> [1730818490.138372] [ttyACM2/at] <-- '<CR><LF>ERROR<CR><LF>'
ModemManager[18330]: <dbg> [1730818490.138518] [ttyACM2/at] operation failure: 100 (Unknown error)
ModemManager[18330]: <wrn> [1730818490.138575] [modem2] (shared-telit) couldn't enable custom +CIND settings: Unknown error
ModemManager[18330]: <dbg> [1730818490.138604] [modem2] (shared-telit) enabling telit-specific 3GPP unsolicited events in secondary port

Merge request reports

Loading