test result: mmcli connecting with IPv6 works, but disconnect does not work

Thomas Schäfer tschaefer at t-online.de
Tue Aug 28 06:23:10 PDT 2012


Am 27.08.2012 11:35, schrieb Aleksander Morgado:
>
>>> What exactly do you mean with disconnect not working?
>>
>> It stays online.
>>
>> I did it in the hard way - unplugging the stick.
>>
>
> Ah, interesting.
>
>>
>>> Can you give me debug logs of ModemManager (just run it with --debug).
>>> Also, please compile libqmi passing -DMESSAGE_ENABLE_TRACE in CFLAGS,
>>> like: ./configure CFLAGS="-DMESSAGE_ENABLE_TRACE"
>>
>> I will do that, but not today.
>>
>
> Great thanks; the QMI traces and debug logs will let us see what really
> happened here.
>
hpmini:~ # mmcli -m 3 --simple-disconnect
error: couldn't disconnect all bearers in the modem: 
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't 
disconnect QMI bearer: this bearer is not connected'
hpmini:~ # mmcli -m 3 --simple-disconnect
error: couldn't disconnect all bearers in the modem: 
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't 
disconnect QMI bearer: this bearer is not connected'
hpmini:~ # mmcli -m 3 --simple-disconnect
error: couldn't disconnect all bearers in the modem: 
'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: Couldn't 
disconnect QMI bearer: this bearer is not connected'
hpmini:~ # mmcli -m 3 --simple-status

/org/freedesktop/ModemManager1/Modem/3
   -------------------------
   Status |          state: 'connected'
          | signal quality: '12' (recent)
          |          bands: 'unknown'
          |    access tech: 'umts, hsdpa, hsupa'
   -------------------------
  3GPP    |   registration: 'home'
          |  operator code: '26202'
          |  operator name: 'Vodafone.de'


I hope I caught the right part of the output:



ModemManager[16474]: <debug> [1346159469.575013] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159469.575341] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159481.647865] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159483.668100] [mm-bearer.c:464] 
mm_bearer_disconnect(): Disconnecting bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159483.668282] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (connected -> 
disconnecting)
ModemManager[16474]: <debug> [1346159483.669622] [mm-bearer.c:392] 
disconnect_ready(): Couldn't disconnect bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159483.669786] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (disconnecting -> 
connected)
ModemManager[16474]: <debug> [1346159484.648017] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159487.648003] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159493.648358] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159496.648372] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159497.840421] [mm-bearer.c:464] 
mm_bearer_disconnect(): Disconnecting bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159497.840627] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (connected -> 
disconnecting)
ModemManager[16474]: <debug> [1346159497.842214] [mm-bearer.c:392] 
disconnect_ready(): Couldn't disconnect bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159497.842393] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (disconnecting -> 
connected)
ModemManager[16474]: <debug> [1346159499.570504] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 12
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 0C:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0C:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 12
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 0C:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0C:00
ModemManager[16474]: <debug> [1346159499.575014] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159499.575131] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159499.575470] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159502.648586] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159508.648870] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159514.648994] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159517.649176] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159526.649440] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159529.571812] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 13
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 0D:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0D:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 13
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 0D:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0D:00
ModemManager[16474]: <debug> [1346159529.577323] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159529.577439] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159529.577774] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159529.649475] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159532.649667] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159535.649831] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159541.650007] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159545.079357] [mm-bearer.c:464] 
mm_bearer_disconnect(): Disconnecting bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159545.079543] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (connected -> 
disconnecting)
ModemManager[16474]: <debug> [1346159545.080946] [mm-bearer.c:392] 
disconnect_ready(): Couldn't disconnect bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159545.081106] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (disconnecting -> 
connected)
ModemManager[16474]: <debug> [1346159553.650392] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159556.650476] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159559.572029] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 14
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 0E:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0E:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 14
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 0E:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0E:00
ModemManager[16474]: <debug> [1346159559.577852] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159559.577950] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159559.578287] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159559.650624] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159571.650975] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159577.651222] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159580.651160] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159586.651507] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159589.571823] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 15
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 0F:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0F:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 15
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 0F:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 0F:00
ModemManager[16474]: <debug> [1346159589.576044] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159589.576162] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159589.576503] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159589.651539] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159598.652016] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159604.652324] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159607.652261] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159610.652457] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159616.652600] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159619.571951] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 16
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 10:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 10:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 16
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 10:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 10:00
ModemManager[16474]: <debug> [1346159619.576541] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159619.576664] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159619.577009] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159622.652813] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159629.108385] [mm-bearer.c:464] 
mm_bearer_disconnect(): Disconnecting bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159629.108570] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (connected -> 
disconnecting)
ModemManager[16474]: <debug> [1346159629.109997] [mm-bearer.c:392] 
disconnect_ready(): Couldn't disconnect bearer 
'/org/freedesktop/ModemManager1/Bearer/3'
ModemManager[16474]: <info>  [1346159629.110159] [mm-iface-modem.c:993] 
mm_iface_modem_update_state(): Modem 
/org/freedesktop/ModemManager1/Modem/3: state changed (disconnecting -> 
connected)
ModemManager[16474]: <debug> [1346159631.653001] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159634.653285] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159640.653356] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159646.653667] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159649.572242] 
[mm-broadband-modem-qmi.c:1480] load_signal_quality(): loading signal 
quality...
ModemManager[16474]: [/dev/cdc-wdm0] Sending message...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 1
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 17
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[16474]: KEY: 11:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 11:00
ModemManager[16474]: [/dev/cdc-wdm0] Received message...
 >>>>>> QMUX:
 >>>>>>   length  = 24
 >>>>>>   flags   = 0x80
 >>>>>>   service = "nas"
 >>>>>>   client  = 1
 >>>>>> QMI:
 >>>>>>   flags       = "response"
 >>>>>>   transaction = 17
 >>>>>>   tlv_length  = 12
 >>>>>>   message     = "Get Signal Strength" (0x0020)
 >>>>>> TLV:
 >>>>>>   type       = "Result" (0x02)
 >>>>>>   length     = 4
 >>>>>>   value      = 00:00:00:00
 >>>>>>   translated = SUCCESS
 >>>>>> TLV:
 >>>>>>   type       = "Signal Strength" (0x01)
 >>>>>>   length     = 2
 >>>>>>   value      = 96:05
 >>>>>>   translated = [ strength = '-106' radio_interface = '5' ]
ModemManager[16474]: KEY: 11:00:01:03:00:00:00:00
ModemManager[16474]:   Service: 03
ModemManager[16474]:   Client ID: 01
ModemManager[16474]:   Transaction ID: 11:00
ModemManager[16474]: <debug> [1346159649.576790] 
[mm-broadband-modem-qmi.c:1399] signal_strength_get_quality(): Signal 
strength (umts): -106 dBm
ModemManager[16474]: <debug> [1346159649.576903] 
[mm-broadband-modem-qmi.c:1421] signal_strength_get_quality(): Signal 
strength: -106 dBm --> 12%
ModemManager[16474]: <info>  [1346159649.577221] [mm-iface-modem.c:800] 
update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/3: 
signal quality updated (12)
ModemManager[16474]: <debug> [1346159649.653589] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159655.653774] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159661.653954] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'
ModemManager[16474]: <debug> [1346159664.654084] 
[mm-at-serial-port.c:385] debug_log(): (ttyUSB1): <-- 
'<CR><LF>^RSSI:3<CR><LF>'


Thomas


More information about the libqmi-devel mailing list