I recently purchased a PiFi dac+ audio card for the Raspberry B+. According to several forums this card should work with the hifiberry dacplus drivers (same chipset). So I followed this guides and edited the /boot/config.txt, /etc/modules and the /etc/asound.conf but didn’t work. I also tried to use the GUI by enabling the hifiberry card in the OSMC program settings. However, when I try to set a different output devise in the GUI under Settings I can only choose between HDMI and analogue.
Did anyone get this soundcard to work under OSMC?
Also, I should add that ‘aplay -l’ does not recognize the card which according to the guide I used, seems to be normal for this card.
and I followed the exact same instructions as you did!
Only thing: I removed “plus” since I do not have the plus version.
After a reboot I can select the DAC: Settings>System>Audio output>Audio output device:ALSA: Default (snd_rpi_hifiberry_dac Analog)
But I have no audio. Restarting did not work.
Yes (that is what I meant with enabling it in MyOSMC).
I have rebooted many times because I tried with ‘dacplus’ and ‘dac’. I think I need a way to do debugging.
Now that I have successfully upgraded to OSMC-Aug’15 I decided to try again:
– Raspberry Pi 1 B with this HiFi DAC and this WiFi usb adapter. Wifi works perfectly.
– I use a simple single speaker connected to the anologue audio output of the RPI or the output of the DAC
– clean install using Windows installer
– only played back 1 file via uPNP, installed Radio, Youtube and 3 subtitle addons
– customized the home menu via Appearance settings
– updated/upgraded today
Via My OSMC, I enabled the soundcard overlay “hifiberry-dac-overlay” and disabled “Enable LIRC GPIO support”
via Settings>System I switched from Anologue to the overlay “ALSA: Default (snd_rpi_hifiberry_dac Analog)”
navigation beep is gone and there is no audio during playback
after a reboot, still no audio. Switched back to analogue
I did not follow any of the before mentioned guides to manually mess with conf files or create new ones.
The device you provide here is not a HifiBerry DAC+. I’m not sure why you are expecting the configuration for a specific device to work with your device. Does the pi even recognize this device?
This topic was started by Lowry76 who had an issue with DAC+. I simply recycled his topic instead of creating a new one because I have the exact same issue with a DAC, not a DAC+. I do not have the RPi B+ but the RPi B (non-plus). The hardware is a match. I have given ALL information in my previous post, the log files should show I do not have an RPi+ and the link to the product show that I have a DAC, not a DAC+. What more could I possibly do?
My only mistake is that I should have created a new fresh topic to prevent misunderstandings.
Note I followed that exact guide earlier (but not this time) and the RPi also showed the device in System>Audio Output. So the guide is actually valid. But there is no need to follow it because enabling it in My OSMC also works.
works = it appears as an audio output in System>Audio. There is no sound.
In Settings > System > Audio Output I can select** ALSA: Default(snd_rpi_gifiberry_dac Analog)** but at this moment system is hangs.
Could you help how to run this DAC?
For my RPi2 I bought the official HiFiBerry DAC+ standard phone jack. It works perfectly.
My cheap one which I posted about earlier doesn’t work with any settings.
I would strongly recommend spending your money on the official DAC+, it works flawlessly, no need to mess with configurations, just enable it in MyOSMC, reboot, switch to your dac in Kodi>Settings>System>Audio Output and reboot. Now audio will work via the dac.
HUH!?
For HiFiBerry you wasted your time! All you have to do is enable Hifiberry in MyOSMC and switch to Hifiberry in Settings>System>Audio Output. Nothing else!
For HiFiBerry lookalikes you might need extra actions, but you really do not need to do anything via SSH for the official HiFiBerry.
I have tried to get my es9023 dac work with osmc, but I can’t see my dac (hifiberry alsa device) in my osmc-settings-audio. With alsa tools I can see configured hifiberry dac as card 1. Does this mean that my hardware is working or does this mean that my software is now ok? I have tried with several instructions and tutorials but nothing seems to be working.
Just noticed this thread started few days ago. January update now iqaudio dac not working?
There was the solution to add dtparam=audio=off to config.txt file and that worked for me also. So with the january update the i2s audio devices needs this fix. Now sound is coming and can’t believe how much better it is than stock raspberry analog output.
Just got mine too but the problem is different: the system is unable to find ‘snd_soc_bcm2708’ and ‘snd_soc_bcm2708_i2s’ modules.
Boot log:
Feb 03 00:41:53 osmc systemd-journal[151]: Journal started
Feb 03 00:41:53 osmc systemd-modules-load[147]: Inserted module ‘fuse’
Feb 03 00:41:53 osmc systemd-modules-load[147]: Failed to find module ‘snd_soc_bcm2708_i2s’
Feb 03 00:41:53 osmc systemd-modules-load[147]: Failed to find module ‘snd_soc_bcm2708’
Feb 03 00:41:53 osmc systemd-modules-load[147]: Module ‘bcm2708_dmaengine’ is builtin
Feb 03 00:41:53 osmc systemd-modules-load[147]: Inserted module ‘snd_soc_pcm5102a’
Feb 03 00:41:53 osmc systemd-modules-load[147]: Inserted module ‘snd_soc_hifiberry_dac’
Feb 03 00:41:53 osmc systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Feb 03 00:41:53 osmc systemd[1]: Failed to start Load Kernel Modules.
Feb 03 00:41:53 osmc systemd[1]: Unit systemd-modules-load.service entered failed state.
Feb 03 00:41:53 osmc kernel: snd-hifiberry-dac sound: ASoC: CPU DAI (null) not registered
Feb 03 00:41:53 osmc kernel: snd-hifiberry-dac sound: snd_soc_register_card() failed: -517
Feb 03 00:41:53 osmc fake-hwclock[141]: Tue Feb 2 18:41:53 UTC 2016
Feb 03 00:41:53 osmc systemd-udevd[165]: starting version 215
Feb 03 00:41:53 osmc systemd-sysctl[171]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/101-osmc-device.conf’.
Feb 03 00:41:53 osmc systemd-sysctl[171]: Overwriting earlier assignment of vm/swappiness in file ‘/etc/sysctl.d/101-osmc-device.conf’.
Feb 03 00:41:53 osmc systemd-sysctl[171]: Overwriting earlier assignment of vm/min_free_kbytes in file ‘/etc/sysctl.d/osmc.conf’.
Feb 03 00:41:53 osmc systemd-sysctl[171]: Overwriting earlier assignment of vm/swappiness in file ‘/etc/sysctl.d/osmc.conf’.
Feb 03 00:41:53 osmc hdparm[168]: Setting parameters of disc: (none).
Feb 03 00:41:53 osmc kernel: EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Feb 03 00:41:53 osmc kernel: snd-hifiberry-dac sound: ASoC: CPU DAI (null) not registered
Feb 03 00:41:53 osmc kernel: snd-hifiberry-dac sound: snd_soc_register_card() failed: -517
Feb 03 00:41:53 osmc kernel: snd-hifiberry-dac sound: pcm5102a-hifi ↔ 3f203000.i2s mapping ok
For the issue of the sndrpihifiberry card being not in the OSMC Settings System Audio output menu, because it is not the primary card listed under aplay -l, just add the line:
dtparam=audio=off
to /boot/config.txt
It fixed that issue for me. I then could select the Hifiberry DAC+ in the OSMC audio settings again.
However I still have no sound.