Skip to content

udev rules update

Philippe Nunes ofono 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5udev: Add rules to support ZTE MF668 dongleplugins/ofono.rules+9 -02 replies
2/5udev: Add rules to support ZTE MF190 dongleplugins/ofono.rules+3 -02 replies
3/5udevng.c: tty assignment according OFONO_LABEL should take precedenceplugins/udevng.c+38 -232 replies
4/5udev: Add rules to support Speedup 7300 dongleplugins/ofono.rules+4 -01 reply
5/5udev: Add rules to support SpeedUp 9800 dongleplugins/ofono.rules+4 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] udev rules update

This set of patches have been sent this summer but not upstreamed. As few bugs have been opened which could be fixed by those patches, I resend them for review.

- For Speedup dongles, the logic in udevng is to assign the modem port on the latest interface. This is not true for SpeedUp SU-7300U (BUG #23168) and SpeedUp 9800 (BUG #23167). So, I added 2 specific rules for both dongles.

- For dongle ZTE MF190, 6 interfaces are present and we shall use the interface ttyUSB4 for modem channel. The logic in udevng is to assign the modem channel on the latest interface. To not break the support of ZTE modems with 5 interfaces (which are using the 4th one for PPP, like K3570), I can't extend the current logic to take into account the ttyUSB4. So, I added a specific rule for ZTE MF190.
I added also a specific rule for the dongle ZTE MF668 as the modem channel is not on the latest interface (BUG #23683)

- I modified also udevng.c in order to avoid aux/modem channel assignment done according OFONO_LABEL to be overridden by the default assignment.

Philippe Nunes (5):
udev: Add rules to support ZTE MF668 dongle
udev: Add rules to support ZTE MF190 dongle
udevng.c: tty assignment according OFONO_LABEL should take precedence
udev: Add rules to support Speedup 7300 dongle
udev: Add rules to support SpeedUp 9800 dongle

 plugins/ofono.rules |   20 ++++++++++++++++
 plugins/udevng.c    |   61 +++++++++++++++++++++++++++++++-------------------
 2 files changed, 58 insertions(+), 23 deletions(-)