After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629898 - Timeout waiting for AT_CPIN
Timeout waiting for AT_CPIN
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: ModemManager
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Depends on:
Blocks:
 
 
Reported: 2010-09-17 05:35 UTC by Robert Backhaus
Modified: 2016-03-11 17:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to increse the timeout during pin check (652 bytes, patch)
2010-09-17 05:35 UTC, Robert Backhaus
none Details | Review

Description Robert Backhaus 2010-09-17 05:35:20 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.
Comment 1 Dan Williams 2010-09-17 18:49:07 UTC
873fc4880610bbae2b37b00b4dc4e06640fc297d

thanks!