udev rules update
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | udev: Add rules to support ZTE MF668 dongleplugins/ | +9 | 2 replies | |
| 2/5 | udev: Add rules to support ZTE MF190 dongleplugins/ | +3 | 2 replies | |
| 3/5 | udevng.c: tty assignment according OFONO_LABEL should take precedenceplugins/ | +38 | 2 replies | |
| 4/5 | udev: Add rules to support Speedup 7300 dongleplugins/ | +4 | 1 reply | |
| 5/5 | udev: Add rules to support SpeedUp 9800 dongleplugins/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)