0

pi4 2GB, raspbian 10, beocreate 4ch, no audio with mocp (works with pi3 and raspbian 9)

Hi all

Could get a weekend off, so I tried to get some beocreates set up for a three way speaker of a friend. All hardware is new, so with pi4 2GB and raspbian.

I can talk to the beocreate using SigmaStudio. Problem:

mocp
Running the server...
Trying JACK...
Trying ALSA...
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!

Info (removed irrelevant parts):

cat /boot/config.txt
# For more options and information see#
...

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=off
#dtparam=i2s=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtoverlay=hifiberry-dac
dtparam=spi=on
enable_uart=1
force_eeprom_read=0

Only last line is differnet on pi3B+/Raspbian 9 install.

cat /etc/asound.conf


pcm.hifiberry {
type hw
card 0
device 0
}

pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "hifiberry"
slave {
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

pcm.softvol {
type softvol
slave.pcm "dmixer"
control {
name "Master"
card 0
}
min_dB -90.2
max_dB 0.0
}

pcm.!default {
type plug
slave.pcm "softvol"
}

 

lsmod | grep snd
snd_soc_rpi_simple_soundcard 16384 1
snd_soc_bcm2835_i2s 16384 2
snd_soc_pcm5102a 16384 1
snd_soc_core 200704 3 snd_soc_bcm2835_i2s,snd_soc_pcm5102a,snd_soc_rpi_simple_soundcard
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 94208 4 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_core,snd_soc_rpi_simple_soundcard
snd_timer 32768 1 snd_pcm
snd 73728 6 snd_compress,snd_timer,snd_soc_core,snd_pcmn pi3 that looks the same
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
equal
dmixer
softvol
default
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dac,
Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac,
Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac,
Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac,
Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0
snd_rpi_hifiberry_dac,
Hardware device with all software conversions
cat /etc/asound.conf
pcm.hifiberry {
type hw
card 0
device 0
}

pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "hifiberry"
slave {
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

pcm.softvol {
type softvol
slave.pcm "dmixer"
control {
name "Master"
card 0
}
min_dB -90.2
max_dB 0.0
}

pcm.!default {
type plug
slave.pcm "softvol"
}

To me that all looks OK. Apart from "force_eeprom_read=0", the files are the same on the working pi3B+/Raspbian 9 install, where mocp starts and plays without problems. What am I missing?

Greez

chris

 

 

1 comment

Please sign in to leave a comment.