diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-03-06 13:56:19 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-03-16 22:24:03 +0100 |
commit | 60be293fa57a3d3f6db1d1ae064d42af320f84e0 (patch) | |
tree | 1476558c628525ede31a5d50a4482a1c82682ab3 /plugins/simtech | |
parent | 875ade3e41b61528bbd2b018a5d34c1a1cda9b99 (diff) |
telit: don't ignore AT ports without an explicit port type hint tag
The telit plugin is based on two main ways of checking the purpose of
each port: udev tags flagging specific interfaces (with info taken
from Windows .inf drivers), or otherwise using AT#PORTCFG? to query
the modem about that information. If none of those applies, the port
is ignored by default.
In order to support devices that are not explicitly tagged, the plugin
shouldn't flag as ignored the AT-capable TTYs, instead they are now
grabbed as 'secondary': ports grabbed as secondary will never be used
for either primary/data IF there is another port flagged explicitly
for primary/data.
This fixes the support for modems with a single TTY and no explicit
port type hint tag, e.g. RS232 modems with just one single TTY where
there's no point in specifying port type hints: the port will be
grabbed as secondary, and then automatically promoted to primary/data
as there is no other port grabbed.
https://bugs.freedesktop.org/show_bug.cgi?id=100159
Diffstat (limited to 'plugins/simtech')
0 files changed, 0 insertions, 0 deletions