mirror of https://gerrit.osmocom.org/osmo-ci
anisble: gsm-tester: uhubctl: add "-n 1d50:4002"
uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs. Selecting only one hub. 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
b3ce1d1f2d
commit
ecb756f37c
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
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
|
# give a lot of time to discharge capacitors on the board
|
||||||
sleep 20
|
sleep 20
|
||||||
uhubctl -p 123456 -a 1
|
uhubctl -p 123456 -a 1 -n 1d50:4002
|
||||||
attempts=30
|
attempts=30
|
||||||
while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do
|
while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do
|
||||||
attempts=$(($attempts - 1))
|
attempts=$(($attempts - 1))
|
||||||
|
|
Loading…
Reference in New Issue