Fix usb ports on cubox-m

This commit is contained in:
2022-09-05 08:55:27 -04:00
parent 7ff5dc892f
commit ffc56dd893
4 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Additional config to start USB ports
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo 7 > /sys/class/gpio/export;echo out > /sys/class/gpio/gpio7/direction;echo 1 > /sys/class/gpio/gpio7/value"
[Install]
WantedBy=multi-user.target