first download the modem-manager 0.4 source files, then in the plugins folder
 open "mm-modem-huawei-gsm.c"  and goto line 519 

change...

[B][COLOR="MediumTurquoise"]    g_debug ("Access Technology: %d", act);
[/COLOR][/B]

to...

[B][COLOR="DarkOrchid"]    if (mm_options_debug ()){
        g_debug ("Access Technology: %d", act);}[/COLOR][/B]

then on line 533 change...

[B][COLOR="MediumTurquoise"]        g_debug ("Duration: %d Up: %d Kbps Down: %d 
Kbps Total: %d Total: %d\n",
                 n1, n2 * 8 / 1000, n3  * 8 / 1000, n4 / 1024, n5 / 
1024);[/COLOR][/B]

to...

[B][COLOR="DarkOrchid"]        if (mm_options_debug()) {
            g_debug ("Duration: %d Up: %d Kbps Down: %d Kbps Total: %d Total: 
%d\n",
                     n1, n2 * 8 / 1000, n3  * 8 / 1000, n4 / 1024, n5 / 
1024);}[/COLOR][/B]

then using Terminal "[B]cd[/B]" to the modem-manager directory (source)
ie: "//home/username/Downloads/modem-manager"

and run

[B]./configure
make
make instal[/B]l

you may need to get some dev dependences using apt-get install or
synaptic or whatever u use

this way the problem will be fixed not worked around ;)
and the info will still log if in debug mode

ps the" mm_options_debug()" function is in the "mm-options.c" file in
the "src" folder if anyone was looking...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/662791

Title:
  modem-manager writes to log every 2 seconds

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to