From f6676cc5f32a17bb2f4ab55c96f00887034e7458 Mon Sep 17 00:00:00 2001 From: Wenbin Date: Thu, 30 Apr 2026 10:18:33 +0800 Subject: [PATCH] plugin,rolling: Add udev rules for RW135R modules. The Rolling needs to add the udev rules for supporting RW135R modules. Signed-off-by: Wenbin --- src/plugins/rolling/77-mm-rolling-port-types.rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugins/rolling/77-mm-rolling-port-types.rules b/src/plugins/rolling/77-mm-rolling-port-types.rules index 01e1e684..39d9647b 100644 --- a/src/plugins/rolling/77-mm-rolling-port-types.rules +++ b/src/plugins/rolling/77-mm-rolling-port-types.rules @@ -97,4 +97,12 @@ ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="0802", ENV{.MM_USBIFNUM}=="07", SUBS ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="0802", ENV{.MM_USBIFNUM}=="08", SUBSYSTEM=="tty", ENV{ID_MM_PORT_IGNORE}="1" ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="0802", ENV{.MM_USBIFNUM}=="09", SUBSYSTEM=="tty", ENV{ID_MM_PORT_IGNORE}="1" +# Rolling RW135R (MBIM in iface #0, ADB in iface #5) +# ttyUSB0 (if #2): GNSS data +# ttyUSB1 (if #3): QCDM port +# ttyUSB2 (if #4): AT port +ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="1003", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_GPS}="1" +ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="1003", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_QCDM}="1" +ATTRS{idVendor}=="33f8", ATTRS{idProduct}=="1003", ENV{.MM_USBIFNUM}=="04", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1" + LABEL="mm_rolling_port_types_end"