pmaports/device/testing/device-linksys-jamaica/initfs-hook.sh
Karl Chan fe4141c113
linksys-jamaica: new device (MR 4589)
[ci:skip-build]: Already built successfully in CI.
2023-12-15 13:16:19 -08:00

8 lines
214 B
Bash

#!/bin/sh
# Enable USB Power
echo 482 > /sys/class/gpio/export
echo "out" >/sys/class/gpio/gpio482/direction
echo 0 > /sys/class/gpio/gpio482/value
# Wait 5 seconds to let the kernel detect the usb stick
sleep 5