01-12-2018, 01:29 PM
I had posted a thread recently requesting assistance to get ayufan Linux configured to support analog (sound) audio from the internal 3.5 mm A/V (headphone) jack. There were apparently a number of Rock64 users interested in this discussion, but there were no respondents offering any suggestions.
Since then, I came across an excellent document detailing alsa configuration that lead me to implement the following solution in that I can now obtain audio from the Rock64's 3.5 mm headphone jack.
sudo nano /etc/asound.conf
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
(Control-X to save file)
Note that this configuration has only been tested on stretch-minimal-rock64-0.6.15-175-arm64 but should work on all current ayufan images. It does not add a volume control to alsamixer, so you'll have to do additional configuration if your application requires a volume control.
Bill, WA8WG
Since then, I came across an excellent document detailing alsa configuration that lead me to implement the following solution in that I can now obtain audio from the Rock64's 3.5 mm headphone jack.
sudo nano /etc/asound.conf
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
(Control-X to save file)
Note that this configuration has only been tested on stretch-minimal-rock64-0.6.15-175-arm64 but should work on all current ayufan images. It does not add a volume control to alsamixer, so you'll have to do additional configuration if your application requires a volume control.
Bill, WA8WG