Hi everyone,
I'm facing a problem with my new sound DAC+ standard.
I did every step mentionned in the configuration topic :
- add "dtoverlay=hifiberry-dacplus" in /boot/config.txt
- remove "dtparam=audio=on"
- configuring alsa by creating /etc/asound.conf file with the appropriate content
- update the Linux kernel
Then reboot the pi, a green led appears on the sound card when pi is starting.
i tried with sox and a 1000 sine wave, mplayer and wav file, and vlc, at each time the greens led appears, then keep lighting until i stop the process, but no sound...
The card is connected to a well-working amplifier via RCA connections.
Everything works fine with AV jack and HDMI outputs.
Here is my config :
Raspberry Pi 3B+ with last version of Raspberry Pi Desktop and Debian
DAC+ standard
/boot/config.txt
[all]
dtoverlay=hifiberry-dacplus
aplay -l
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
sox
pi@raspberrypi:~ $ play -n synth sine 1000
\play WARN alsa: can't encode 0-bit Unknown or not applicableFile Size: 0
Encoding: n/a
Channels: 1 @ 32-bit
Samplerate: 48000Hz
Replaygain: off
Duration: unknownIn:0.00% 00:00:04:88 [00:00:00:00] Out:90.1k.....
amixer
pi@raspberrypi:~ $ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]