diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-30 11:01:29 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-30 17:08:23 +0200 |
commit | 36733aa4de83bfce7676899c7d1acea36cc4a147 (patch) | |
tree | 8af13b0b7917d9597deff4f287d03669216fee7a /test/disconnect.py | |
parent | 3132e34dc143e90542746f3c85102584279433b0 (diff) |
base-modem: allow looking for the QMI port associated to a given data port
QMI and wwan ports come in pairs. Each wwan port has an associated control QMI
port, which is the only port allowed to send the Start|Stop Network QMI requests
to start|stop the connection in the given wwan interface.
Paired QMI and wwan interfaces (should) share the same parent udev device,
quoting Bjørn:
"If we ignore the unfortunate 3.4 and 3.5 kernels, then a matching wwanX
and cdc-wdmY set will always share the same parent USB interface on QMI
devices.
Having the same parent USB device is *not* sufficient. You cannot control
wwan0 using cdc-wdm1 in the above example."
Diffstat (limited to 'test/disconnect.py')
0 files changed, 0 insertions, 0 deletions