dony71 Posted November 9, 2018 Posted November 9, 2018 i just upgrade from jessie to armbian stretch (5.65) i check aplay -l, why only shows audio codec? anybody help? root@bananapim2plus:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0
Igor Posted November 10, 2018 Posted November 10, 2018 23 hours ago, dony71 said: anybody help? Nobody will even look if you don't add logs.
dony71 Posted November 11, 2018 Author Posted November 11, 2018 5 hours ago, Igor said: Nobody will even look if you don't add logs. syslog attached below my guess is no hdmi driver in kernel i thought release version should include this? btw, i have also similar issue with pcm5102 dac via i2s link for this issue: syslog.bak
dony71 Posted November 13, 2018 Author Posted November 13, 2018 On 11/10/2018 at 12:12 PM, Igor said: Nobody will even look if you don't add logs. @Igor can you tell me what's the name of file for HDMI audio driver module? I have compiled kernel and have setting below for HDMI audio CONFIG_DRM_DW_HDMI=m CONFIG_DRM_DW_HDMI_AHB_AUDIO=m CONFIG_DRM_DW_HDMI_I2S_AUDIO=m CONFIG_DRM_DW_HDMI_CEC=m
dony71 Posted November 13, 2018 Author Posted November 13, 2018 I think HDMI audio driver should be snd_soc_hdmi_codec ? This is strange cause I can see from lsmod driver is already loaded Also I load also snd_soc_pcm512x, but aplay -l still showing none of sndhdmi and snddaudio Anybody help?? system diagnostic information: http://ix.io/1rPj
dony71 Posted November 13, 2018 Author Posted November 13, 2018 @Igoris this still problem?https://github.com/armbian/build/issues/700
Igor Posted November 14, 2018 Posted November 14, 2018 6 hours ago, dony71 said: is this still problem? According to https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix yes.
dony71 Posted November 20, 2018 Author Posted November 20, 2018 On 11/13/2018 at 9:28 PM, Igor said: According to https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix yes. There is already patch in armbian and it's working now Just need to enable dts sound section --------------------------------------------------------------------- sound { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "allwinner,hdmi"; simple-audio-card,mclk-fs = <0x100>; #status = "disabled"; status = "okay"; linux,phandle = <0x3f>; phandle = <0x3f>; simple-audio-card,codec { sound-dai = <0x2>; }; simple-audio-card,cpu { sound-dai = <0x3>; }; };
Igor Posted November 20, 2018 Posted November 20, 2018 13 minutes ago, dony71 said: There is already patch in armbian and it's working now Just need to enable dts sound section Good! Than we better make an overlay https://github.com/armbian/sunxi-DT-overlays that it can be enabled/disabled in armbian-config or via armbianEnv.txt
MichaelSL Posted August 2, 2020 Posted August 2, 2020 Hi! Was the overlay ever been made? I can’t find it in the repository.
Recommended Posts