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:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user