Questions about ModemManager
- From: Ozan Çağlayan <ozan pardus org tr>
- To: networkmanager-list gnome org
- Subject: Questions about ModemManager
- Date: Fri, 25 Sep 2009 12:50:56 +0300
Hi,
I have some problems with MM that I can't figure out how to correctly
handle. I'm using D-Bus for communicating with MM.
1. After calling Connect() and using PPPD to create a PPP connection
through a modem, how should I cleanly disconnect from device? I first
terminate PPPD and then call Disconnect() over D-Bus but after that I'm
having serial connection timeouts over MM if I recall Connect() a second
time. What's the purpose of Disconnect()? Should it be used? It doesn't
seem to send some AT commands at all as the --debug output of MM stays
intact after Disconnect() calls.
2. What does 'No cause information available' means?
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>+CME ERROR:
11<CR><LF>'
** (modem-manager:7311): DEBUG: Got failure code 11: SIM PIN required
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'AT+CFUN=1<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'AT+CSQ<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>+CME ERROR:
11<CR><LF>'
** (modem-manager:7311): DEBUG: Got failure code 11: SIM PIN required
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'AT+CPIN="****"<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'AT+CSQ<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>+CSQ:
13,99<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'ATDT*99#<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>NO CARRIER<CR><LF>'
** (modem-manager:7311): DEBUG: Got failure code 3: No carrier
** (modem-manager:7311): DEBUG: (ttyUSB0): --> 'AT+CEER<CR>'
** (modem-manager:7311): DEBUG: (ttyUSB0): <-- '<CR><LF>+CEER: No cause
information available<CR><LF><CR><LF>OK<CR><LF>'
3. What does Enable() exactly do on the device?
Thanks,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]