Jump to content

Recommended Posts

Posted

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

 

Posted

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 ;)

Posted

create a file /etc/asound.conf with the following content:

pcm.!default {
    type hw
    card 0
    device 0
}

ctl.!default {
    type hw
    card 0
}

 

Posted
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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines