10-26-2016, 10:04 PM
(This post was last modified: 10-26-2016, 10:10 PM by pfeerick.
Edit Reason: in multiple code boxes to prevent scrolling
)
Ok, repeated all of the steps I documented above on a clean ubuntu image, and mplayer had no problems at all playing audio (on the headphones jack) - I am currently listening to a MP3 radio stream from my national radio news service.
Did you do all of the steps (up to and including the reboot) (repeated below without duplicate sudos, and without scrolling code box). This was using the ethernet - and a clean 20160507-1 ubuntu image - so nothing else has been configured at all.
--->>> Reboot to allow kernel update to take effect
--->>> Reboot to allow module and group changes to take effect
Did you do all of the steps (up to and including the reboot) (repeated below without duplicate sudos, and without scrolling code box). This was using the ethernet - and a clean 20160507-1 ubuntu image - so nothing else has been configured at all.
Code:
sudo su
pine64_update_uboot.sh
pine64_update_kernel.sh
reboot
--->>> Reboot to allow kernel update to take effect
Code:
sudo su
apt-get update
apt-get install alsa-base alsa-utils pulseaudio
cat <<EOF >/etc/modules-load.d/pine64-audiojack.conf
sunxi_codec
sunxi_i2s
sunxi_sndcodec
EOF
Code:
wget https://raw.githubusercontent.com/longsleep/build-pine64-image/master/blobs/asound.state
mv asound.state /var/lib/alsa/asound.state
usermod -a -G audio ubuntu
reboot now
--->>> Reboot to allow module and group changes to take effect
Code:
mplayer -playlist http://www.abc.net.au/res/streaming/audio/mp3/news_radio.pls