waveshare / WM8960-Audio-HAT

The drivers of [WM8960 Audio HAT] for Raspberry Pi
GNU General Public License v3.0
100 stars 65 forks source link

WM8960 and RPi0-2W running Raspbian (v 5.10.103, armv7l) #41

Closed vasagle-gleblu closed 2 years ago

vasagle-gleblu commented 2 years ago

Hello,

I recently tried to download and install the driver for this audio hat from both: https://github.com/waveshare/WM8960-Audio-HAT and https://github.com/Sybility/WM8960-Audio-HAT.git

However, each time there is an error trying to start up the service: ● wm8960-soundcard.service - WM8960 soundcard service Loaded: loaded (/lib/systemd/system/wm8960-soundcard.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2022-03-10 12:47:43 EST; 6min ago Process: 432 ExecStart=/usr/bin/wm8960-soundcard (code=exited, status=99) Main PID: 432 (code=exited, status=99) CPU: 801ms

Mar 10 12:47:39 rpi0-alpha systemd[1]: Starting WM8960 soundcard service... Mar 10 12:47:39 rpi0-alpha wm8960-soundcard[432]: + exec Mar 10 12:47:39 rpi0-alpha wm8960-soundcard[434]: ++ basename /usr/bin/wm8960-soundcard Mar 10 12:47:43 rpi0-alpha systemd[1]: wm8960-soundcard.service: Main process exited, code=exited, status=99/n/a Mar 10 12:47:43 rpi0-alpha systemd[1]: wm8960-soundcard.service: Failed with result 'exit-code'. Mar 10 12:47:43 rpi0-alpha systemd[1]: Failed to start WM8960 soundcard service.

This happens whether I restart / recompile / reinstall / reboot the RPi0. There is audio but it is all buzzy and garbled.

Also, I get the message "Failed to load i2s-mmap" when I reboot the RPi0. This happened ever since in installed the driver from the beginning.

Is there any way to fix this? Thank you.

vasagle-gleblu commented 2 years ago

FYI to anyone who finds this post:

I finally heard back from WaveShare support and there apparently is a hardware conflict between the WM8960 board and the Sense Hat (B) board. I had both of these items making it look like an ice cream sandwich but that apparently created the Status 99 message I kept receiving. After removing the Sense Hat (B) board I now have sound again but it is garbled and still receive the "Failed to load i2s-mmap" message. I will probably have to start over again with a fresh image w/o it being tainted by Sense Hat (B) board.

Live and learn, I guess...