Comment 4 for bug 662791

Revision history for this message
sonnettie (sonnettie) wrote :

OH OK NO HTML

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...

g_debug ("Access Technology: %d", act);

to...

if (mm_options_debug ()){
g_debug ("Access Technology: %d", act);}

then on line 533 change...

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);

to...

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);}

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

and run

./configure
make
make install

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...