Gesuino
Posts: 1
Joined: Tue Sep 11, 2018 12:34 pm

Activate audio in Ubuntu server 18.04

Tue Sep 11, 2018 12:49 pm

Hi, someone know how to activate audio on Ubuntu server 18.04 in raspberry pi 3b?
I have modified /boot/firmware/config.txt
enable_uart=1
kernel=uboot.bin
device_tree_address=0x02008000
dtparam=i2c_arm=on
dtparam=spi=on
dtsparam=audio=on <-- I add this line
hdmi_drive=2 <-- I add this line

Installed, Alsa Alsa utils, Alsa, tool, set autoload of audio module in Kernel:
ubuntu@ubuntu:~$ lsmod | grep snd
snd_bcm2835 32768 0
snd_pcm_oss 49152 0
snd_mixer_oss 24576 1 snd_pcm_oss
snd_pcm 106496 2 snd_pcm_oss,snd_bcm2835
snd_seq_dummy 16384 0
snd_seq_oss 49152 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 2 snd_seq_midi,snd_seq_oss
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 73728 6 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi,snd_seq_oss
snd_seq_device 16384 4 snd_seq,snd_rawmidi,snd_seq_midi,snd_seq_oss
snd_timer 32768 2 snd_seq,snd_pcm
snd 77824 9 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device,snd_bcm2835,snd_seq_oss,snd_pcm

This is my asound.conf:
ubuntu@ubuntu:~$ cat /etc/asound.conf
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}

Rebooted,
But it seems not seeing audio card:

ubuntu@ubuntu:~$ aplay -l
aplay: device_list:270: no soundcards found...
ubuntu@ubuntu:~$


Can you help me please?

Return to “Other”