diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2023-10-06 08:43:36 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-10-11 12:52:00 +0000 |
commit | 16c3e3381204fcfd5615983dd48e56d71d8685dc (patch) | |
tree | de65d39146176761f10156affb9640a1de5abe3f | |
parent | bc7eda356bd57f7487053195b67d5dc12601e3ae (diff) |
udev: always ignore the Qualcomm recovery layout (05c6:9008)
-rw-r--r-- | src/80-mm-candidate.rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/80-mm-candidate.rules b/src/80-mm-candidate.rules index 04ff3c46..a9c5a6ea 100644 --- a/src/80-mm-candidate.rules +++ b/src/80-mm-candidate.rules @@ -13,11 +13,16 @@ ACTION!="add|change|move|bind", GOTO="mm_candidate_end" # connection. Don't do that. KERNEL=="rfcomm*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end" +# All Qualcomm-based USB devices may switch to a recovery layout with a single +# serial port in QDL mode if they fail to boot correctly too many times. +SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", ENV{ID_MM_DEVICE_IGNORE}="1" + +# Generic candidate rules for tty/usbmisc/net subsystems SUBSYSTEM=="tty", ENV{ID_MM_CANDIDATE}="1" SUBSYSTEM=="net", ENV{ID_MM_CANDIDATE}="1" KERNEL=="cdc-wdm*", SUBSYSTEM=="usbmisc", ENV{ID_MM_CANDIDATE}="1" -# WWAN subsystem port handling +# WWAN subsystem candidate rules # - All USB devices ignored for now, only PCI devices expected # - Only "wwan_port" device types processed (single ports); we fully ignore # the "wwan_dev" device type (full device, not just one port) |