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

WM9860 sound card not detected #7

Open
antonbek89 opened this issue Nov 8, 2019 · 15 comments
Open

WM9860 sound card not detected #7

antonbek89 opened this issue Nov 8, 2019 · 15 comments

Comments

@antonbek89
Copy link

antonbek89 commented Nov 8, 2019

how i resolve it ?

Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
75 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
raspberrypi-kernel-headers is already the newest version (1.20190925+1-1).
raspberrypi-kernel is already the newest version (1.20190925+1-1).
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.3-2).
git is already the newest version (1:2.11.0-3+deb9u4).
i2c-tools is already the newest version (3.1.2-3).
libasound2-plugins is already the newest version (1.1.1-1).
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
Error! There are no instances of module: wm8960-soundcard
1.0 located in the DKMS tree.

Creating symlink /var/lib/dkms/wm8960-soundcard/1.0/source ->
                 /usr/src/wm8960-soundcard-1.0

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.19.75-v8+ cannot be found at
/lib/modules/4.19.75-v8+/build or /lib/modules/4.19.75-v8+/source.
Created symlink /etc/systemd/system/sysinit.target.wants/wm8960-soundcard.service → /lib/systemd/system/wm8960-soundcard.ser                                        vice.
------------------------------------------------------
Please reboot your raspberry pi to apply all settings
Enjoy!
------------------------------------------------------

after finish install this the resualt

pi@retropie:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@retropie:~ $ uname -a
Linux retropie 4.19.75-v8+ #1270 SMP PREEMPT Tue Sep 24 18:59:17 BST 2019 aarch64 GNU/Linux

@waveshare
Copy link
Owner

After the installation is complete, you need to reboot

@JaiPe
Copy link

JaiPe commented Feb 5, 2020

I'm getting the same issue as above. Even after reboot aplay -l isn't showing the device.

dkms is already the newest version (2.3-2).
git is already the newest version (1:2.11.0-3+deb9u5).
i2c-tools is already the newest version (3.1.2-3).
libasound2-plugins is already the newest version (1.1.1-1).
0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.

Creating symlink /var/lib/dkms/wm8960-soundcard/1.0/source ->
                 /usr/src/wm8960-soundcard-1.0

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.14.79+ cannot be found at
/lib/modules/4.14.79+/build or /lib/modules/4.14.79+/source.
Created symlink /etc/systemd/system/sysinit.target.wants/wm8960-soundcard.service → /lib/systemd/system/wm8960-soundcard.service.
------------------------------------------------------
Please reboot your raspberry pi to apply all settings
Enjoy!
------------------------------------------------------

@JaiPe
Copy link

JaiPe commented Feb 5, 2020

pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux

pi@raspberrypi:~ $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

@miguelwon
Copy link

I'm having the same error as @RatherSlowTurtle. Any update on this issue?

@jiangytcn
Copy link

exactly same issue with kernel 4.19.109-v7+ on raspberry 3b+

@JaiPe
Copy link

JaiPe commented Mar 23, 2020

exactly same issue with kernel 4.19.109-v7+ on raspberry 3b+

I was getting an error further up the install script about the kernel version not being found. I got around it by linking another version to the one the install script was looking for.

sudo ln -s -T /lib/modules/4.19.66+/ /lib/modules/4.14.98+

@jiangytcn
Copy link

I downloaded the kernel and its header from https://archive.raspberrypi.org/debian/pool/main/r/raspberrypi-firmware

now the installation is complemented. but still not detected

pi@pi:~ $ lsmod  | grep wm8960
snd_soc_wm8960_soundcard    16384  0
snd_soc_simple_card_utils    16384  1 snd_soc_wm8960_soundcard
snd_soc_wm8960         40960  0
snd_soc_core          192512  4 snd_soc_wm8960_soundcard,snd_soc_simple_card_utils,snd_soc_bcm2835_i2s,snd_soc_wm8960
snd_pcm               102400  5 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_soc_wm8960
snd                    73728  10 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_soc_wm8960,snd_pcm
pi@pi:~ $ uname  -r
4.19.97-v7+

@jiangytcn
Copy link

finally get it running successfully with latest raspbian os

pi@raspberrypi:~ $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $ cat /etc/rpi-issue 
Raspberry Pi reference 2020-02-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5f884374b6ac6e155330c58caa1fb7249b8badf1, stage2
pi@raspberrypi:~ $ uname -r
4.19.97-v7+```

@kld007
Copy link

kld007 commented Apr 2, 2020

Ok nice and how do you solve it?

@jiangytcn
Copy link

old-school way, installed with latest raspbian image

@AsebWebDev
Copy link

Having the same issue with Kernel 5.4.51+

pi@raspberrypi:/WM8960-Audio-HAT $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:
/WM8960-Audio-HAT $ cat /etc/rpi-issue
Raspberry Pi reference 2020-05-27
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 825107f04027269db77426046f5085475b1ea22f, stage2
pi@raspberrypi:~/WM8960-Audio-HAT $ uname -r
5.4.51+

@stevewiig
Copy link

Same issue when trying to install the WM8960 sound card on a Rasberry Pi 4. Am using the latest image of Raspbian.
"Your kernel headers for kernel 6.1.21-v8+ cannot be found" when installing Waveshare WM8960 sound card

@sleiman
Copy link

sleiman commented May 16, 2023

@stevewiig any luck? getting the same issue

@sleiman
Copy link

sleiman commented May 16, 2023

I fixed my problem by doing the following:

Edit config.txt
cd /boot
sudo nano config.txt

Add this line
arm_64bit=0

Reboot
sudo reboot

@Mohit-Ak
Copy link

Mohit-Ak commented Nov 7, 2023

Same issue when trying to install the WM8960 sound card on a Rasberry Pi 4. Am using the latest image of Raspbian. "Your kernel headers for kernel 6.1.21-v8+ cannot be found" when installing Waveshare WM8960 sound card

I had the same issue using raspberry pi os lite 64 bit. Solved using this repo which supportes the 6+ kernel and a specific branch as recommended by their support team:

git clone https://github.com/HinTak/seeed-voicecard -b v6.1

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

10 participants