---
 plugins/ofono.hwdb |  9 +++++++++
 plugins/udevng.c   | 10 ----------
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/plugins/ofono.hwdb b/plugins/ofono.hwdb
index 881497d..1097b8c 100644
--- a/plugins/ofono.hwdb
+++ b/plugins/ofono.hwdb
@@ -24,3 +24,12 @@ usb:v19D2p0016*icFFiscFFipFFin03
 usb:v19D2p0017*icFFiscFFipFFin03
  OFONO_LABEL=none
 
+# Alcatel
+usb:v1BBBp0017*icFFiscFFipFF*
+ OFONO_DRIVER=alcatel
+
+usb:v1BBBp0017*icFFiscFFipFFin03
+ OFONO_LABEL=aux
+
+usb:v1BBBp0017*icFFiscFFipFFin05
+ OFONO_LABEL=modem
diff --git a/plugins/udevng.c b/plugins/udevng.c
index 3662370..ff14869 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -520,17 +520,8 @@ static gboolean setup_alcatel(struct modem_info *modem)
 
                if (g_strcmp0(info->label, "aux") == 0) {
                        aux = info->devnode;
-                       if (mdm != NULL)
-                               break;
                } else if (g_strcmp0(info->label, "modem") == 0) {
                        mdm = info->devnode;
-                       if (aux != NULL)
-                               break;
-               } else if (g_strcmp0(info->interface, "255/255/255") == 0) {
-                       if (g_strcmp0(info->number, "03") == 0)
-                               aux = info->devnode;
-                       else if (g_strcmp0(info->number, "05") == 0)
-                               mdm = info->devnode;
                }
        }
 
@@ -1427,7 +1418,6 @@ static struct {
        { "speedupcdma","option",       "1c9e", "9e00"  },
        { "speedup",    "option",       "1c9e"          },
        { "speedup",    "option",       "2020"          },
-       { "alcatel",    "option",       "1bbb", "0017"  },
        { "simcom",     "option",       "05c6", "9000"  },
        { "telit",      "usbserial",    "1bc7"          },
        { "telit",      "option",       "1bc7"          },
-- 
2.9.3

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to