orangepi5: Add set_device.sh

This commit is contained in:
orangepi-xunlong 2022-12-09 19:25:17 +08:00
parent 0bc5f04e33
commit 7006ba0424
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/bin/bash
sudo bash -c "echo device > /sys/kernel/debug/usb/fc000000.usb/mode"
sudo systemctl restart usbdevice