ESI maya22 Usb sound interface supported on rpi3 2.80.3+rev1 but not on rpi4 2.82.10+rev1

Hi

I’m recording audio using the ESI maya22 usb sound interface and it works fine on raspi 3 B+.
As the sound interface includes a preamp and provides phantom power ( if enabled higher peak current draw at startup and therefore issues on raspberry pi 3 ) I would greatly benefit from using a raspi 4 allowing higher current draw on the blue usb 3 ports.
On raspi 4 unfortunately the device doesn’t show up at all using lsusb and I see messages like following

[ 3.706952] usb 1-1: new high-speed USB device number 4 using xhci_hcd
[ 4.321593] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 4.535062] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 4.746930] usb 1-1: device not accepting address 4, error -22
[ 4.878936] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[ 4.885719] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 5.099011] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1.
[ 5.310925] usb 1-1: device not accepting address 5, error -22

I included the output of dmesg, lsusb -v and lsusb -t for both raspi 3 ( working ) and 4 ( not working ).
I was wondering if someone familiar with balenaos could help me further investigate and narrow down the issue. I’m asking myself if it is a hardware issue related to the card or a kernel / driver issue.

What I noticed so far is that rpi 3 2.80.3+rev1 uses 5.4.83-v8
rpi4 2.82.10+rev1 kernel 5.10.31-v8

raspi_pi3_3_debug.txt (71.8 KB)
raspi_pi4_2_debug.txt (39.5 KB)

Following is the better looking output I see on a raspberry pi 4 with vanilla raspbian OS.
Looks like something is wrong with the combination of pi 4 + balena OS?

Anyone aware of further debugging steps I could take? What I need on application SW side is support of the device on Alsa driver level.
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: USB [MAYA22 USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

So far it looks as the initialization on Balena OS fails on much lower USB level.

pi4_vanilla_raspbian_debug.txt (41.5 KB)

Hello @aib

Welcome to the balena Forums.

We recently identified a problem with the balenaOS 2.82.10 release for the Raspberry Pi 4 which relates to device tree overlays. Please do not use this release (it has been withdrawn from production). You can track progress on this issue here - Device tree overlays not working in >= 2.82.10+rev1 for aarch64 device types · Issue #695 · balena-os/balena-raspberrypi · GitHub

Regards - Mark

Thanks for pointing me to that issue.
I can confirm that the USB device Maya22 works on balenaOS 2.80.5

Hi @aib,

Just wanted to inform that the issue is now fixed. You can use the version 2.83.10+rev1 or newer with the device now.

Regards,
N