sminder Posted Sunday at 10:33 AM Posted Sunday at 10:33 AM I installed the image https://dl.armbian.com/orangepizero2w/Bookworm_current_minimal on my Orange Pi Zero 2W board. But when I tied to check sound from the headphone interface on the expansion board I have a problem: user@orangepizero2w:~$ aplay -l aplay: device_list:274: no soundcards found... There is no chance to turn it on even through DTB overlay in armbian-config because there is no sound card in there. How to make sound work in this board with Armbian? 0 Quote
mike19 Posted Sunday at 01:56 PM Posted Sunday at 01:56 PM (edited) The sound is deactivated in the device tree. I activated it directly in the device tree. It may not be a nice solution, but it works for now. I can try to write an overlay as soon as I will find some time. You can also try the image for the orange pi zero 3 Edited Sunday at 03:28 PM by mike19 0 Quote
robertoj Posted Monday at 04:49 PM Posted Monday at 04:49 PM Can you tell us what you did? diff old.dts new.dts 0 Quote
mike19 Posted Thursday at 05:26 PM Posted Thursday at 05:26 PM You can see my changes in bolt codec@05096000 { #sound-dai-cells = <0x00>; compatible = "allwinner,sun50i-h616-codec"; reg = <0x5096000 0x31c>; interrupts = <0x00 0x3a 0x04>; clocks = <0x02 0x5d 0x02 0x5b 0x02 0x5c>; clock-names = "apb\0audio-codec-1x\0audio-codec-4x"; resets = <0x02 0x24>; dmas = <0x0d 0x06>; dma-names = "tx"; status = "okay"; phandle = <0x50>; }; ahub_dam_plat@5097000 { #sound-dai-cells = <0x00>; compatible = "allwinner,sunxi-snd-plat-ahub_dam"; reg = <0x5097000 0x1000>; resets = <0x02 0x25>; clocks = <0x02 0x5b 0x02 0x5c 0x02 0x5e 0x02 0x5f>; clock-names = "clk_pll_audio\0clk_pll_audio_4x\0clk_audio_hub\0clk_bus_audio_hub"; status = "okay"; phandle = <0x51>; }; ahub1_plat { #sound-dai-cells = <0x00>; compatible = "allwinner,sunxi-snd-plat-ahub"; apb_num = <0x01>; dmas = <0x0d 0x04 0x0d 0x04>; dma-names = "tx\0rx"; playback_cma = <0x80>; capture_cma = <0x80>; tx_fifo_size = <0x80>; rx_fifo_size = <0x80>; tdm_num = <0x01>; tx_pin = <0x00>; rx_pin = <0x00>; status = "okay"; phandle = <0x0f>; }; ahub1_mach { compatible = "allwinner,sunxi-snd-mach"; soundcard-mach,name = "HDMI"; soundcard-mach,format = "i2s"; soundcard-mach,frame-master = <0x0e>; soundcard-mach,bitclock-master = <0x0e>; soundcard-mach,slot-num = <0x02>; soundcard-mach,slot-width = <0x20>; status = "okay"; phandle = <0x52>; soundcard-mach,cpu { sound-dai = <0x0f>; soundcard-mach,pll-fs = <0x04>; soundcard-mach,mclk-fs = <0x00>; phandle = <0x0e>; }; soundcard-mach,codec { sound-dai = <0x10>; phandle = <0x53>; }; }; gpu@1800000 { compatible = "allwinner,sun50i-h616-mali\0arm,mali-bifrost"; reg = <0x1800000 0x40000>; interrupts = <0x00 0x5f 0x04 0x00 0x60 0x04 0x00 0x61 0x04>; interrupt-names = "job\0mmu\0gpu"; clocks = <0x02 0x23 0x02 0x24>; clock-names = "core\0bus"; resets = <0x02 0x03>; status = "okay"; mali-supply = <0x11>; phandle = <0x54>; }; 0 Quote
mike19 Posted Thursday at 05:32 PM Posted Thursday at 05:32 PM You also have to do as described here: https://dietpi.com/forum/t/no-sound-card-detected-for-opi-zero-2w/20133/26 /usr/bin/amixer -c 0 set 'Left Output Mixer DACL' 100% unmute /usr/bin/amixer -c 0 set 'Left Output Mixer DACR' 100% unmute /usr/bin/amixer -c 0 set 'Right Output Mixer DACL' 100% unmute /usr/bin/amixer -c 0 set 'Right Output Mixer DACR' 100% unmute 0 Quote
ZjemCiKolege Posted Thursday at 06:36 PM Posted Thursday at 06:36 PM Or install the Orange Pi Zero 3 image with the 6.13.7 edge kernel. On the Zero 2W image, the edge kernel doesn't boot. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.