Update for Orange Pi 5 ubuntu22.04 v1.0.2

This commit is contained in:
orangepi-xunlong
2022-12-09 14:16:22 +08:00
parent 69dd359f20
commit 22c084dd44
15 changed files with 494 additions and 109 deletions

View File

@@ -110,12 +110,10 @@ prepare_board() {
chown root.video /dev/video-*
fi
if [[ ${DISTRIBUTION_CODENAME} == "bullseye" ]]; then
for p in $(modetest|grep "^Planes:" -A 9999|grep -o "^[0-9]*");
do
modetest -M rockchip -aw $p:ASYNC_COMMIT:1 &>/dev/null
done
fi
for p in $(modetest|grep "^Planes:" -A 9999|grep -o "^[0-9]*");
do
modetest -M rockchip -aw $p:ASYNC_COMMIT:1 &>/dev/null
done
bt_status=$(cat /proc/device-tree/wireless-bluetooth/status)
if [[ ${bt_status} == "okay" ]]; then