Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Raspberry PI 2 + HifiBerry DAC+ freezing
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Raspberry PI 2 + HifiBerry DAC+ freezing
9th Mar, 2015, 08:06 AM
Post: #1
munich Offline
Registered
Posts: 7
Joined: Mar 2015
Reputation: 0
Raspberry PI 2 + HifiBerry DAC+ freezing
I just set-up a new raspberry PI 2 with XBian and a DAC+. I entered into /etc/modules
snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_pcm512x
snd_soc_hifiberry_dacplus

aplay -l gives me:
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

BUT as soon as I choose within KODI -> System -> Audio -> ALSA: Default (snd_rpi_hifiberry_dacplaus Analog) the raspberry pi 2 freezes and I have to reboot it (turn off power).

Any hint, what went wrong?
Find all posts by this user
Quote this message in a reply
9th Mar, 2015, 03:57 PM
Post: #2
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
have you checked your loggs_also does your RPi has proper PSU at least 2A stable 5V and separate PSU for any external devices attached?

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
9th Mar, 2015, 05:50 PM
Post: #3
munich Offline
Registered
Posts: 7
Joined: Mar 2015
Reputation: 0
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
Thank you for the fast support.
PSU is 2A and 5V besides the keyboard usb bluetooth adapter I don't use any further USB interfaces.

What logs should I check?
Sorry I am a newbie.
Find all posts by this user
Quote this message in a reply
9th Mar, 2015, 06:43 PM
Post: #4
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
check my signature or read forum announcements

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
9th Mar, 2015, 11:27 PM
Post: #5
munich Offline
Registered
Posts: 7
Joined: Mar 2015
Reputation: 0
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
Thanks.

Regarding to this link https://www.hifiberry.com/guides/gpio-usage-of-the-hifiberry-products/ , the HifiBerry DAC+ seems to use the same GPIO (GPIO2-3, GPIOs 18-21) as LIRC (GPIO 18). Which perhaps could case the freezing.

Is there a way to change the LIRC GPIO?
Or is there a way to change the DAC+ GPIOs?
Or do I have to choose between LIRC or DAC+ but both together will not work?
Find all posts by this user
Quote this message in a reply
10th Mar, 2015, 11:48 PM
Post: #6
munich Offline
Registered
Posts: 7
Joined: Mar 2015
Reputation: 0
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
I solved my problem Smile
With modprobe lirc_rpi gpio_in_pin=11 I changed the standard GPIO 18 of LIRC to GPIO 11 and now everything DAC+ and LIRC is working fine.
Find all posts by this user
Quote this message in a reply
10th Mar, 2015, 11:49 PM
Post: #7
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
thanks for update

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
27th Mar, 2015, 08:00 PM
Post: #8
nikkon Offline
Registered
Posts: 3
Joined: Mar 2015
Reputation: 0
RE: Raspberry PI 2 + HifiBerry DAC+ freezing
Hi,

i have the same setup.
After adding
snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_pcm512x
snd_soc_hifiberry_dacplus
to /etc/modules the board worked fine.
unfortunatelly after a restart is not starting anymore.
any clue?

p.s how can i install aplay on xbian.there is a 3party repo ?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 03:43 AM Powered By MyBB, © 2002-2025 MyBB Group.