Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Mucke on September 02, 2020, 05:41:13 AM
-
Hello,
I've installed piCore test release 12 but also final release 11.
I have recognized that my soundcard is not recognized and listed by lsmod (dtoverlay is defined in config.txt)
A further exploration shows that there are no sound drivers in /lib/modules/xxx/kernel
Where are they? How to get them?
Thanks for some enlightenment.
-
Where are they? How to get them?
Until you get a better reply, when you have the modules loaded you should see
lsmod | grep snd
snd_bcm2835 28672 0
snd_pcm 98304 1 snd_bcm2835
snd_timer 32768 1 snd_pcm
snd 73728 3 snd_bcm2835,snd_pcm,snd_timer
but that bcm<number> relates to my RPi4.
so depending on your result for
uname -r
# RPi 4 gives 5.4.51-piCore-v7l+you will probably need to download and then load alsa alsa-utils. That loads a recursive dep of
alsa-modules-KERNEL.tcz
Now look at your Apps. If you see 2 alsa-modules*tcz then you need to download the one that matches your above kernel release number. For me I have
ls /usr/local/tce.installed/ | grep alsa
alsa
alsa-modules-5.4.51-piCore-v7l+
alsa-utils
If there are 2 alsa modules, there can be mixup and the explanation is explained for a different TCE but similar result here
http://forum.tinycorelinux.net/index.php/topic,24246.0.html
Good Luck
-
Thanks.
Downloading and installing alsa-modules-5.4.51-piCore-v7.tcz for PiCore12.0alpha1 does the trick.
Is there some documentation about the strategy of packing kernel modules into a tcz extension? This solution is not very obvious.
-
We include as few as possible kernel modules in the rootfs to keep the image size small. So really any added kernel function needs an extension. Extensions are typically packed by function, i.e. alsa, graphics, touchscreen...... Normally when looking for sound you would load alsa, when you load alsa.tcz, it would automatically grab the modules as a dependency.
tce-load -wi alsa.tcz
tce is an extension browser where you can search, it should become obvious if you do a search for alsa in the repo.
-
Thanks. Ok, at least I have got it now ;D