WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Soundcard not found  (Read 2001 times)

Offline Mucke

  • Newbie
  • *
  • Posts: 31
Soundcard not found
« on: September 03, 2020, 12:36:21 PM »
Hello,

I like to use a Hifiberry Digi. After loading alsa-modules-5.4.51-piCore-v7.tcz and declaring the proper dtoverlay=hifiberry-digi the result of lsmod is
Code: [Select]
snd_soc_wm8804         16384  0
snd_soc_rpi_wm8804_soundcard    16384  0
snd_soc_bcm2835_i2s    16384  0
snd_soc_core          204800  3 snd_soc_wm8804,snd_soc_rpi_wm8804_soundcard,snd_soc_bcm2835_i2s
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm                98304  4 snd_soc_wm8804,snd_soc_bcm2835_i2s,snd_soc_core,snd_pcm_dmaengine
snd_timer              32768  1 snd_pcm
snd_compress           20480  1 snd_soc_core
snd                    73728  4 snd_soc_core,snd_pcm,snd_timer,snd_compress

So far ok. But aplay does not find the soundcard.

dmesg now shows me
Code: [Select]
[   11.948387] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Digi: -517
[   11.952725] snd_soc_wm8804_i2c: Unknown symbol __devm_regmap_init_i2c (err -2)
[   11.964470] snd_soc_wm8804_i2c: Unknown symbol __devm_regmap_init_i2c (err -2)
[   12.304223] i2c /dev entries driver

How to fix?
(The system is PiCore12.0alpha1)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: Soundcard not found
« Reply #1 on: September 03, 2020, 01:02:08 PM »
There is a missing module, you can grab the module from http://www.tinycorelinux.net/12.x/armv7/releases/RPi/src/kernel/modules_v7.tar.gz

or wait until we update the image.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: Soundcard not found
« Reply #2 on: September 03, 2020, 01:03:09 PM »
Hi Mucke
Code: [Select]
[   11.948387] snd-rpi-wm8804 soc:sound: ASoC: failed to init link HifiBerry Digi: -517
[   11.952725] snd_soc_wm8804_i2c: Unknown symbol __devm_regmap_init_i2c (err -2)
[   11.964470] snd_soc_wm8804_i2c: Unknown symbol __devm_regmap_init_i2c (err -2)
[   12.304223] i2c /dev entries driver
You need  regmap-i2c.ko.  It is in  modules_v7.tar.gz  found here:
http://tinycorelinux.net/12.x/armv7/releases/RPi/src/kernel

Offline Mucke

  • Newbie
  • *
  • Posts: 31
Re: Soundcard not found
« Reply #3 on: September 03, 2020, 01:43:43 PM »
Thanks. It seems that piCore is a puzzle game  ;)
I'll step back to piCore11.0 and wait until piCore12 has moved from alpha1 stage.