modem: delay probing of all modems by 2 seconds

For the moment; until we can optimize the prober.  The problem is that a modem
that's not fully powered up and ready to talk looks exactly the same as a tty
that just doesn't support AT commands at all.
This commit is contained in:
Dan Williams 2009-02-24 07:08:24 -05:00
parent 3e6671d7a7
commit 715848c2c5

View file

@ -4,8 +4,7 @@ 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|hso", IMPORT{program}="nm-modem-probe --export $tempnode"
DRIVERS=="serial_cs|cdc_acm", IMPORT{program}="nm-modem-probe --delay 2000 --export $tempnode"
DRIVERS=="option|sierra|hso|serial_cs|cdc_acm", IMPORT{program}="nm-modem-probe --delay 2000 --export $tempnode"
LABEL="nm_modem_probe_end"