No sound card detected for Opi zero 2w

You mean the Zero 3 device tree, right? This is not an overlay, but a whole different device tree.

Crazy that the Zero 3 device tree still works better on the Zero 2W than the Zero 2W device tree, for many aspects. It is only some GPIO features which do not work, even onboard WiFi does (based on some older posts I reviewed). The Zero 2W device tree on the other hand has some issues with WiFi and Bluetooth, when enabling the modules in the wrong order, or disabling and re-enabling one within the same session etc. It could be beneficial if someone with enough knowledge would rebuild the Zero 2W device tree from scratch based on the Zero 3 one, leaving everything untouched which does already work well :smile:.

Let’s see whether this makes the analogue audio jack on the HAT work as well.

Ah yes, the whole device tree.

By the way, the android image for banana pi m4 zero is better on Opi zero 2w than their own android image… The only things that don’t work are, again, WiFi and Bluetooth (and possibly some things from the expansion board).

I’d test the expansion board but I have a broken connector.

Yeah, that Zero 2W device tree seems to be some crippled mess, hence the idea to rewrite it from scratch.

With the Zero 3 device tree, WiFi and Bluetooth do work on Zero 2W, don’t they? The chips are different, hence I also thought it wouldn’t, but on the GitHub issue someone reported it does. Drivers and firmware are there, so as long as there is no conflicting device tree node/attribute, there is indeed no reason it wouldn’t.

EDIT: Ah, it is the same WiFi chip, the “20U5622” module from the Zero 2W uses the “AW859A” chip, which is used on Zero 3 as well. The Zero 3 even seems to (does, just checked the PCB) use the same module, but on their wiki, they list the chip instead.

Yes, just checked and the WiFi works too!

EDIT. It just shows itself as connected (and maybe it is) but no data seems to be able to be transferred). This only connects when there is ethernet connected. Otherwise it refuses to go up. Similar to the 2w dtb.

1 Like

Hi both

Yesterday i try the New image for zero2w Version 9.5.1, no sound at all

Tonight y try the same Version but with the zero3 image and tell you

Have a good day

There are no new images yet, and there were no related commits on Armbian side, so the issue is still the same: No sound with Zero 2W device tree, but it works when switching to the Zero 3 device tree: No sound card detected for Opi zero 2w - #19 by MichaIng

Hello Micha

It’s ok with the opi zero 3 tree , the HDMI have sound !!!

With your help can we rebuild the dtb file to expand to the jack output
i try with the alsamixer but how to do mith :wink:

too late tonight , to be continued

I’m very happy to have sound on HDMi under Dietpi :wink: :wink:

This morning i re-read your link from Armbian and remember that i see in alsa mixer the Dacl and Dacr put to “off”

With this


Perhaps a solution for the jack 3,5 mm

I try tonight

2 Likes

Yesss i’ve sound on the jack 3.5 mm connector with the activation of the dacr and dacl

I use a wav file to test it
root@DietPi:/home/dietpi# aplay -D hw:0,0 ‘VIVALDI - Concerto Pour Basson En do Majeur.wav’
Lecture WAVE ‘VIVALDI - Concerto Pour Basson En do Majeur.wav’ : Signed 16 bit Little Endian, Fréquence 44100 Hz, Stéréo

Now i try to play mp3 with LMS , next step :wink:

Hello Micha

Good news with a modified /etc/asound.conf like this

pcm.device{
        format S16_LE
        rate 44100
        type hw
        card 0
        device 0
}

pcm.!default {
        type plug
        slave.pcm "device"
}

ctl.!default {
        type hw
        card 0
}

I can ear sound in the jack 3.5mm connector with LMS and Squeezelite
I tested mp3 from radio , flac from my nas, wav from my sd card

one step more :wink: :wink: