and copy it to /etc every time you want to have the sound redirected to HDMI.
if you want to get back to original configuration then you need to delete /etc/asound.conf and restart applications which uses sound card.

and copy it to /etc every time you want to have the sound redirected to HDMI.
if you want to get back to original configuration then you need to delete /etc/asound.conf and restart applications which uses sound card.

Thank you fanthom

I tried before /~.asoundrc with this information, and now /etc/asound.conf.
If I test with speaker-test command, not show any error, but no sound.

I tried copy2ram with rootcopy /etc/asound.conf, without my modules and no sound yet.

“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead