LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-12-2021, 07:27 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
no sound card after post Wed Dec 09 08:08:08 UTC 2020 updates


This is on my banana pi pro. Since I installed the system, I've never had any issues with any updates.

I had sound prior to applying last updates, as there were so many updates, not sure what to check. There's no /proc/asound.

I'm following up on one of my rpi3 to see what happens there.

attached alsamixer-sun4i-codec.jpg was from 11/19/20.

thanks
Attached Thumbnails
Click image for larger version

Name:	alsamixer-sun4i-codec.jpg
Views:	26
Size:	12.5 KB
ID:	35244  
 
Old 01-13-2021, 02:38 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,545

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by glorsplitz View Post
This is on my banana pi pro. Since I installed the system, I've never had any issues with any updates.

I had sound prior to applying last updates, as there were so many updates, not sure what to check. There's no /proc/asound.

I'm following up on one of my rpi3 to see what happens there.

attached alsamixer-sun4i-codec.jpg was from 11/19/20.

thanks
It's missing from the driver list in menuconfig entirely despite having the dependencies set correctly, so it hasn't been built.
I'll have a look at it for the next kernel update.
 
Old 01-13-2021, 06:23 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Stuart, Thank you!, you've been so spot on with everything, I'll let this one slide .
 
Old 01-14-2021, 06:05 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,545

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
Quote:
Originally Posted by glorsplitz View Post
Stuart, Thank you!, you've been so spot on with everything, I'll let this one slide .
That's weird - the module is surfaced within the drivers list in Linux 5.10.7 but wasn't there in 5.10.5. I'll push that out in the next update.
Ironically, Phil and I recorded an episode where I tested reinstallation using the new Kernel on the Banana Pi and it worked fine. I didn't test sound though!
 
Old 01-17-2021, 11:10 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,545

Rep: Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313Reputation: 1313
What happens when the sun4i-codec is loaded as a module is as follows.
I haven't checked if it works on the Banana Pi yet, but whilst this doesn't seem to cause any runtime operational issues on other platforms, I can't ship a kernel out in this state.

I've removed the sun4i driver again until I have time to look at it.
You may want to revert to the 5.4 Kernel series until then. The last kernel of that series I packaged was 5.4.81. I can upload them if you need them.

Code:
[   18.434963] sun4i-codec 1c22c00.codec: Failed to register our card
[   18.507850] ------------[ cut here ]------------
[   18.521019] WARNING: CPU: 2 PID: 138 at sound/core/init.c:207 snd_card_new+0x15c/0x314 [snd]
[   18.537013] Modules linked in: sun8i_codec_analog sun8i_adda_pr_regmap sun4i_codec(+) snd_soc_core ac97_bus snd_pcm_dmaengine snd_pcm snd_timer i2c_mv64xxx snd lima dwmac_sun8i(+) mdio_mux dw_hdmi_i2s_audio dw_hdmi_cec gpu_sched soundcore sunxi phy_generic sun8i_thermal musb_hdrc sun6i_msgbox sunxi>
[   18.537564]  sun6i_dma
[   18.545853] libphy: stmmac: probed
[   18.666130]  dwmac_sunxi
[   18.684977] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[   18.689755]  stmmac_platform
[   18.703759] libphy: mdio_mux: probed
[   18.715792]  stmmac pcs_xpcs phylink i2c_tegra crc32c_generic
[   18.715827] CPU: 2 PID: 138 Comm: kworker/2:2 Not tainted 5.10.7-armv7 #2
[   18.715830] Hardware name: Allwinner sun8i Family
[   18.715861] Workqueue: events deferred_probe_work_func
[   18.722320] hub 8-0:1.0: USB hub found
[   18.722443] hub 8-0:1.0: 1 port detected
[   18.723502] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[   18.723530] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 9
[   18.727541] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[   18.739294]
[   18.739332] [<c030ddd4>] (unwind_backtrace) from [<c0309508>] (show_stack+0x10/0x14)
[   18.739359] [<c0309508>] (show_stack) from [<c0a60b80>] (dump_stack+0xb8/0xdc)
[   18.753614] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[   18.769488] [<c0a60b80>] (dump_stack) from [<c033a55c>] (__warn+0xc4/0xf0)
[   18.769513] [<c033a55c>] (__warn) from [<c0a5bb10>] (warn_slowpath_fmt+0x68/0x80)
[   18.809832] libphy: mdio_mux: probed
[   18.810012] [<c0a5bb10>] (warn_slowpath_fmt) from [<bf6c20d8>] (snd_card_new+0x15c/0x314 [snd])
[   18.822620] dwmac-sun8i 1c30000.ethernet: Switch mux to external PHY
[   18.837742] [<bf6c20d8>] (snd_card_new [snd]) from [<bf6fef14>] (snd_soc_bind_card+0xf0/0x508 [snd_soc_core])
[   18.837844] [<bf6fef14>] (snd_soc_bind_card [snd_soc_core]) from [<bf729f5c>] (sun4i_codec_probe+0x300/0x37c [sun4i_codec])
[   19.043481] [<bf729f5c>] (sun4i_codec_probe [sun4i_codec]) from [<c081ea0c>] (platform_drv_probe+0x48/0x94)
[   19.062237] [<c081ea0c>] (platform_drv_probe) from [<c081ce98>] (really_probe+0x220/0x37c)
[   19.079569] [<c081ce98>] (really_probe) from [<c081d1c4>] (driver_probe_device+0x9c/0xa8)
[   19.096865] [<c081d1c4>] (driver_probe_device) from [<c081b4e0>] (bus_for_each_drv+0x84/0x8c)
[   19.107442] usb 8-1: new full-speed USB device number 2 using ohci-platform
[   19.114539] [<c081b4e0>] (bus_for_each_drv) from [<c081d0a0>] (__device_attach+0xac/0x114)
[   19.114563] [<c081d0a0>] (__device_attach) from [<c081c030>] (bus_probe_device+0x28/0x80)
[   19.165580] [<c081c030>] (bus_probe_device) from [<c081c830>] (deferred_probe_work_func+0x68/0x80)
[   19.183856] [<c081c830>] (deferred_probe_work_func) from [<c0351004>] (process_one_work+0x1ac/0x2cc)
[   19.202308] [<c0351004>] (process_one_work) from [<c035163c>] (worker_thread+0x22c/0x2e8)
[   19.219804] [<c035163c>] (worker_thread) from [<c0355a90>] (kthread+0x114/0x120)
[   19.237123] [<c0355a90>] (kthread) from [<c03001b8>] (ret_from_fork+0x14/0x3c)
[   19.253851] Exception stack(0xc29bbfb0 to 0xc29bbff8)
[   19.268789] bfa0:                                     00000000 00000000 00000000 00000000
[   19.286927] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   19.304587] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   19.321133] ---[ end trace 22068535e3d27ced ]---
 
Old 01-17-2021, 11:41 AM   #6
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
No hurry, thank you for following up.
 
Old 10-01-2021, 08:47 PM   #7
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
thank you! didn't noticed this in changelog

Quote:
Wed Jul 14 08:08:08 UTC 2021
a/kernel-modules-armv7-5.12.10_armv7-arm-1.txz: Upgraded.
+CONFIG_SND_SUN4I_CODEC=m
Restored Allwinner A10 sound driver for the Banana Pi

I occasionally checked /proc/asound/ since I created this thread, just noticed something there, sound is back on my bpi pro.

Thank you!
 
1 members found this post helpful.
Old 10-05-2021, 12:46 PM   #8
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Rep: Reputation: 114Reputation: 114
No sound after update 10-4-2021 -current

After the update on 10-4-2021 I have no sound. I'm running -current and using KDE.

I have checked the sound icons and don't see anything strange. Not sure what to check next.
 
Old 10-05-2021, 01:59 PM   #9
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by NakedRider View Post
After the update on 10-4-2021 I have no sound. I'm running -current and using KDE.

I have checked the sound icons and don't see anything strange. Not sure what to check next.
I changed some settings and this is working now. It looks like I posted this on the wrong forum.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The day Slackware meets PAM: Wed Feb 12 05:05:50 UTC 2020 denydias Slackware 77 02-15-2020 06:13 PM
[SOLVED] Wed Jun 13 05:43:00 UTC 2018 and Newer Current bare metal install? AlleyTrotter Slackware 28 06-24-2018 02:36 PM
slackware-current breakage of MTP after [Wed May 23 04:42:29 UTC 2018] update lord_ Slackware 6 06-13-2018 05:34 AM
Sat Dec 24 02:36:05 UTC 2016 updates burdi01 Slackware 11 12-26-2016 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration