Skip to content

Commit

Permalink
dr_mode=peripheral
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Oct 7, 2020
1 parent 6ae7adf commit 9e03dd3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/os/boot-config/v2-hdmi-rpi4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ start_x=1
enable_uart=1
dtoverlay=tc358743
dtoverlay=disable-bt
dtoverlay=dwc2
dtoverlay=dwc2,dr_mode=peripheral
2 changes: 1 addition & 1 deletion configs/os/boot-config/v2-hdmi-zerow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion configs/os/boot-config/v2-hdmiusb-rpi4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ hdmi_force_hotplug=1
gpu_mem=16
enable_uart=1
dtoverlay=disable-bt
dtoverlay=dwc2
dtoverlay=dwc2,dr_mode=peripheral
3 changes: 2 additions & 1 deletion kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 9e03dd3

Please sign in to comment.