Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: xdemy on January 09, 2024, 06:04:18 AM

Title: What do I need to do to get hifiberry DAC working on piCore14.1?
Post by: xdemy on January 09, 2024, 06:04:18 AM
RpiZero2W, piCore 14.1 (6.1.68) aarch64;

I use Pimoroni Audio DAC Shim (based on PCM5100A DAC chip);
On RaspbianOS its working fine and visible as:

aplay -l:
Code: [Select]
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac],
device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

This is what I see on my piCore :/
Code: [Select]
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: b1 [bcm2835 HDMI 1], device 1: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I want to disable the hdmi audio and use DAC only :/
Title: Re: What do I need to do to get hifiberry DAC working on piCore14.1?
Post by: Rich on January 09, 2024, 12:56:48 PM
Hi xdemy
Go to this page:
https://forum.tinycorelinux.net/index.php?action=search
Set  Search order:   to   Most recent topics first.
Enter   hifiberry   in   Search for:

You should get about 2 dozen topics that mention  hifiberry.
See if any of those provide any useful information.
Title: Re: What do I need to do to get hifiberry DAC working on piCore14.1?
Post by: xdemy on January 09, 2024, 02:30:08 PM
I wouldn't ask this question if I could find any info which works in my case.
Mentioning "hifiberry" on other posts did not help me so far.
Any particular information I have missed? Perhaps you could direct me to a relevant one, or answer my question instead of writing the instruction how to use the search page and telling me that there are posts containing "hifiberry" word  :(
Title: Re: What do I need to do to get hifiberry DAC working on piCore14.1?
Post by: Paul_123 on January 09, 2024, 02:43:36 PM
tinycore/picore is a toolkit.  Why don't you start by telling us what you have done.  If you have just burned an image, then you are a long way off.   

For configuration, you probably need to understand everything here

https://www.raspberrypi.com/documentation/computers/configuration.html

Title: Re: What do I need to do to get hifiberry DAC working on piCore14.1?
Post by: xdemy on January 10, 2024, 07:22:03 PM
The answer is:
Edit config.txt file on boot partition:
remove line:
Code: [Select]
dtparam=audio=onadd line:
Code: [Select]
dtoverlay=hifiberry-dac
That's all that has to be done to get it visible in "aplay -l" output and working.