core: don't automatically probe ports of USB<->serial adapters

We should not automatically probe ports marked as coming from USB to serial
adapters, as we're not sure that a modem is behind the adapter. Still, let the
user request a manual scan and have these devices probed in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=647556
https://bugzilla.gnome.org/show_bug.cgi?id=691076
This commit is contained in:
Aleksander Morgado
2013-03-02 14:13:32 +01:00
parent 3678ae5378
commit 8450b7b2a3
6 changed files with 50 additions and 20 deletions

View File

@@ -78,9 +78,9 @@ name_acquired_cb (GDBusConnection *connection,
{
mm_dbg ("Service name '%s' was acquired", name);
/* Launch scan for devices */
/* Launch automatic scan for devices */
g_assert (manager);
mm_manager_start (manager);
mm_manager_start (manager, FALSE);
}
static void