Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: trithilon on August 22, 2022, 03:44:12 PM
-
Hi,
I am unable to get sound to work on my piCore installation be it inside CLI OR in desktop/GUI mode.
Are there packages I need to use? Any particular /boot/config.txt settings?
-
If you load the alsa-utils extension, you should see this:
aplay -l | grep hdmi
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
..and this: cat /proc/asound/modules
0 snd_bcm2835
1 vc4
2 vc4
..however neither of these work for me: speaker-test -Ddefault:1 -c2 -t wav -l1
speaker-test -D plughw:1,0 -t wav
-
If you load the pavucontrol and xmms-pulse extensions, you can run pavucontrol and play an mp3 file via hdmi using xmms, but that's a lot of bloat.
There must be a way to use alsa, it's just a matter of finding it :)
-
So you are telling me there is no easy way to get audio playback in piCore? :O
I ONLY load the following packages:
- Xorg-3d
- TC
- compiletc
- nano
- pcmanfm
- Rhythmbox
No luck playing anything. Do I need libpulseaudio or alsa or anything else for audio playback?
-
As just explained:
* You can get alsa playback through the headphone jack using alsa-utils and aplay/speaker-test
* You can get pulseaudio playback through hdmi/headphone jack using pavucontrol and xmms-pulse
What I haven't figured out is alsa playback through hdmi