-
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: 5.15.30-v7+ (armv7l) #44
Comments
Same here at waveshares 13.1 Magic Mirror with Raspberry OS Bullseye. |
I've started to fix the problem: Compilation is now working in my fork: However, still some remainining problems:
|
update: forgot to update wm8960.c and wm8960.h
|
update: dr-ni@4ec150d I have now some noisy sound on raspberrypi zero 2. |
Yes thank you - tested on Pi4B waveshare Pi WM8960 Hat- git pull from your own fork - scratchy sound with VLC - but it is getting there! |
and recording? is it working? |
yes tested with arecord -v test.wav is working |
speaker-test -t wav gives me a clear "Front-Left" with no scratchy noises |
and speaker-test -t wav -c 2 is the recording stereo and scratching? |
speaker-test -t wav -c 2 recording mike is inside a box on the hat but is sounds clear no scratches |
speaker-test -t wav -c 2 recording mike is inside a box on the hat but is sounds clear no scratches |
is it stereo? |
speaker test -t wav -c 2 reports it as 2 channels |
and arecord -f S32_LE -r 48000 -c 2 test.wav |
Stereo |
can you please test again: git pull |
Hi still crackling playback with vlc mp3 |
Plays nicely with the wav files in /usr/share/sounds - no scratches But 16bit 44.1kHz wav file still scratchy sounds |
what does |
pi@raspberrypi:~ $ aplay -l |
when using audacious getting much better quality sound - have to adjust the two volume (audacious and main) controls - still some background crackle but much less Getting no crackle sound in Audacious when using Alsa with direct HW WM8960 setting - solved? Yes using the same setting with VLC (ALSA and Direct HW WM8960) gives good sound - SOLVED by your code!! |
Hi folks, The wm8960-soundcard.service is there also failing (status 99). Do you know the sense of this service since the driver? |
@TobiasVanDyk |
@bnwlf |
Yes it plays clean no noise - I used another 16bit/44.1kHz file: pi@raspberrypi:~ $ aplay -D dmixed pcm16LE44100.wav VLC now plays cleanly using ALSA + wm8960-soundcard-direct-mixer setting in VLC preferences->Audio-settings To install first uninstall the old waveshare driver and reboot then delete the old WM8960-Audio-HAT folder Ignore the message "failed to load i2s-mmap" - it does load from config.txt and it is required |
I have actually no clue about that noise is it only with pulseaudio? you have to play like this: |
I assumed it is the same noise you experienced here? dr-ni commented 23 hours ago |
I have now no noise with dmixed so maybe only a resampling problem. |
Yes I am happy - it now plays nicely The noise seems to be a distorted audio sub-level with clear audio super-imposed on the noise |
yes, would be interesting how it is working on other systems |
I've now also tested https://github.com/HinTak/seeed-voicecard @TobiasVanDyk |
I tried to but it does not like my WM8960 waveshare hat: dmesg | grep wm8960 I think it either needs a custom kernel and/or a Seeed HAT and/or changed install.sh |
can you uninstall your WM8960-Audio-HAT (sudo ./uninstall.sh) |
Hi dr-ni |
Ok I made a mistake - when I did the git clone from HinTak then the drivers works first time - no need to put it into ALSA pi@raspberrypi:~ $ aplay -l pi@raspberrypi:~ $ cd seeed-voicecard |
ok so my fork is still with errors... |
Yes sorry about the mistake I made.... |
Hi @dr-ni i had some time to test your driver,..
If I think a bit longer I tested the seeed driver first,.. maybe there are some issues with the old installation,.. I will check that. so I would say its close,.. Thanks for your work. |
Success,.. new install helped! |
Big Thanks @dr-ni for your work. Now i can use the module in the Raspi Desktop although i use the newer dtoverlay=vc4-kms-v3d in the config.txt. And this without noise. I wish to sum up all steps: Ignore the message "failed to load i2s-mmap" as @TobiasVanDyk mentined. The next steps will install other drivers for the wm8960-soundcard. Only a new driver, the rest should come from the repo of @dr-ni and stay. First i run The install.sh script above shows some errors in the midle of working. You need to reboot and run it again. Then the necessary drivers are installed. Now you can run the install.sh from @dr-ni again, but before i changed this script a little bit. I opened WM8960-Audio-HAT/install.sh and changed this line: Then run again the install script: I think a cold boot is necessary. Finish! Now you can open Chromium in Raspi Desktop and hear a youtube video without additional noise. Thanks to above two repos. Thanks @dr-ni . |
Using the new 1 May 2022 Waveshare Drivers works perfectly: git clone https://github.com/waveshare/WM8960-Audio-HAT After the reboot aplay -l should show the wm8960 soundcard and plays pulseaudio and alsa with no distortion |
This worked for me - pi4 with Rasbian 11 (bullseye), 6.1.21-v71+ (though I didn't need to do the second install of the WM8960) Waveshare installer did not work for me. (July 2024) |
New kernel version for Raspberry OS Bullseye
raspberrypi-kernel (1:1.20220328-1).
raspberrypi-kernel-headers (1:1.20220328-1).
Build fails with error message:
"Error! Bad return status for module build on kernel: 5.15.30-v7+ (armv7l)"
make.log
The text was updated successfully, but these errors were encountered: