Mangy_Dog Posted August 31, 2019 Posted August 31, 2019 Hi im using Orange Pi Zero +2 H3 with the current armbian image. 4.19 y i think... basically Im using HDMI out but i want to use the analog audio pins on my project. However the pins seem to be disabled and there doesnt appear any way to enable them. alsamixer only shows the allwinner,HDMI but no controls... Pulse audio panel seems less than helpfulp, lists Analogoutput but doesnt actually send any sound out through the pins. I warn you im not a linux power user. I can just about get around terminal but I dont know where files are off by heart or know exactly what and where to edit. So maybe a little hand holding :) Reading the forums a little people talk about editing a audio.conf file but having a look in the location they mention, no such file exists. if anyone knows this issue and a sure fire way to fix it please let me know :) Thanks Mangy_Dog
guidol Posted September 1, 2019 Posted September 1, 2019 first do enable analog-codec in armbian-config --> system --> hardware and reboot then aplay -l should also show the analog audio card. then you could create for the cardno of the analog audio a /etc/asound.conf file
Mangy_Dog Posted September 1, 2019 Author Posted September 1, 2019 Well activated codec but still no sound, anything next to do?
guidol Posted September 1, 2019 Posted September 1, 2019 show result from aplay -l and the content from /etc/asound.conf or which soznd-command do you use?
Mangy_Dog Posted September 1, 2019 Author Posted September 1, 2019 And still no asound.conf file. What soznd-command? To test speakers im just using some ogg/mp3 files in the built in media player
guidol Posted September 1, 2019 Posted September 1, 2019 create a file /etc/asound.conf with the following content: pcm.!default { type hw card 0 device 0 } ctl.!default { type hw card 0 }
Mangy_Dog Posted September 1, 2019 Author Posted September 1, 2019 amazing thanks It was really quiet but in alsamixer i maxed out the DAC and turned up the lineoput a little sounds great.
Mangy_Dog Posted September 1, 2019 Author Posted September 1, 2019 anyway to keep the dac maxed out? I mean how do i change the default settings or are they saved between restarts?
Mangy_Dog Posted September 1, 2019 Author Posted September 1, 2019 thankies btw turn down your volume :p
guidol Posted September 2, 2019 Posted September 2, 2019 17 hours ago, Mangy_Dog said: anyway to keep the dac maxed out? I mean how do i change the default settings or are they saved between restarts? after you set the volume with alsamixer use alsactl store with alsactl you could also backup (store) and restore from a save-file see -f option at https://linux.die.net/man/1/alsactl
Recommended Posts