0

No analog output from DAC+ DSP in HifiberryOS 20221128

I'm trying to make DAC+ DSP as an audio receiver for TV.

But I cannot get stable result at this moment with several problems.

I'm using RPi 3 a+ and DAC+ DSP. No other hardware.

# /opt/hifiberry/bin/check-system
HiFiBerryOS version: 20221128
Pi type: 3A+
Pi model: Raspberry Pi 3 Model A Plus Rev 1.0
Compatibility: No known problems
Sound card: DAC+ DSP
Sound card ID: 0
aplay 1: card 0 sndrpihifiberry [snd_rpi_hifiberry_dac]
aplay 2:  device 0 HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Mixer: Softvol
Features: pi bluetooth pi3orlater arm7 dsp toslink
Power controller: Error: Read failed
Error: Read failed
not detected
Linux version: Linux hifiberry 5.15.78-v7 #1 SMP Mon Nov 14 10:54:18 UTC 2022 armv7l GNU/Linux
Date and time: Thu Feb  2 04:14:40 JST 2023
ifconfig: eth0: error fetching interface information: Device not found
eth0: 192.168.16.118
/data mounted: OK
/dev/dri/card0: OK
BT devices: hci0 -
WiFi devices: wlan0
audiocontrol2: running
beocreate2: running
bluetooth: not running
bluealsa: not running
bluealsa-aplay: not running
dlnampris: not running
mpd: running
pigpio: running
raat: not running
shairport-sync: not running
sigmatcp: running
snapcastmpris: not running
spotify: not running
squeezelite: not running
sshd: running
ympd: running
weston: not running
cog: not running

1. I have to set DSP profile every boot.

I read some posts in the forum and did the step to write the profile for selfboot.

The steps I did were;

  1. Power off then unset the selfboot jumper
  2. Power on then write the DSP program 12 from HifiberryOS Web UI
  3. Power off then set the selfboot jumper
  4. Power on

But I still got "Unknown Program" after power cycle and need to program again.

Are there missing steps I need to do? 

2. No analog audio

And I cannot get any analog audio output. Based on the article about the linux kernel version, I added "force_eeprom_read=0" to get correct driver.

However, strangely, I got analog output some, but it was very rare and went silent again after power cycle even in that case.

Mostly I haven't got any output except popping noises while programming the DSP from the web UI. For example, I cannot hear anything from "play -n synth sine 1000"

I cannot get why it doesn't work stable and where the root cause is, software or hardware.

Please give any advice.

config.txt is here (I removed comments and blank lines)

start_file=start.elf
fixup_file=fixup.dat
kernel=zImage
disable_overscan=1
gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
dtparam=i2c=on
dtparam=spi=on
dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1
dtoverlay=vc4-fkms-v3d,audio=off
dtoverlay=hifiberry-dac
force_eeprom_read=0

aplay result.

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 1/1
Subdevice #0: subdevice #0

 

7 comments

Please sign in to leave a comment.