HinTak / seeed-voicecard

This is an enhancement fork with the explicit aim of supporting current shipping Raspbian/Ubuntu kernels without requiring downgrading. Please donate at https://hintak.github.io/ if it works for you. Use vX.Y branch for kernel version vX.Y
GNU General Public License v3.0
180 stars 67 forks source link

6-mic doesn't work on Raspberry PI 5 #32

Closed evsergey closed 1 month ago

evsergey commented 2 months ago

Hi, all!

I've applied fix to I2C issues: sudo rpi-update pulls/6091

$ uname -a
Linux raspberry 6.6.23-v8-16k+ #1 SMP PREEMPT Thu Apr  4 17:36:31 UTC 2024 aarch64 GNU/Linux

Installed the driver from the 'v6.6' branch normally. Now arecord -l is empty.

$ dmesg
...
[    3.673836] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/status
[    3.847715] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2s@a0000/#sound-dai-cells
[    3.847730] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2s@a0000/status
[    3.847759] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/status
[    3.847775] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/compatible
[    3.847779] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/seeed-voice-card,name
[    3.847782] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/seeed-voice-card,channels-playback-override
[    3.847786] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/seeed-voice-card,channels-capture-override
[    3.847790] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/#address-cells
[    3.847797] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/#size-cells
[    3.847800] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/status
[    3.849122] i2c i2c-1: Failed to register i2c client ac101 at 0x1a (-16)
[    3.849127] i2c i2c-1: of_i2c: Failure registering /axi/pcie@120000/rp1/i2c@74000/ac101@1a
[    3.849134] i2c i2c-1: failed to create client for '/axi/pcie@120000/rp1/i2c@74000/ac101@1a'
[    3.849139] OF: changeset notifier error @/axi/pcie@120000/rp1/i2c@74000/ac101@1a
[    3.849220] OF: overlay: overlay apply changeset entry notify error -16
...
$ i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- 35 -- -- -- -- -- 3b 3c -- -- --
40: -- -- 42 -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Any ideas?

HinTak commented 1 month ago

Driver known to need work to be compatible with Pi 5: https://github.com/HinTak/seeed-voicecard/issues/19