NixOS on ARM/ODROID-HC4: Difference between revisions
imported>Erdnaxe No edit summary |
imported>Erdnaxe Add audio |
||
| Line 77: | Line 77: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== No HDMI audio by default == | |||
After enabling ALSA you should see a sound card named "ODROID-HC4". Audio is not correctly routed by default so you might need to open alsa-mixer and change: | |||
* <code>FRDDR_A SINK 1 SEL</code> to <code>OUT 1</code> | |||
* <code>FRDDR_A SRC 1 EN</code> to on | |||
* <code>TDMOUT_B SRC SEL</code> to <code>IN 0</code> | |||
* <code>TOHDMITX</code> to on | |||
* <code>TOHDMITX I2S SRC</code> to <code>I2S B</code> | |||
After these changes, <code>speaker-test -c 2</code> should output white noise. | |||
== Resources == | == Resources == | ||