tweak usb reset wait time, fix test script with IAR server

This commit is contained in:
hathach
2023-12-13 19:18:08 +07:00
parent b343ac6d0f
commit 31c33ca853
3 changed files with 10 additions and 7 deletions

View File

@@ -96,9 +96,9 @@ jobs:
run: |
for port in $(lspci | grep USB | cut -d' ' -f1); do
echo -n "0000:${port}"| sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind;
sleep 1;
sleep 0.5;
echo -n "0000:${port}" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind;
sleep 1;
sleep 3;
done
- name: Test on actual hardware

View File

@@ -148,9 +148,9 @@ jobs:
run: |
for port in $(lspci | grep USB | cut -d' ' -f1); do
echo -n "0000:${port}"| sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind;
sleep 1;
sleep 0.5;
echo -n "0000:${port}" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind;
sleep 1;
sleep 3;
done
- name: Test on actual hardware