mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-20 17:12:45 +07:00
Update sun50iw6.conf
This commit is contained in:
21
external/config/sources/families/sun50iw6.conf
vendored
21
external/config/sources/families/sun50iw6.conf
vendored
@@ -6,10 +6,11 @@ OVERLAY_PREFIX='sun50i-h6'
|
|||||||
GOVERNOR=ondemand
|
GOVERNOR=ondemand
|
||||||
ASOUND_STATE='asound.state.sun50iw2-current'
|
ASOUND_STATE='asound.state.sun50iw2-current'
|
||||||
|
|
||||||
case $BRANCH in
|
|
||||||
legacy)
|
|
||||||
|
|
||||||
LINUXFAMILY=sun50iw6
|
LINUXFAMILY=sun50iw6
|
||||||
|
|
||||||
|
case $BRANCH in
|
||||||
|
|
||||||
|
legacy)
|
||||||
KERNELBRANCH="branch:orange-pi-4.9-sun50iw6"
|
KERNELBRANCH="branch:orange-pi-4.9-sun50iw6"
|
||||||
KERNELPATCHDIR=${BOARDFAMILY}-${BRANCH}
|
KERNELPATCHDIR=${BOARDFAMILY}-${BRANCH}
|
||||||
|
|
||||||
@@ -34,6 +35,7 @@ case $BRANCH in
|
|||||||
|
|
||||||
if [[ ${BOARD} == orangepi3-lts ]]; then
|
if [[ ${BOARD} == orangepi3-lts ]]; then
|
||||||
|
|
||||||
|
ASOUND_STATE='asound.state.sun50iw6-current'
|
||||||
KERNELBRANCH="branch:orange-pi-5.10"
|
KERNELBRANCH="branch:orange-pi-5.10"
|
||||||
LINUXCONFIG=linux-5.10-sunxi64-current
|
LINUXCONFIG=linux-5.10-sunxi64-current
|
||||||
fi
|
fi
|
||||||
@@ -59,15 +61,14 @@ family_tweaks_s()
|
|||||||
[[ $BRANCH == legacy ]] && chroot $SDCARD /bin/bash -c "systemctl --no-reload enable ap6255-wifi.service >/dev/null 2>&1"
|
[[ $BRANCH == legacy ]] && chroot $SDCARD /bin/bash -c "systemctl --no-reload enable ap6255-wifi.service >/dev/null 2>&1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if [[ $BUILD_DESKTOP == yes ]]; then
|
if [[ $BUILD_DESKTOP == yes && $BOARD == orangepi3-lts ]]; then
|
||||||
|
|
||||||
# sed -i "s/auto-profiles = yes/auto-profiles = no/" ${SDCARD}/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
|
sed -i "s/auto-profiles = yes/auto-profiles = no/" ${SDCARD}/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
|
||||||
|
echo "load-module module-alsa-sink device=hw:0,0 sink_name=AudioCodec-Playback sink_properties=\"device.description='Audio Codec'\"" >> ${SDCARD}/etc/pulse/default.pa
|
||||||
|
echo "load-module module-alsa-sink device=hw:1,0 sink_name=HDMI-Playback sink_properties=\"device.description='HDMI Audio'\"" >> ${SDCARD}/etc/pulse/default.pa
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# if [[ $BRANCH == legacy ]]; then
|
|
||||||
# echo "load-module module-alsa-sink device=hw:1,0 sink_name=AudioCodec-Playback sink_properties=\"device.description='Audio Codec'\"" >> ${SDCARD}/etc/pulse/default.pa
|
|
||||||
# echo "load-module module-alsa-sink device=hw:0,0 sink_name=HDMI-Playback sink_properties=\"device.description='HDMI Audio'\"" >> ${SDCARD}/etc/pulse/default.pa
|
|
||||||
# fi
|
|
||||||
#fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
family_tweaks_bsp()
|
family_tweaks_bsp()
|
||||||
|
|||||||
Reference in New Issue
Block a user