mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 18:40:09 +01:00
modem: delay probe of cdc-acm devices by 2s as well
Some cards are just going to need delayed probing if they take a bit respond to AT commands after being plugged in. We can optimize further by doing an initial check, waiting a small time for the response, then checking again at 1s, waiting a small time, then checking at 2 seconds and waiting for the full timeout for those devices where --delay is given.
This commit is contained in:
parent
a2b55d4370
commit
67f8c95180
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ ACTION!="add|change", GOTO="nm_modem_probe_end"
|
|||
SUBSYSTEM!="tty", GOTO="nm_modem_probe_end"
|
||||
KERNEL!="tty*", GOTO="nm_modem_probe_end"
|
||||
|
||||
DRIVERS=="option|sierra|cdc_acm|hso", IMPORT{program}="nm-modem-probe --export $tempnode"
|
||||
DRIVERS=="serial_cs", IMPORT{program}="nm-modem-probe --delay 2000 --export $tempnode"
|
||||
DRIVERS=="option|sierra|hso", IMPORT{program}="nm-modem-probe --export $tempnode"
|
||||
DRIVERS=="serial_cs|cdc_acm", IMPORT{program}="nm-modem-probe --delay 2000 --export $tempnode"
|
||||
|
||||
LABEL="nm_modem_probe_end"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue