GNOME Bugzilla – Bug 629898
Timeout waiting for AT_CPIN
Last modified: 2016-03-11 17:42:11 UTC
Created attachment 170461 [details] [review] Patch to increse the timeout during pin check When trying to connect on ubuntu 10.04 and using a Samsung SGH-A501 connected via bluetooth, the connection times out while waiting for a response to AT+CPIN. Relevant log from modem-manager:** Message: (ttyACM0) opening serial device... ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (disable d -> enabling) ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'ATZ E0 V1 +CMEE=1<CR>' ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>OK<CR><LF>' ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'ATE0 +CMEE=1<CR>' ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>OK<CR><LF>' ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'ATX4 &C1<CR>' ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>OK<CR><LF>' ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'AT+CREG=0<CR>' ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>OK<CR><LF>' ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'AT+CFUN=1<CR>' ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>OK<CR><LF>' ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state changed (enabling -> enabled) ** (modem-manager:6774): DEBUG: (ttyACM0): --> 'AT+CPIN?<CR>' <Note: Connection attempt dies here after a ~5 second wait. The next line comes after a ~10 second wait> ** (modem-manager:6774): DEBUG: (ttyACM0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>' Extending the timeout to a longer time (10 seconds works here) fixes this issue.
873fc4880610bbae2b37b00b4dc4e06640fc297d thanks!