mirror of https://gerrit.osmocom.org/osmo-ci
gsm-tester/quad_modem_power_cycle.sh: add -n 1d50:4002
uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs. Fixes the error message: Error: changing port state for multiple hubs at once is not supported. Use -l to limit operation to one hub! Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
This commit is contained in:
parent
5707b730f8
commit
a996a64d3d
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
uhubctl -p 123456 -a 0
|
||||
uhubctl -p 123456 -a 0 -n 1d50:4002
|
||||
# give a lot of time to discharge capacitors on the board
|
||||
sleep 20
|
||||
uhubctl -p 123456 -a 1
|
||||
uhubctl -p 123456 -a 1 -n 1d50:4002
|
||||
attempts=30
|
||||
while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do
|
||||
attempts=$(($attempts - 1))
|
||||
|
|
Loading…
Reference in New Issue