Bug 314751

Summary: Mobile broadband, unlike the wi-fi that works properly, does not mark the percentage of the signal does not work and the graph on the download speed.
Product: [Unmaintained] Network Management Reporter: piermoscardi <piermoscardi>
Component: Mobile BroadbandAssignee: Lamarque V. Souza <lamarque>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: gortab, yadtxizh
Priority: NOR    
Version: 0.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description piermoscardi 2013-02-09 10:05:29 UTC
Mobile broadband, unlike the wi-fi that works properly, does not mark the percentage of the signal does not work and the graph on the download speed.
Comment 1 Lamarque V. Souza 2013-02-09 13:08:01 UTC
Which Plasma NM version do you use and what is your modem's model and manufecturer? Keep in mind that some modems do not report signal strength (only the numbers of bars for that signal strengh) and as so there will be no percentage coming from ModemManager.
Comment 2 piermoscardi 2013-02-09 13:52:43 UTC
Il 09/02/2013 14:08, Lamarque V. Souza ha scritto:
>   Comment #1 from Lamarque V. Souza<lamarque@kde.org>  ---
> Which Plasma NM version do you use and what is your modem's model and
> manufecturer? Keep in mind that some modems do not report signal strength (only
> the numbers of bars for that signal strengh) and as so there will be no
> percentage coming from ModemManager.
>
> -- You are receiving this mail because: You reported the bug.
"KDE - Live free!
Platform Version 4.9.4 "

Version of the modem: Ducati Honda MDC 502 HS

With different graphical environment (xfce) also indicates the
percentage of the signal.

Thank you, good job
Comment 3 Lamarque V. Souza 2013-02-09 14:11:25 UTC
(In reply to comment #2)
> Il 09/02/2013 14:08, Lamarque V. Souza ha scritto:
> >   Comment #1 from Lamarque V. Souza<lamarque@kde.org>  ---
> > Which Plasma NM version do you use and what is your modem's model and
> > manufecturer? Keep in mind that some modems do not report signal strength (only
> > the numbers of bars for that signal strengh) and as so there will be no
> > percentage coming from ModemManager.
> >
> > -- You are receiving this mail because: You reported the bug.
> "KDE - Live free!
> Platform Version 4.9.4 "

I meant the Plasma NM version, not KDE SC's. You can see Plasma NM's version string in "Manage Connections" -> "Other".
 
> Version of the modem: Ducati Honda MDC 502 HS

I was not able to find if that modem has problems to report signal strengh with ModemManager. What does the command below return?

dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
/org/freedesktop/ModemManager/Modems/0 \
org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
 
If /org/freedesktop/ModemManager/Modems/0 is not your modem use the command below to figure that out:

dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
/org/freedesktop/ModemManager org.freedesktop.ModemManager.EnumerateDevices

> With different graphical environment (xfce) also indicates the
> percentage of the signal.

I am not sure if xfce uses ModemManager to handle 3G modems.
 
> Thank you, good job

Thanks.
Comment 4 piermoscardi 2013-02-09 14:33:28 UTC
Il 09/02/2013 15:11, Lamarque V. Souza ha scritto:
> https://bugs.kde.org/show_bug.cgi?id=314751
>
> --- Comment #3 from Lamarque V. Souza <lamarque@kde.org> ---
> (In reply to comment #2)
>> Il 09/02/2013 14:08, Lamarque V. Souza ha scritto:
>>>    Comment #1 from Lamarque V. Souza<lamarque@kde.org>  ---
>>> Which Plasma NM version do you use and what is your modem's model and
>>> manufecturer? Keep in mind that some modems do not report signal strength (only
>>> the numbers of bars for that signal strengh) and as so there will be no
>>> percentage coming from ModemManager.
>>>
>>> -- You are receiving this mail because: You reported the bug.
>> "KDE - Live free!
>> Platform Version 4.9.4 "
> I meant the Plasma NM version, not KDE SC's. You can see Plasma NM's version
> string in "Manage Connections" -> "Other".
>
>> Version of the modem: Ducati Honda MDC 502 HS
> I was not able to find if that modem has problems to report signal strengh with
> ModemManager. What does the command below return?
>
> dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
> /org/freedesktop/ModemManager/Modems/0 \
> org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
>
> If /org/freedesktop/ModemManager/Modems/0 is not your modem use the command
> below to figure that out:
>
> dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
> /org/freedesktop/ModemManager org.freedesktop.ModemManager.EnumerateDevices
>
>> With different graphical environment (xfce) also indicates the
>> percentage of the signal.
> I am not sure if xfce uses ModemManager to handle 3G modems.
>
>> Thank you, good job
> Thanks.
>
ier@pier-K53SV:~$ dbus-send - system - print-reply - dest = 
org.freedesktop.ModemManager
Usage: dbus-send [--help] [--system | --session | --address=ADDRESS] 
[--dest=NAME] [--type=TYPE] [--print-reply[=literal]] 
[--reply-timeout=MSEC] <destination object path> <message name> 
[contents ...]

pier@pier-K53SV:~$ dbus-send --system --print-reply 
--dest=org.freedesktop.ModemManager \
 > /org/freedesktop/ModemManager 
org.freedesktop.ModemManager.EnumerateDevices
method return sender=:1.2 -> dest=:1.227 reply_serial=2
    array [
       object path "/org/freedesktop/ModemManager/Modems/2"

Thank you, good job
Comment 5 Lamarque V. Souza 2013-02-09 14:35:41 UTC
You should use the command below (all in one line) to see if ModemManager reports signal quality:

dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
/org/freedesktop/ModemManager/Modems/2 \
org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
Comment 6 piermoscardi 2013-02-09 14:47:00 UTC
Il 09/02/2013 15:35, Lamarque V. Souza ha scritto:
> https://bugs.kde.org/show_bug.cgi?id=314751
>
> --- Comment #5 from Lamarque V. Souza <lamarque@kde.org> ---
> You should use the command below (all in one line) to see if ModemManager
> reports signal quality:
>
> dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
> /org/freedesktop/ModemManager/Modems/2 \
> org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
>
pier@pier-K53SV:~$ dbus-send --system --print-reply 
--dest=org.freedesktop.ModemManager \
 > /org/freedesktop/ModemManager/Modems/2 \
 > org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
method return sender=:1.2 -> dest=:1.231 reply_serial=2
    uint32 35
Comment 7 Lamarque V. Souza 2013-02-09 14:54:25 UTC
Ok, so it should work in Plasma NM. What is the Plasma NM version you use? You can see the version string in "Manage Connections" -> "Other".
Comment 8 piermoscardi 2013-02-09 15:05:45 UTC
Il 09/02/2013 15:54, Lamarque V. Souza ha scritto:
> --- Comment #7 from Lamarque V. Souza<lamarque@kde.org>  ---
> Ok, so it should work in Plasma NM. What is the Plasma NM version you use? You
> can see the version string in "Manage Connections" -> "Other".
>
> -- You are receiving this mail because: You reported the bug.
version 0.9.0.5 (nm 09 20120930)
Comment 9 Lamarque V. Souza 2013-02-16 11:13:41 UTC
I have just pushed a commit [1] that problem fixes the download speed problem. I am investigating why signal quality is not working.

[1] http://commits.kde.org/networkmanagement/87cc7bd6a20eb3684c9100a693138eb9767dc66c
Comment 10 piermoscardi 2013-02-17 11:48:08 UTC
Il 16/02/2013 12:13, Lamarque V. Souza ha scritto:
> I have just pushed a commit [1] that problem fixes the download speed problem.
> I am investigating why signal quality is not working.
Thank you, good job
Comment 11 Lamarque V. Souza 2013-06-08 01:31:54 UTC
Is the signal quality problem still happening with Plasma NM 0.9.0.8?
Comment 12 Lamarque V. Souza 2013-06-08 01:36:30 UTC
*** Bug 319257 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2013-07-11 22:18:46 UTC
If you can provide the information requested in comment #1, please add it.
Comment 14 ray-ven 2013-09-10 04:52:48 UTC
Hello,
I'm still trying to get the signalstrength of my 3g device and making it visible in the applet. At the moment it's just an "empty" space in the tray. I tried 

dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \
> /org/freedesktop/ModemManager/Modems/2 \
> org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality

Error org.freedesktop.DBus.Error.UnknownMethod: Method "GetSignalQuality" with signature "" on interface "org.freedesktop.ModemManager.Modem.Gsm.Network" doesn't exist

dbus-send --system --print-reply --dest=org.freedesktop.ModemManager \ /org/freedesktop/ModemManager org.freedesktop.ModemManager.EnumerateDevices

process 3964: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file ../../dbus/dbus-message.c line 1266.
This is normally a bug in some application using the D-Bus library.
process 3964: arguments to dbus_message_set_auto_start() were incorrect, assertion "message != NULL" failed in file ../../dbus/dbus-message.c line 2951.
This is normally a bug in some application using the D-Bus library.
Couldn't allocate D-Bus message

I'm working on Ubuntu 13.04 Kde 4.11 NM-Applet 0.9.0.9 with 0bdb:1911 Ericsson Business Mobile Networks BV

Thank you
Comment 15 ray-ven 2013-09-10 05:20:05 UTC
i should mention, that it sometimes showed signalstrength when desktop effects where off, but not anymore