server: keep gadget bring-up alive if udev settles slowly
This commit is contained in:
parent
aba2a689b4
commit
9ae39bc0f4
@ -64,7 +64,7 @@ modprobe uvcvideo || { echo "uvcvideo not in kernel; abort" >&2; exit 1; }
|
|||||||
|
|
||||||
udevadm control --reload
|
udevadm control --reload
|
||||||
udevadm trigger --subsystem-match=video4linux
|
udevadm trigger --subsystem-match=video4linux
|
||||||
udevadm settle
|
udevadm settle --timeout=5 || log "⚠️ udevadm settle timed out"
|
||||||
|
|
||||||
#──────────────────────────────────────────────────
|
#──────────────────────────────────────────────────
|
||||||
# 2. Wait for UDC device to appear (max 10 s)
|
# 2. Wait for UDC device to appear (max 10 s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user