[PATCH] broadband-bearer: run init sequence after flashing in disconnection

Tim Small tim at seoss.co.uk
Tue Jul 25 13:31:23 UTC 2017


On 25/07/17 13:48, Aleksander Morgado wrote:
> What do you think of this change? It should clear up the mixup of commands sent while flashing is ongoing.

Hi Aleksander,

That patch looks reasonable, with the caveat that I don't have my head
around the code base at all :-).

It appears to do the job in limited testing:

56.227702] Flashing data port (ttyUSB0)...
56.227879] (ttyUSB0): port attributes not fully set
57.228965] (ttyUSB0): disabling RTS/CTS flow control
57.229207] (ttyUSB0) device open count is 2 (close)
57.229237] (ttyUSB0): running init sequence...
57.229262] Sending PDP context deactivation in primary/data port...
57.229286] (ttyUSB0) device open count is 3 (open)
57.229311] (ttyUSB0): --> 'ATE0<CR>'

Thanks!

Tim.

-- 
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53  http://seoss.co.uk/ +44-(0)1273-808309


More information about the ModemManager-devel mailing list