mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 16:41:52 +08:00
Support of alternative boards/SBCs (#19)
* adding rock64 board * fix file permissions * disable atx gpio for rock64 (breaks ethernet); restore package url; fix install * added gpio pin definitions to config * renamed rock64 board to generic * udev rule for generic board, improved device detection * this udev fix should work for most boards: it skips video0 if it's not on USB, and doesn't select video2 * cleanup * improved usb video device selection
This commit is contained in:
@@ -20,6 +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=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt
|
||||
[ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt
|
||||
[ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user