WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: support for HiFiBerry Digi I2S modules - help needed.  (Read 15676 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: support for HiFiBerry Digi I2S modules - help needed.
« Reply #15 on: March 09, 2014, 04:59:44 AM »
cd /mnt/mmcblk0p2
mkdir tce

Than copy content from sda1/tce, delete tce dir and reboot.
« Last Edit: March 09, 2014, 05:05:52 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sbp

  • Sr. Member
  • ****
  • Posts: 429
    • piCorePlayer homepage
Re: support for HiFiBerry Digi I2S modules - help needed.
« Reply #16 on: March 09, 2014, 06:20:07 AM »
bmarkus -  thanks I did that and it worked.

I'm now able to play 192kHz 24b via piCorePlayer and the HiFiBerry Digi card - the sound is very good.

I had to make some small hacks to make it work.
in bootlocal I needed to add:
Code: [Select]
sudo modprobe -r snd_soc_wm8731
sudo modprobe -r snd_soc_hifiberry_digi
Both of the modules are loaded and therefore the hifiberry digi card can't load properly.


Then I load the following modules (and have to load once again the hifiberry digi module)
Code: [Select]
sudo modprobe snd_soc_bcm2708_i2s
sudo modprobe bcm2708_dmaengine
#sudo modprobe snd_soc_pcm5102a
sudo modprobe snd_soc_wm8804
sudo modprobe snd_soc_hifiberry_digi


And then the HiFiBerry digi card shows up.
Code: [Select]
tc@piCorePlayer:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
sysdefault:CARD=sndrpihifiberry
    snd_rpi_hifiberry_digi,
    Default Audio Device


So my question now is. Why are snd_soc_wm8731 and the snd_soc_hifiberry_digi modules automatically loaded.
This must be defined somewhere, so where is the loading of modules defined. In other distros it seems to be in /etc/modules.conf but such a file is not found in micrcore.

Steen

 

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: support for HiFiBerry Digi I2S modules - help needed.
« Reply #17 on: March 09, 2014, 07:55:16 AM »
Sound module tcz has an autostart scripts, which looks unneded.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."