Anyone found out yet how to get the audio jack to work on the N2 (or N2Plus) using the Hardkernel 20-04 Mate image using kernel 4.9?
There is only one audio device available, audio over HDMI. My monitor doesn't have audio, so... no audio for me.
Anyone figure this out already?
I'd love to plug in some headphones / speakers and get some audio out over the audio jack.
The 20-04 Mate image is pretty sweet, by the way.
(Just don't watch any video files, the default setup is not that smooth.)
I used the download link from:
http://de.eu.odroid.in/ubuntu_20.04lts/n2/
enabling the audio jack on the 20-04 mate with kernel 4.9
-
- Posts: 389
- Joined: Fri Oct 25, 2019 4:14 pm
- languages_spoken: english
- ODROIDs: N2, C4
- Has thanked: 112 times
- Been thanked: 102 times
- Contact:
- odroid
- Site Admin
- Posts: 37185
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1703 times
- Been thanked: 1116 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
Kernel 4.9.230 seems to have an issue in sound drivers.
We will look into that early next week.
We will look into that early next week.
- These users thanked the author odroid for the post:
- odroidn2user (Sat Jul 25, 2020 6:47 pm)
-
- Posts: 113
- Joined: Tue May 21, 2013 10:46 am
- languages_spoken: english
- ODROIDs: ODROID
- Has thanked: 0
- Been thanked: 16 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
When checking a sound card with the aplay command, if it comes out as below, you need to edit the /etc/pulse/default.pa file.
Please check the attached file.
After unzip and replace the /etc/pulse/default.pa file and rebooting, you can select "Audio Jack" in "sound preferences".
I added 3 lines below for attachments.
Code: Select all
odroid@odroid:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLAUGESOUND [AML-AUGESOUND], device 0: SPDIF-B-dit-hifi dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 1: TDM-C-T9015-audio-hifi T9015-audio-hifi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 2: SPDIF-dit-hifi dit-hifi-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
After unzip and replace the /etc/pulse/default.pa file and rebooting, you can select "Audio Jack" in "sound preferences".
I added 3 lines below for attachments.
Code: Select all
load-module module-alsa-sink device="hw:0,0" sink_name=hdmi_out sink_properties="device.description='HDMI Out' device.icon_name='video-display'"
load-module module-alsa-sink device="hw:0,1" sink_name=line_out sink_properties="device.description='Audio Jack' device.icon_name='audio-headphones'"
load-module module-alsa-sink device="hw:0,2" sink_name=spdif_out sink_properties="device.description='SPDIF Out' device.icon_name='audio-speakers'"
- Attachments
-
- default.zip
- (2.17 KiB) Downloaded 29 times
- meveric
- Posts: 11507
- Joined: Mon Feb 25, 2013 2:41 pm
- languages_spoken: german, english
- ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 67 times
- Been thanked: 471 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
The current github repo is still on Kernel 4.9.219, but I can see that for download Kernel 4.9.230 is already available.
Can you please update the github sources, so we can build new Kernels as well?
Same goes for the other Kernels, or was the github repo moved to another location?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
- tobetter
- Posts: 7607
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 420 times
- Been thanked: 1164 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
It's already there but the default branch was not changed.meveric wrote: ↑Tue Jul 28, 2020 11:05 pmThe current github repo is still on Kernel 4.9.219, but I can see that for download Kernel 4.9.230 is already available.
Can you please update the github sources, so we can build new Kernels as well?
Same goes for the other Kernels, or was the github repo moved to another location?
https://github.com/hardkernel/linux/tre ... dg12-4.9.y
- meveric
- Posts: 11507
- Joined: Mon Feb 25, 2013 2:41 pm
- languages_spoken: german, english
- ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 67 times
- Been thanked: 471 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
so you're using odroidg12-4.9.y for both the N2 and C4 now, instead of the odroidn2-4.9.y branch.
That's good to know, thanks.
That's good to know, thanks.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
- tobetter
- Posts: 7607
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 420 times
- Been thanked: 1164 times
- Contact:
Re: enabling the audio jack on the 20-04 mate with kernel 4.9
Yes, it is. You can build the kernel image with
odroidg12_defconfig
, this will make you have the universal Image.gz and each board will run with their own device tree file. The branch odroidn2-4.9.y branch is note removed for back up, but not going to be used.Who is online
Users browsing this forum: No registered users and 1 guest