mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-03-25 18:16:42 +07:00
Update for Orange Pi 3B v1.0.4
This commit is contained in:
@@ -298,6 +298,7 @@ prepare_board() {
|
||||
/usr/bin/hciattach_opi -n -s 1500000 /dev/ttyBT0 sprd &
|
||||
;;
|
||||
orangepicm4|orangepi3b)
|
||||
echo host > /sys/devices/platform/fe8a0000.usb2-phy/otg_mode
|
||||
if [[ -c /dev/mpp_service ]]; then
|
||||
chmod 666 /dev/mpp_service
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo bash -c "echo device > /sys/kernel/debug/usb/fc000000.usb/mode"
|
||||
sudo bash -c "echo peripheral > /sys/devices/platform/fe8a0000.usb2-phy/otg_mode"
|
||||
sudo systemctl restart usbdevice
|
||||
|
||||
Reference in New Issue
Block a user