Hi Thomas

I'm using to scripts in order to go from a HiFiBerry DAC to Digi and
back again. We need to change the modules that are loaded.

This will allow us to use the Digi card:

Code:
--------------------
    #!/bin/sh# we need to stop squeezelite before anything
  sudo /usr/local/etc/init.d/squeezelite_initd stop
  
  
  #we need to remove any i2s stuff in order to get it right if we toggle 
between DAC and digi
  sudo modprobe -qr snd_soc_hifiberry_dac
  sudo modprobe -qr snd_soc_hifiberry_digi
  
  
  #We need to load the correct modules for hifibery Digi 
  sudo modprobe -q snd_soc_bcm2708_i2s
  sudo modprobe -q bcm2708_dmaengine
  sudo modprobe -q snd_soc_wm8804
  sudo modprobe -q snd_soc_hifiberry_digi
  
--------------------


This will allow us to use the DAC:

Code:
--------------------
    #!/bin/sh
  # we need to stop squeezelite before anything
  sudo /usr/local/etc/init.d/squeezelite_initd stop
  
  
  #we need to remove any i2s stuff in order to get it right if we toggle 
between DAC and digi
  sudo modprobe -qr snd_soc_hifiberry_dac
  sudo modprobe -qr snd_soc_hifiberry_digi
  
  
  #We need to load the correct modules for hifibery DAC 
  sudo modprobe -q snd_soc_bcm2708_i2s
  sudo modprobe -q bcm2708_dmaengine
  sudo modprobe -q snd_soc_pcm5102a
  sudo modprobe -q snd_soc_hifiberry_dac
--------------------


Hope this helps.

Steen



piCorePlayer a small player for the Raspberry Pi (25MB in RAM).
Homepage: https://sites.google.com/site/picoreplayer/home and
discussion:
http://forums.slimdevices.com/showthread.php?97803-piCoPlayer-Squeezelite-on-Microcore-linux-An-embedded-OS-in-RAM-with-Squeezelite

Squeezeboxserver on Voyage Linux 500 MB CF-card (read-only)
http://forums.slimdevices.com/showthread.php?90581-HOW-TO-install-squeezeboxserver-on-very-small-Linux-(Voyage-linux)
Please 'donate'
(https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flow&SESSION=_Wc9nDqkHvtg-sUXCIrz1nB1Ct8pwHDrBSxETDiHfpX5H6F4Wflav3VBIAK&dispatch=5885d80a13c0db1f8e263663d3faee8d7ff5e1e81f2ed97dd1e90bd72966c40c)
if you like the piCorePlayer
------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to