Add sound to Odroid N2
Description
Attachments
- 18 Oct 2020, 03:25 PM
- 18 Oct 2020, 03:25 PM
is blocked by
Checklist
hideActivity
Matthijs Kooijman April 15, 2023 at 2:27 PM
@balbes150, you proposed this sound.sh script a few years ago, which is now present in Armbian as armbian-audio-config
. I’m wondering: Why did you use 100%
for some controls and 0dB
for others (or if you did not write the script from scratch, do you remember where it came from)? I’m using Armbian on a H5 right now and 0dB is quite soft for the minijack output, so I wonder if it would make sense to submit a PR to change it to 100%. But I’d first like to understand why it is like it is :-)
Igor Pecovnik October 19, 2020 at 12:17 PM
done. currently this file is anyway not in use since we use old bootloader and this https://github.com/armbian/build/blob/master/config/bootscripts/boot-odroid-n2.ini
balbes150 October 19, 2020 at 11:45 AM
To avoid creating an issue due to a minor error. need to delete the extra line from the script for N2.
https://github.com/armbian/build/blob/master/config/bootscripts/boot-odroid-n2-mainline.ini#L6
Igor Pecovnik October 18, 2020 at 8:46 PM
Thanks, it works. Now dealing with how to implement this script in best way.
balbes150 October 18, 2020 at 3:25 PM
I downloaded the last night image (2020-10-17) for N2. Performed the "apt upgrade" update. I checked for audio devices - nothing. Installed a new kernel, which differs from the standard one only by using a patch for configuration. Sound devices appeared. Added a sound script and ran it. The sound started working via HDMI. The convenience of the script is that if the user breaks the sound settings during experiments, it is enough to run this script and the sound will again be correctly configured and works. I attach a patch file for the configuration and a sound script (by the way, the script correctly turns on sound on all AML RK devices).
I apologize immediately, I may not be forming this task correctly or in the wrong place, you can move it\change it or delete it as it is not correct. I checked the build of the image for N2 with the latest MASTER, changing the kernel config and adding the audio enable script solved the problem of enabling HDMI audio. Do I need to generate a PR to send to GIT ?