-
Notifications
You must be signed in to change notification settings - Fork 72
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
Build error on kernel: 6.1.21-v7+ (armv7l) (pi2zeroW) #52
Comments
I encountered the same |
Interesting finding @YuMingC233, did you try to run alsamixer to check if raspbian sees it as a sound card? Here's a manual https://www.waveshare.com/wiki/WM8960_Audio_HAT |
Based on the results, it is able to very accurately recognize it as a sound card:My hardware:Raspberry Pi Zero 2 WM8960 Audio HAT After assembly My kernel version:Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux How I discovered this anomalyWhen I normally boot it up, there is an error at the end of the startup, like this: Further error information Looks identical, doesn't it? 😏😏 When I tried to reboot: Ok, it failed. When I checked Memory leak? But when I checked However, when I tried to reboot it again, the same error occurred. Actually, this issue is not "fatal." When I use Note, none of my commands explicitly specify the hardware. @Fysek You might also try testing to see if you can replicate it. Cheers 🥂 |
I have been experience the same problem. |
Okay, it looks like I figured out what's problem. |
@Subuday Could you share what's the problem and any possible solutions, please? |
On my Raspberry Pi Zero 2 W, by default I have two devices:
You can check this using Then I checked logs of wm8960-soundcard.service:
So it looks like alsactl tries to restore by default with card 0 that is vc4hdmi instead wm8960soundcard. To fix starting of the service, just modify it to launch with the correct card. In my case it is |
Maybe we need some code that would either disabling vc4hdmi or setting proper card by searching in system wm8960soundcard. |
I have a similar problem, but the fix does not work for me , I am getting an error jcoe2412@raspberrypi:~ $ aplay -l Any idea how to fix this ? MAny thanks. |
I forgot to mention above that my problem is on the PI5, I guess it is the same though. |
if the issue is caused by the HDMI soundcards, wouldn't the following fix the problem if we add ",noaudio" to /boot/firmware/config.txt dtoverlay=vc4-kms-v3d,noaudio see https://www.raspberrypi.com/documentation/computers/config_txt.html#hdmi-audio |
Just configured my first Audio HAT for the Pi ZERO2W and can confirm this step worked. To clarify, had the same "symptoms", everything ran fine, including the test WAV audio, and even MP3s via mpg123, without issue. Recognised the soundcard fine, and even defaulted the audio hat to card 0. But also had the vc4hdmi as card 1. systemctl would wm8960-soundcard status as exited, and status=99. confirmed setting vc4hdmi to no aduio, then reboot resolved issue. /boot/firmware/config.txt: Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3d,noaudio status=0/SUCCESS thanks for the info. |
I am working on PI 2 zero W with WM8960 Audio HAT https://www.waveshare.com/wiki/WM8960_Audio_HAT
raspberrypi-kernel : (1:1.20230405-1)
raspberrypi-kernel-headers: (1:1.20230405-1)
I did this:
sudo apt-get dist-upgrade
sudo apt-get update
git clone https://github.com/waveshare/WM8960-Audio-HAT
cd WM8960-Audio-HAT
sudo nano wm8960-soundcard.dts
Change target = <&i2c1>; to <&i2c0> ; line 25
sudo ./install.sh
sudo reboot -> nothing changed
Logs:
The text was updated successfully, but these errors were encountered: