Hello,
I own the normal DAC (without +).
Today I flashes the image you suplied in ().
What are the changes I have to made, if I want to use it with my DAC?
Now I made this changes:
snd_soc_bmc2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac
in /storage/.config/modules-load.d/hifiberry.conf
and
<advancedsettings>
<video>
<defaultplayer>dvdplayer</defaultplayer>
<defaultdvdplayer>dvdplayer</defaultdvdplayer>
</video>
<audio>
<defaultplayer>paplayer</defaultplayer>
<streamsilence>false</streamsilence>
</audio>
</advancedsettings>
in /storage/.xbmc/userdata/advancedsettings.xml
It's working now, but I get an error messages on boot screen.
Date
Votes
7 comments
-
HiFiBerry team IN general this looks right, what is the error message?
Best regards
Daniel -
Christian R Hello Daniel,
the error message is seen during boot screen.
Is an failure with loading modules.
HiFiBerry:~ # systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Thu 1970-01-01 00:00:06 UTC; 44 years 11 months ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 130 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 130 (code=exited, status=1/FAILURE)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
and lsmod says:
HiFiBerry:~ # lsmod
Module Size Used by
snd_soc_wm8804 6900 0
regmap_spi 1465 1 snd_soc_wm8804
snd_soc_pcm512x_i2c 1481 0
snd_soc_pcm512x 6092 1 snd_soc_pcm512x_i2c
regmap_i2c 1974 2 snd_soc_wm8804,snd_soc_pcm512x_i2c
snd_soc_hifiberry_dac 1728 0
snd_soc_pcm5102a 1046 1
snd_soc_bcm2708_i2s 5577 2
snd_soc_core 100601 5 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_compress 7084 1 snd_soc_core
snd_pcm_dmaengine 2927 1 snd_soc_core
regmap_mmio 2181 1 snd_soc_bcm2708_i2s
snd_pcm 62712 4 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 17660 1 snd_pcm
snd 41549 5 snd_soc_core,snd_timer,snd_pcm,snd_compress
bcm2708_rng 808 0
I think, I want to load kernel modules that are not available.
Can you told me wich modules are necessary to run openelec with the hifiberry DAC.
Best regards,
Chris -
HiFiBerry team Hi,
the modules are listed here:
http://www.hifiberry.com/guides/hifiberry-software-configuration/
Best regards
Daniel -
Christian R Hello Daniel,
the module snd_soc_bcm2708 is not available in the image of openelec, which I have found in Support/SD card Images on your website.
modprobe says:HiFiBerry:/etc/modprobe.d # modprobe -v snd_soc_bcm2708
modprobe: FATAL: Module snd_soc_bcm2708 not found.
Is this module necessary for the DAC or is it replaced by the module snd_soc_bcm2708_i2s, wich has a similar name.
Best regards,
Christian -
HiFiBerry team Hi Christian,
you are right. The module names changed with the time. But modern kernels should automatically load the right I2S modules.
Does aplay -l list the DAC?
Best regards
Daniel -
Christian R Hi Daniel,
output of aplay -l is:HiFiBerry:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
I can hear music with the dac without problems. So everything seems to be ok. I have no errormessage if I use the following /storage/.config/modules-load.d/hifiberry.conf:snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac
Best regards,
Christian -
HiFiBerry team Enjoy your sound!
Daniel
Please sign in to leave a comment.