Comment 10 for bug 248630

Revision history for this message
João Neves (jneves) wrote : Re: UMTS PCMCIA modem not picked up

It works. I changed the line above and added a few nm_debug() calls to know what's going on. This was the final result:

Sep 18 09:56:11 home NetworkManager: <info> Activation (ttyS1) Stage 1 of 5 (Device Prepare) complete.
Sep 18 09:56:11 home NetworkManager: <debug> [1221728171.639507] modem_wait_for_reply(): sending to device: AT E0
Sep 18 09:56:11 home NetworkManager: <debug> [1221728171.643485] modem_wait_for_reply(): sending to device: AT+CPIN?
Sep 18 09:56:11 home NetworkManager: <debug> [1221728171.647612] modem_wait_for_reply(): sending to device: AT+COPS=0,0,"P OPTIMUS"
Sep 18 09:56:11 home NetworkManager: <debug> [1221728171.667688] modem_wait_for_reply(): sending to device: AT+CGDCONT=1, "IP", "myconnection"
Sep 18 09:56:11 home NetworkManager: <debug> command: ATD*99***1#
Sep 18 09:56:11 home NetworkManager: <debug> [1221728171.779754] modem_wait_for_reply(): sending to device: ATD*99***1#
Sep 18 09:56:11 home NetworkManager: <info> Connected, Woo!

Now I only need to (re)learn about +COPS to remember what the first 2 values mean to provide a patch.