0

Alsaloop input to rca

Hello! I purchased a Hifiberry DAC + ADC for my Raspberry pi 4B. The card plays great, 
but I have a problem with the jack input.
I just want to send the signal from the input to the RCA output. Recording does not interest me.
The alsaloop command returns an error:

playback hw:0,0 open error: No such device
Loopback initialization failure.

Checking: aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplusadc], device 0: HiFiBerry DAC+ADC HiFi multicodec-0 [HiFiBerry DAC+ADC HiFi multicodec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
And here I am looking for a solution, 
is it possible to change the order of the cards
so that the DAC has the number 0? Or how to remove the other two?
I created asound.conf in the /etc directory, even copied it to the user's home directory. Access rights set to full access.
Its contents according to the instructions:
pcm.!default {
  type hw card 0
}
ctl.!default {
  type hw card 0
}

Raspi-config only sees:Choose the audio output                                  │
 0 HiFiBerry DAC+ADC HiFi multicodec-0

My system: uname -a
Linux raspberrypi 5.10.94-v7l+ #1518 SMP Thu Jan 27 14:54:16 GMT 2022 armv7l GNU/Linux


Best regards and thank you in advance
Dariusz





 

3 comments

Please sign in to leave a comment.