<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://geralis.ddns.net/cyberwiki/index.php?action=history&amp;feed=atom&amp;title=HifiBerry_DAC_for_Raspberry_Pi_1</id>
	<title>HifiBerry DAC for Raspberry Pi 1 - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://geralis.ddns.net/cyberwiki/index.php?action=history&amp;feed=atom&amp;title=HifiBerry_DAC_for_Raspberry_Pi_1"/>
	<link rel="alternate" type="text/html" href="https://geralis.ddns.net/cyberwiki/index.php?title=HifiBerry_DAC_for_Raspberry_Pi_1&amp;action=history"/>
	<updated>2026-04-04T14:39:55Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in CyberWiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://geralis.ddns.net/cyberwiki/index.php?title=HifiBerry_DAC_for_Raspberry_Pi_1&amp;diff=33&amp;oldid=prev</id>
		<title>Geli: Die Seite wurde neu angelegt: „==Configuring Linux 4.x or higher== With Linux 3.18 (or higher) a new way to load device drivers have been introduced to the Raspberry Pi environment. It is ca…“</title>
		<link rel="alternate" type="text/html" href="https://geralis.ddns.net/cyberwiki/index.php?title=HifiBerry_DAC_for_Raspberry_Pi_1&amp;diff=33&amp;oldid=prev"/>
		<updated>2017-03-12T12:59:00Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „==Configuring Linux 4.x or higher== With Linux 3.18 (or higher) a new way to load device drivers have been introduced to the Raspberry Pi environment. It is ca…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Configuring Linux 4.x or higher==&lt;br /&gt;
With Linux 3.18 (or higher) a new way to load device drivers have been introduced to the Raspberry Pi environment. It is called device tree overlay. This brings big changes to the way how to configure the necessary drivers for the HiFiBerry boards.&lt;br /&gt;
===Remove the driver for the onboard sound===&lt;br /&gt;
Remove the line&lt;br /&gt;
 dtparam=audio=on&lt;br /&gt;
from ''/boot/config.txt'' if it exists.&lt;br /&gt;
&lt;br /&gt;
===Configure device tree overlay file===&lt;br /&gt;
You don’t have to edit /etc/modules anymore, but need to load the correct device tree file. To do this, you must edit ''/boot/config.txt'' and add the following line:&lt;br /&gt;
 dtoverlay=hifiberry-dac&lt;br /&gt;
===Configure ALSA (optional)===&lt;br /&gt;
Create ''/etc/asound.conf'' with the following content:&lt;br /&gt;
 pcm.!default {&lt;br /&gt;
 type hw card 0&lt;br /&gt;
 }&lt;br /&gt;
 ctl.!default {&lt;br /&gt;
 type hw card 0&lt;br /&gt;
 }&lt;br /&gt;
Make sure you have no ''.asound.conf'' file with different settings in your home directory (you might simply delete it if there is one). Reboot again now.&lt;br /&gt;
===Test it===&lt;br /&gt;
Check, if the sound card is enabled with ''aplay'':&lt;br /&gt;
 pi@raspberrypi ~ $ aplay -l&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;**** List of PLAYBACK Hardware Devices ****&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []&lt;br /&gt;
 Subdevices: 1/1&lt;br /&gt;
 Subdevice #0: subdevice #0&lt;br /&gt;
This should work as root but also with the default &amp;quot;pi&amp;quot;-user of Raspbian. If you created another user, make sure it is part of the &amp;quot;audio&amp;quot; group, otherwise it won't be able to access the sound card and aplay won't list it.&lt;br /&gt;
&lt;br /&gt;
You can use aplay, to playback a WAV file. Note that aplayer won’t convert files that are in a format that is not natively supported from our drivers. (e.g. mono files or different sample rates). For other file formats (MP3, FLAC, …) We recommend to use mplayer.&lt;br /&gt;
 sudo apt-get install mplayer&lt;br /&gt;
Some users have reported problems with MP3 playback of mplayer. It seems, that the MP3 codec is not installed by default on all systems. We found the FLAC format to be best supported by mplayer.&lt;br /&gt;
&lt;br /&gt;
Depending of the board you’re using it will show another HiFiBerry sound card (DAC,DAC+, Digi or Amp)&lt;br /&gt;
&lt;br /&gt;
===Device not recognised?===&lt;br /&gt;
This could be caused by typos in ''config.txt'' or blacklisted drivers. Add&lt;br /&gt;
 dtdebug=1&lt;br /&gt;
to your ''config.txt''. Have a look at the output of&lt;br /&gt;
 dmesg&lt;br /&gt;
and the output of&lt;br /&gt;
 sudo vcdbg log msg&lt;/div&gt;</summary>
		<author><name>Geli</name></author>
	</entry>
</feed>