i2s connection to an external DAC

Raspberry Pi related support

Re: i2s connection to an external DAC

Postby hondagx35 » 09 Sep 2015, 10:12

Hi

[root@runeaudio ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
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: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Audiogd [Audio-gd], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0




If I change then file /etc/modules-load.d/raspberrypi.conf to (have already tried many suggestions)

Code: Select all
bcm2708-rng
snd-bcm2835
snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd-soc-pcm1794a
snd_soc_rpi_dac



... nothing happens.


You have to disable device-tree first:

4.3: Disabling device tree usage

If you decide this DT lark isn't for you (or for diagnostic purposes), you can disable DT loading and force the kernel to revert to the old behaviour by adding:

device_tree=

to config.txt. Note, however, that future kernel releases may at some point no longer support this option.


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: i2s connection to an external DAC

Postby nfb29 » 10 Sep 2015, 09:08

Hello Frank ,
thanks for the hint :)
Now the modules are loaded from " /etc/modules-load.d/raspberrypi.conf " .

I tried a bit and it seems to me the current configuration correctly:

Code: Select all
#bcm2708-rng
#snd-bcm2835
#snd_soc_core
snd_soc_bcm2708_i2s
#bcm2708_dmaengine
snd_soc_pcm1794a
snd_soc_rpi_dac


A look st dmesg shows:
Code: Select all
[    6.983120] systemd-modules-load[111]: Inserted module 'snd_soc_bcm2708_i2s'
[    6.992242] systemd-modules-load[111]: Inserted module 'snd_soc_pcm1794a'
[    6.999486] snd-rpi-dac snd-rpi-dac.0: pcm1794a-hifi <-> bcm2708-i2s.0 mapping ok
[    7.001268] systemd-modules-load[111]: Inserted module 'snd_soc_rpi_dac'


I also can choose then entry "snd_rpi_rpi_dac" in mpd configuration.
But it does not seem to work and I do not know why.

The player is running , but I can hear only in the usb-mode.

Maybe i can check any logfile. Have you an idea ?
nfb29
 
Posts: 3
Joined: 08 Sep 2015, 16:37

Re: i2s connection to an external DAC

Postby popov » 11 Sep 2015, 06:51

Hi

What about dmesg and lsmod ?
All modules are up ?

Regards
popov
 
Posts: 55
Joined: 11 Oct 2014, 16:13

Re: i2s connection to an external DAC

Postby popov » 11 Sep 2015, 06:57

Sorry
I don't no why, but i don't see you Still test :cry:
popov
 
Posts: 55
Joined: 11 Oct 2014, 16:13

support RuneAudio Donate with PayPal

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests