Comment 9 for bug 450256

Revision history for this message
jfritz (j-fritz) wrote :

the solution proposed in that patch works with my N97/blueman. The patch however does not apply to the latest modemmanager.

modemmanager:
  Installed: 0.2.git.20091014t233208.16f3e00-0ubuntu1

In this revision M_GENERIC_GSM_PROP_POWER_DOWN_CMD is already set to ""

So all that needs changing is the first bit

- g_value_set_string (value, "+CFUN=1");
+ if(strcmp(priv->driver, "bluetooth") == 0)
+ g_value_set_string (value, "");
+ else
+ g_value_set_string (value, "+CFUN=1");

However that will remove CFUN=1 for every bluetooth modem, not sure if that's desirable?