and as patch: (build instructions are found here https://bugs.launchpad.net/modemmanager/+bug/430576 )
--- a/src/mm-generic-gsm.c 2009-10-15 01:35:39.000000000 +0200 +++ b/src/mm-generic-gsm.c 2009-10-27 00:06:28.000000000 +0100 @@ -1932,7 +1932,11 @@ g_value_set_boolean (value, priv->valid); break; case MM_GENERIC_GSM_PROP_POWER_UP_CMD: - 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"); + break; case MM_GENERIC_GSM_PROP_POWER_DOWN_CMD: /* CFUN=0 is dangerous and often will shoot devices in the head (that's
and as patch: /bugs.launchpad .net/modemmanag er/+bug/ 430576 )
(build instructions are found here https:/
--- a/src/mm- generic- gsm.c 2009-10-15 01:35:39.000000000 +0200 generic- gsm.c 2009-10-27 00:06:28.000000000 +0100
g_value_ set_boolean (value, priv->valid); GSM_PROP_ POWER_UP_ CMD: priv->driver, "bluetooth") == 0) GSM_PROP_ POWER_DOWN_ CMD:
+++ b/src/mm-
@@ -1932,7 +1932,11 @@
break;
case MM_GENERIC_
- g_value_set_string (value, "+CFUN=1");
+ if(strcmp(
+ g_value_set_string (value, "");
+ else
+ g_value_set_string (value, "+CFUN=1");
+
break;
case MM_GENERIC_
/* CFUN=0 is dangerous and often will shoot devices in the head (that's