diff options
author | Devaev Maxim <[email protected]> | 2020-10-07 03:27:00 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-07 03:27:00 +0300 |
commit | 9e03dd35a468c49a5bdf813bb7b7b6e1a2f54156 (patch) | |
tree | 78314e388b9230b9eb882adc458c9fbff7e7781f | |
parent | 6ae7adfb33df2bafb810876ba54cc99689e94f03 (diff) |
dr_mode=peripheral
-rw-r--r-- | configs/os/boot-config/v2-hdmi-rpi4.txt | 2 | ||||
-rw-r--r-- | configs/os/boot-config/v2-hdmi-zerow.txt | 2 | ||||
-rw-r--r-- | configs/os/boot-config/v2-hdmiusb-rpi4.txt | 2 | ||||
-rw-r--r-- | kvmd.install | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/configs/os/boot-config/v2-hdmi-rpi4.txt b/configs/os/boot-config/v2-hdmi-rpi4.txt index cabdfe8a..93f623d0 100644 --- a/configs/os/boot-config/v2-hdmi-rpi4.txt +++ b/configs/os/boot-config/v2-hdmi-rpi4.txt @@ -7,4 +7,4 @@ start_x=1 enable_uart=1 dtoverlay=tc358743 dtoverlay=disable-bt -dtoverlay=dwc2 +dtoverlay=dwc2,dr_mode=peripheral diff --git a/configs/os/boot-config/v2-hdmi-zerow.txt b/configs/os/boot-config/v2-hdmi-zerow.txt index 8972df44..d2704601 100644 --- a/configs/os/boot-config/v2-hdmi-zerow.txt +++ b/configs/os/boot-config/v2-hdmi-zerow.txt @@ -7,4 +7,4 @@ start_x=1 enable_uart=1 dtoverlay=tc358743,i2c_pins_28_29=1 dtoverlay=disable-bt -dtoverlay=dwc2 +dtoverlay=dwc2,dr_mode=peripheral diff --git a/configs/os/boot-config/v2-hdmiusb-rpi4.txt b/configs/os/boot-config/v2-hdmiusb-rpi4.txt index b034599c..a53ba19c 100644 --- a/configs/os/boot-config/v2-hdmiusb-rpi4.txt +++ b/configs/os/boot-config/v2-hdmiusb-rpi4.txt @@ -5,4 +5,4 @@ hdmi_force_hotplug=1 gpu_mem=16 enable_uart=1 dtoverlay=disable-bt -dtoverlay=dwc2 +dtoverlay=dwc2,dr_mode=peripheral diff --git a/kvmd.install b/kvmd.install index da310e44..678a38a3 100644 --- a/kvmd.install +++ b/kvmd.install @@ -20,5 +20,6 @@ post_upgrade() { chown kvmd /var/lib/kvmd/msd || true echo "==> Patching configs ..." - sed -i -e "s/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g" /boot/config.txt + sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt + sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt } |