0

piCoreplayer won't play with Dac2

Hi,

Brand new Dac2 user.  Just purchased an RPI4 with the Hifiberry Dac2 hat. I've downloaded, burned and installed piCoreplayer on two different SD cards. With both cards, the system comes up just fine and is, initially, visible in LMS as "piCore player". Because there was no DAC2 entry available in the dropdown menu, I selected the "Hifiberry Dac+ (and Pro Amp) as the audio output device, pressed Save, and rebooted. Upon reboot, the output setting under Squeezelite Settings shows:

hw:Card=sndrpihiberry

I also tried: hw:CARD=sndrpihifiberry

The problem is that, upon reboot, it also shows the "Squeezelite is not running" message and, of course, it is not visible to LMS any more.  It appears that Squeezlite/piCoreplayer is not recognizing the hat.

The alsa setting shows: 80, 4, (blank box), 1, (blank box)

Additional info: I also downloaded, and burned to an SD card, the Hifiberry OS. This worked as expected and allowed me to verify that it is not a hardware issue. With the Hifberry OS installed, and Squeezelite selected as the player, the RPI/Dac2 combo appeared in LMS and I was able to play music with no problems.

My preference is to use piCoreplayer as I have another Rpi4 connected to a separate USB dac where I'm using piCoreplayer/Squeezelite/LMS without any problems.

In piCoreplayer dmesg, this may be relevant....not sure since I'm not at all versed in Linux (or any other software---basically a tech ignoramus).

[ 4.214518] clk-hifiberry-dacpro clocks:dacpro_osc: Fail to register clock driver
[ 4.214536] clk-hifiberry-dacpro: probe of clocks:dacpro_osc failed with error -17
[ 4.288673] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.292358] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 4.306648] bcm2835_audio soc:audio: card created with 8 channels
[ 4.306847] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 4.320018] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 4.322140] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry
[ 4.324100] pcm512x 1-004d: Linked as a consumer to regulator.1
[ 4.525989] bcmgenet: Skipping UMAC reset
[ 4.602568] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[ 4.606570] Starting piCorePlayer v6.1.0 startup.
[ 5.634334] bcmgenet fd580000.genet eth0: Link is Down
[ 9.730366] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 25.450708] random: sshd: uninitialized urandom read (32 bytes read)
[ 25.485543] random: squeezelite: uninitialized urandom read (32 bytes read)
[ 25.544115] Finished piCorePlayer v6.1.0 startup.
[ 141.846518] random: squeezelite: uninitialized urandom read (32 bytes read)
[ 190.974283] random: crng init done

In the Squeezelite settings, the devices listed under output settings are as follows:

  • null
  • default
  • plugequal
  • equal
  • sysdefault:CARD=ALSA
  • hw:CARD=ALSA,DEV=0
  • hw:CARD=ALSA,DEV=1
  • hw:CARD=ALSA,DEV=2
  • plughw:CARD=ALSA,DEV=0
  • plughw:CARD=ALSA,DEV=1
  • plughw:CARD=ALSA,DEV=2


If someone could assist me in getting this running, I'd appreciate it. A couple weeks ago, got another RPI4 without a dac hat (connected to a USB dac) and it was a snap to set up and is running perfectly . But this RPI/hifiberry DAC2/piCoreplayer combination has given me fits. I googled all over and it seems very few people have had an issue with this combo and I did not see any obvious solutions.

Thanks!

11 comments

Please sign in to leave a comment.