I'm trying to use the hifiberry ADC pro to stream audio with a raspberry pi 4.
I'm using Ubuntu 22.04.2 LTS.
I used the unix 4.x kernel guide to setup the config.txt in /boot/firmware/config.txt:
#added and removed lines:
#dtparam=audio=on
#dtoverlay=vc4-fkms-v3d,audio=off
dtoverlay=vc4-kms-v3d,noaudio
dtoverlay=hifiberry-dacplusadcpro
force_eeprom_read=0
(tried with fkms off, kms off and without either of them).
aplay -l will return the correct card (I think?):
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC Pro HiFi multicodec-0 [HiFiBerry DAC+ADC Pro HiFi multicodec-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Now the problem is that there is no audio when I start a stream with darkice, or try to record with arecord -d 10 -r 48000 -c 2 -f S16_LE
I'm sure I'm inserting audio into the card using the analogue input, phone jack 3.5 mm. But the audio recording is completely silent.
Now I was hoping anyone could point me to some things I could try, because I'm not sure what to do next.
Thanks in advance!