Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound distorted of audioinjector-octo soc:soundcard since kernel version 6 #1884

Open
vanmanda opened this issue Mar 25, 2024 · 1 comment
Open

Comments

@vanmanda
Copy link

vanmanda commented Mar 25, 2024

I've been testing the audioinjector octo sound card with several firmwares.
This card seems to work fine with the latest version 5 kernel (5.15.92). As from the first version 6 kernel till the latest, this soundcard only produces noise. There is nothing recognizable as voice or music when playing audio, only noise.
I see this error with v6:
[ 13.889229] audioinjector-octo soc:sound: ASoC: driver name too long 'audioinjector-octo-soundcard' -> 'audioinjector-o'

You'll find a more detailed log output below. This output comes from kernel 6.1.13, but with 6.6.22 I get a similar result.

Does anyone know how to fix this?

Thanks!

[ 7.262716] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 7.285344] uart-pl011 fe201000.serial: no DMA platform data
[ 7.460191] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 7.736531] rpivid feb10000.codec: Device registered as /dev/video19
[ 8.830764] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 8.940283] cs42xx8 1-0048: supply VA not found, using dummy regulator
[ 8.940647] cs42xx8 1-0048: supply VD not found, using dummy regulator
[ 8.940771] cs42xx8 1-0048: supply VLS not found, using dummy regulator
[ 8.940876] cs42xx8 1-0048: supply VLC not found, using dummy regulator
[ 8.957825] cs42xx8 1-0048: found device, revision 4
[ 9.347541] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 9.348736] bcmgenet fd580000.ethernet eth0: Link is Down
[ 9.419993] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 9.955061] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 10.366746] ------------[ cut here ]------------
[ 10.366761] WARNING: CPU: 0 PID: 39 at sound/core/init.c:309 snd_card_init+0x34c/0x378 [snd]
[ 10.366805] Modules linked in: snd_soc_cs42xx8_i2c snd_soc_cs42xx8 regmap_i2c overlay spidev rpivid_hevc(C) uinput bcm2835_codec(C) bcm2835_isp(C) brcmfmac bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops brcmutil snd_soc_audioinjector_octo_soundcard snd_soc_bcm2835_i2s videobuf2_v4l2 cfg80211 videobuf2_common snd_soc_core videodev raspberrypi_hwmon snd_compress snd_pcm_dmaengine rfkill snd_bcm2835(C) i2c_bcm2835 spi_bcm2835 snd_pcm vc_sm_cma(C) mc snd_timer snd uio_pdrv_genirq uio nvmem_rmem joydev hid_multitouch drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6
[ 10.366907] CPU: 0 PID: 39 Comm: kworker/u8:1 Tainted: G C 6.1.13-v8+ #1632
[ 10.366913] Hardware name: Raspberry Pi Compute Module 4 Rev 1.1 (DT)
[ 10.366917] Workqueue: events_unbound deferred_probe_work_func
[ 10.366929] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 10.366934] pc : snd_card_init+0x34c/0x378 [snd]
[ 10.366959] lr : snd_card_init+0xc4/0x378 [snd]
[ 10.366982] sp : ffffffc00857b980
[ 10.366985] x29: ffffffc00857b980 x28: 0000000000000000 x27: 0000000000000000
[ 10.366995] x26: 0000000000000000 x25: ffffffddda665000 x24: 0000000000000000
[ 10.367003] x23: 0000000000000000 x22: ffffffddda665088 x21: ffffff8100241c10
[ 10.367012] x20: ffffffddda665d88 x19: ffffff81082eb000 x18: 0000000000000000
[ 10.367020] x17: 0000000000000000 x16: ffffffde26f67cd0 x15: 0000000000000000
[ 10.367028] x14: 0000000000000000 x13: 006f74634f20726f x12: 7463656a6e496f69
[ 10.367036] x11: 0000000000000000 x10: 0000005cccae0cb8 x9 : ffffffddda656a24
[ 10.367044] x8 : ffffff81082ec000 x7 : 0000000000000000 x6 : 000000000000003f
[ 10.367052] x5 : 0000000000000000 x4 : ffffff81003c9ec0 x3 : ffffffddda665088
[ 10.367060] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff81003c9ec0
[ 10.367068] Call trace:
[ 10.367070] snd_card_init+0x34c/0x378 [snd]
[ 10.367095] snd_card_new+0x78/0xd0 [snd]
[ 10.367119] snd_soc_bind_card+0x360/0xbd8 [snd_soc_core]
[ 10.367185] snd_soc_register_card+0xf8/0x110 [snd_soc_core]
[ 10.367226] devm_snd_soc_register_card+0x54/0xb0 [snd_soc_core]
[ 10.367266] audioinjector_octo_probe+0x1d8/0x238 [snd_soc_audioinjector_octo_soundcard]
[ 10.367277] platform_probe+0x70/0xe0
[ 10.367285] really_probe+0xc4/0x2b0
[ 10.367290] __driver_probe_device+0x80/0xe8
[ 10.367294] driver_probe_device+0x44/0x110
[ 10.367299] __device_attach_driver+0xc0/0x100
[ 10.367304] bus_for_each_drv+0x84/0xd8
[ 10.367308] __device_attach+0xf4/0x188
[ 10.367312] device_initial_probe+0x1c/0x28
[ 10.367317] bus_probe_device+0xa4/0xb0
[ 10.367321] deferred_probe_work_func+0x90/0xc8
[ 10.367325] process_one_work+0x208/0x480
[ 10.367333] worker_thread+0x50/0x428
[ 10.367338] kthread+0xfc/0x110
[ 10.367344] ret_from_fork+0x10/0x20
[ 10.367350] ---[ end trace 0000000000000000 ]---
[ 10.368944] audioinjector-octo soc:sound: ASoC: driver name too long 'audioinjector-octo-soundcard' -> 'audioinjector-o'
[ 12.293065] cs42xx8 1-0048: supply VA not found, using dummy regulator
[ 12.293212] cs42xx8 1-0048: supply VD not found, using dummy regulator
[ 12.293260] cs42xx8 1-0048: supply VLS not found, using dummy regulator
[ 12.293310] cs42xx8 1-0048: supply VLC not found, using dummy regulator
[ 12.307051] cs42xx8 1-0048: found device, revision 4
[ 12.414781] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 12.414828] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.886768] ------------[ cut here ]------------
[ 13.886784] WARNING: CPU: 1 PID: 764 at sound/core/init.c:309 snd_card_init+0x34c/0x378 [snd]
[ 13.886832] Modules linked in: snd_soc_audioinjector_octo_soundcard(+) snd_soc_cs42xx8_i2c regmap_i2c snd_soc_cs42xx8 snd_seq_dummy snd_hrtimer snd_seq snd_seq_device overlay spidev rpivid_hevc(C) uinput bcm2835_codec(C) bcm2835_isp(C) brcmfmac bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops brcmutil snd_soc_bcm2835_i2s videobuf2_v4l2 cfg80211 videobuf2_common snd_soc_core videodev raspberrypi_hwmon snd_compress snd_pcm_dmaengine rfkill snd_bcm2835(C) i2c_bcm2835 spi_bcm2835 snd_pcm vc_sm_cma(C) mc snd_timer snd uio_pdrv_genirq uio nvmem_rmem joydev hid_multitouch drm fuse drm_panel_orientation_quirks backlight ip_tables x_tables ipv6 [last unloaded: snd_soc_cs42xx8]
[ 13.886946] CPU: 1 PID: 764 Comm: modprobe Tainted: G WC 6.1.13-v8+ #1632
[ 13.886953] Hardware name: Raspberry Pi Compute Module 4 Rev 1.1 (DT)
[ 13.886957] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 13.886962] pc : snd_card_init+0x34c/0x378 [snd]
[ 13.886987] lr : snd_card_init+0xc4/0x378 [snd]
[ 13.887010] sp : ffffffc008e036f0
[ 13.887013] x29: ffffffc008e036f0 x28: ffffffc008e03cd0 x27: 0000000000000001
[ 13.887022] x26: 0000000000000000 x25: ffffffddda665000 x24: 0000000000000000
[ 13.887031] x23: 0000000000000000 x22: ffffffddda665088 x21: ffffff8100241c10
[ 13.887039] x20: ffffffddda665d88 x19: ffffff81128f6000 x18: 0000000000000060
[ 13.887047] x17: 0000000000000000 x16: ffffffde26f67cd0 x15: 0000000000000000
[ 13.887055] x14: 0000000000000000 x13: 006f74634f20726f x12: 7463656a6e496f69
[ 13.887064] x11: 0000000000000000 x10: 0000005cd5d7b4b8 x9 : ffffffddda656a24
[ 13.887072] x8 : ffffff81128f7000 x7 : 0000000000000000 x6 : 000000000000003f
[ 13.887079] x5 : 0000000000000000 x4 : ffffff810df08000 x3 : ffffffddda665088
[ 13.887087] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff810df08000
[ 13.887095] Call trace:
[ 13.887098] snd_card_init+0x34c/0x378 [snd]
[ 13.887122] snd_card_new+0x78/0xd0 [snd]
[ 13.887146] snd_soc_bind_card+0x360/0xbd8 [snd_soc_core]
[ 13.887211] snd_soc_register_card+0xf8/0x110 [snd_soc_core]
[ 13.887252] devm_snd_soc_register_card+0x54/0xb0 [snd_soc_core]
[ 13.887294] audioinjector_octo_probe+0x1d8/0x238 [snd_soc_audioinjector_octo_soundcard]
[ 13.887308] platform_probe+0x70/0xe0
[ 13.887332] really_probe+0xc4/0x2b0
[ 13.887338] __driver_probe_device+0x80/0xe8
[ 13.887343] driver_probe_device+0x44/0x110
[ 13.887348] __driver_attach+0x7c/0x130
[ 13.887353] bus_for_each_dev+0x7c/0xd0
[ 13.887357] driver_attach+0x2c/0x38
[ 13.887361] bus_add_driver+0x194/0x208
[ 13.887365] driver_register+0x6c/0x128
[ 13.887370] __platform_driver_register+0x30/0x40
[ 13.887376] audioinjector_octo_driver_init+0x28/0x1000 [snd_soc_audioinjector_octo_soundcard]
[ 13.887387] do_one_initcall+0x54/0x298
[ 13.887393] do_init_module+0x50/0x208
[ 13.887400] load_module+0x1a3c/0x1d90
[ 13.887406] __do_sys_init_module+0x190/0x1e8
[ 13.887413] __arm64_sys_init_module+0x24/0x30
[ 13.887419] invoke_syscall+0x4c/0x110
[ 13.887426] el0_svc_common.constprop.3+0xfc/0x120
[ 13.887432] do_el0_svc+0x34/0xd0
[ 13.887438] el0_svc+0x30/0x88
[ 13.887445] el0t_64_sync_handler+0x98/0xc0
[ 13.887451] el0t_64_sync+0x18c/0x190
[ 13.887456] ---[ end trace 0000000000000000 ]---
[ 13.889229] audioinjector-octo soc:sound: ASoC: driver name too long 'audioinjector-octo-soundcard' -> 'audioinjector-o'
[ 14.611647] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 14.618907] Bridge firewalling registered
[ 14.632725] Bluetooth: Core ver 2.22
[ 14.632831] NET: Registered PF_BLUETOOTH protocol family
[ 14.632838] Bluetooth: HCI device and connection manager initialized
[ 14.632856] Bluetooth: HCI socket layer initialized
[ 14.632865] Bluetooth: L2CAP socket layer initialized
[ 14.632880] Bluetooth: SCO socket layer initialized
[ 14.641207] Bluetooth: HCI UART driver ver 2.3
[ 14.641230] Bluetooth: HCI UART protocol H4 registered
[ 14.641309] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.641505] Bluetooth: HCI UART protocol Broadcom registered
[ 14.846026] Initializing XFRM netlink socket
[ 14.885319] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.885340] Bluetooth: BNEP filters: protocol multicast
[ 14.885358] Bluetooth: BNEP socket layer initialized
[ 14.892025] Bluetooth: MGMT ver 1.22
[ 14.902902] NET: Registered PF_ALG protocol family

@vanmanda
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant