>From fdd03fd77f303a367137d73a1180a48bfabdc41a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 27 May 2013 15:45:03 +0200 Subject: [PATCH] wavecom: don't grab ports handled by the qcserial driver Sierra Wireless will assign the Wavecom USB vendor ID to some Gobi-based modems, like the MC7750. Just ignore those by filtering out all devices with the Wavecom USB vendor ID if they are handled by the qcserial driver. --- plugins/wavecom/mm-plugin-wavecom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/wavecom/mm-plugin-wavecom.c b/plugins/wavecom/mm-plugin-wavecom.c index 80b6ed7..39fa27a 100644 --- a/plugins/wavecom/mm-plugin-wavecom.c +++ b/plugins/wavecom/mm-plugin-wavecom.c @@ -61,12 +61,14 @@ mm_plugin_create (void) { static const gchar *subsystems[] = { "tty", NULL }; static const guint16 vendor_ids[] = { 0x114f, 0 }; + static const gchar *forbidden_drivers[] = { "qcserial", NULL }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_WAVECOM, MM_PLUGIN_NAME, "Wavecom", MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, + MM_PLUGIN_FORBIDDEN_DRIVERS, forbidden_drivers, MM_PLUGIN_ALLOWED_AT, TRUE, NULL)); } -- 1.8.1.4