by jaab » Mon Apr 23, 2018 7:21 am
No idea. I just follow the wiki and get sound.
$this->bbcode_second_pass_code('', '[alarm@alarmpi boot]$ cat config.txt
# See /boot/overlays/README for all available options
gpu_mem=64
initramfs initramfs-linux.img followkernel
dtparam=audio=on
#dtoverlay=vc4-fkms-v3d
#cma_lwm=16
#cma_hwm=64
#cma_offline_start=16
')
$this->bbcode_second_pass_code('', '[alarm@alarmpi boot]$ 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 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
')
$this->bbcode_second_pass_code('', '[alarm@alarmpi boot]$ lsmod
Module Size Used by
fuse 102400 3
lz4 16384 4
lz4_compress 65536 1 lz4
zram 28672 1
btsdio 16384 0
bluetooth 360448 2 btsdio
ecdh_generic 28672 1 bluetooth
joydev 20480 0
brcmfmac 217088 0
evdev 24576 4
brcmutil 16384 1 brcmfmac
cfg80211 577536 1 brcmfmac
bcm2835_rng 16384 0
rng_core 16384 2 bcm2835_rng
uio_pdrv_genirq 16384 0
fixed 16384 0
uio 16384 1 uio_pdrv_genirq
sch_fq_codel 20480 2
snd_bcm2835 32768 1
snd_pcm 94208 1 snd_bcm2835
snd_timer 32768 1 snd_pcm
snd 65536 5 snd_timer,snd_bcm2835,snd_pcm
ip_tables 24576 0
x_tables 24576 1 ip_tables
ipv6 438272 36
')