Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Mucke 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
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
[ 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)
-
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.
-
Hi Mucke
[ 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
-
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.