Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 62ee291c authored by Baozhu Zuo's avatar Baozhu Zuo Committed by Robert Nelson
Browse files

fix A2DP permission problem

parent 8717be60
Branches
Tags
No related merge requests found
......@@ -281,19 +281,19 @@ setup_A2DP () {
echo "ACTION==\"add\", KERNEL==\"hci0\", RUN+=\"/bin/hciconfig hci0 up\"" >> ${wfile}
#config alsa
wfile="/etc/asound.conf"
echo "pcm.!default {" > ${wfile}
echo " type pulse" >> ${wfile}
echo " fallback "sysdefault"" >> ${wfile}
echo " hint {" >> ${wfile}
echo " show on" >> ${wfile}
echo " description "ALSA Output to pulseaudio"" >> ${wfile}
echo " }" >> ${wfile}
echo "}" >> ${wfile}
echo "ctl.!default {" >> ${wfile}
echo " type pulse" >> ${wfile}
echo " fallback "sysdefault"" >> ${wfile}
echo "}" >> ${wfile}
# wfile="/etc/asound.conf"
# echo "pcm.!default {" > ${wfile}
# echo " type pulse" >> ${wfile}
# echo " fallback "sysdefault"" >> ${wfile}
# echo " hint {" >> ${wfile}
# echo " show on" >> ${wfile}
# echo " description "ALSA Output to pulseaudio"" >> ${wfile}
# echo " }" >> ${wfile}
# echo "}" >> ${wfile}
# echo "ctl.!default {" >> ${wfile}
# echo " type pulse" >> ${wfile}
# echo " fallback "sysdefault"" >> ${wfile}
# echo "}" >> ${wfile}
}
install_pip_pkgs () {
if [ -f /usr/bin/python ] ; then
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment