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.
This commit is contained in:
Aleksander Morgado
2013-05-27 15:45:03 +02:00
parent e134a81a87
commit 05ac6b6cf1

View File

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