<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ro">
	<id>https://www.yo3iti.ro/index.php?action=history&amp;feed=atom&amp;title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S</id>
	<title>Ghid instalare și configurare I²S - Revizia istoricului</title>
	<link rel="self" type="application/atom+xml" href="https://www.yo3iti.ro/index.php?action=history&amp;feed=atom&amp;title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S"/>
	<link rel="alternate" type="text/html" href="https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;action=history"/>
	<updated>2026-11-26T17:09:00Z</updated>
	<subtitle>Istoricul versiunilor pentru această pagină din wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3983&amp;oldid=prev</id>
		<title>Yo3iti: /* Configurarea serviciului cron */</title>
		<link rel="alternate" type="text/html" href="https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3983&amp;oldid=prev"/>
		<updated>2026-11-25T19:35:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Configurarea serviciului cron&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ro&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versiunea anterioară&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versiunea de la data 25 noiembrie 2026 21:35&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l502&quot;&gt;Linia 502:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 502:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În urma acestei configurări, modulele de kernel necesare funcționării dispozitivului audio I²S vor fi încărcate automat la fiecare pornire a sistemului Raspberry Pi, cu condiția ca scriptul să poată fi executat și să dispună de privilegiile necesare.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În urma acestei configurări, modulele de kernel necesare funcționării dispozitivului audio I²S vor fi încărcate automat la fiecare pornire a sistemului Raspberry Pi, cu condiția ca scriptul să poată fi executat și să dispună de privilegiile necesare.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Observații tehnice asupra materialului original ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Separat de traducere, există câteva aspecte tehnice importante care trebuie avute în vedere în cazul utilizării acestui material ca documentație de referință.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{| class=&quot;wikitable&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;! Element&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;! Observație&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Debian Jessie&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Distribuție Linux veche, care nu mai reprezintă o platformă actuală pentru dezvoltare.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Linux 4.4.13&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Versiune istorică a kernelului Linux, ale cărei interfețe de programare pot fi incompatibile cu versiunile moderne.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;BCM2708&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Denumire asociată implementărilor mai vechi ale platformei Raspberry Pi.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;3f203000.i2s&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Identificator hardware specific generației respective de Raspberry Pi, asociat perifericului I²S.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;SUBDIRS=$(PWD)&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Sintaxă veche a sistemului de compilare Kbuild, înlocuită în kernelurile moderne cu &amp;lt;code&amp;gt;M=$(PWD)&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;snd-soc-dummy&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Codec software generic, care permite construirea unei legături audio fără utilizarea unui driver dedicat unui codec fizic.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;snd_soc_dai_set_bclk_ratio()&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Funcție utilizată pentru configurarea raportului dintre frecvența semnalului BCLK și frecvența cadrelor audio (frecvența de eșantionare).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;ctl.!default&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Configurația originală utilizează &amp;lt;code&amp;gt;type asym&amp;lt;/code&amp;gt;, care reprezintă un plugin PCM, nu un plugin standard pentru interfețele ALSA de control. Această secțiune necesită corectare.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;@reboot&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Executarea automată a scriptului necesită permisiuni de execuție și privilegii corespunzătoare pentru comenzile &amp;lt;code&amp;gt;insmod&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| &amp;lt;code&amp;gt;alsa-utils restart&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| Mecanism specific distribuțiilor mai vechi. Modificările efectuate în fișierul &amp;lt;code&amp;gt;.asoundrc&amp;lt;/code&amp;gt; sunt, în general, citite atunci când aplicația deschide dispozitivul ALSA.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Un aspect interesant al acestui material este că prezintă explicit mecanismul de integrare a unei interfețe I²S în infrastructura &#039;&#039;&#039;ALSA ASoC&#039;&#039;&#039; (&#039;&#039;Advanced Linux Sound Architecture – ALSA System on Chip&#039;&#039;), fără utilizarea unui codec fizic care să necesite configurare prin intermediul magistralelor I²C sau SPI.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Referințe ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Referințe ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yo3iti</name></author>
	</entry>
	<entry>
		<id>https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3982&amp;oldid=prev</id>
		<title>Yo3iti: /* Compilarea și încărcarea modulului */</title>
		<link rel="alternate" type="text/html" href="https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3982&amp;oldid=prev"/>
		<updated>2026-11-25T19:33:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Compilarea și încărcarea modulului&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ro&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versiunea anterioară&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versiunea de la data 25 noiembrie 2026 21:33&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l150&quot;&gt;Linia 150:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 150:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În urma compilării ar trebui să fie afișate în consolă mesaje asemănătoare celor de mai jos:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În urma compilării ar trebui să fie afișate în consolă mesaje asemănătoare celor de mai jos:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text&lt;/del&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;shell&lt;/ins&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pi@raspberrypi:~/snd_driver $ make&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pi@raspberrypi:~/snd_driver $ make&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yo3iti</name></author>
	</entry>
	<entry>
		<id>https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3981&amp;oldid=prev</id>
		<title>Yo3iti: Pagină nouă: &#039;&#039;&#039;Următorul material este o traducere din originalul de la [https://github.com/ryankurte/rpi-i2s-stereo/blob/master/instructions.md Enabling I²S]&#039;&#039;&#039;  == Introducere ==  Dispozitivele audio ALSA suportate implicit de Raspberry Pi 3 sunt ieșirea audio PWM, disponibilă prin conectorul jack, și ieșirea HDMI.  Pentru realizarea acestei demonstrații este necesară activarea intrării și ieșirii I²S. Obiectivul este utilizarea unei interfețe I²S simple, care să nu depi...</title>
		<link rel="alternate" type="text/html" href="https://www.yo3iti.ro/index.php?title=Ghid_instalare_%C8%99i_configurare_I%C2%B2S&amp;diff=3981&amp;oldid=prev"/>
		<updated>2026-11-25T19:32:24Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: &amp;#039;&amp;#039;&amp;#039;Următorul material este o traducere din originalul de la [https://github.com/ryankurte/rpi-i2s-stereo/blob/master/instructions.md Enabling I²S]&amp;#039;&amp;#039;&amp;#039;  == Introducere ==  Dispozitivele audio ALSA suportate implicit de Raspberry Pi 3 sunt ieșirea audio PWM, disponibilă prin conectorul jack, și ieșirea HDMI.  Pentru realizarea acestei demonstrații este necesară activarea intrării și ieșirii I²S. Obiectivul este utilizarea unei interfețe I²S simple, care să nu depi...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pagină nouă&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Următorul material este o traducere din originalul de la [https://github.com/ryankurte/rpi-i2s-stereo/blob/master/instructions.md Enabling I²S]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Introducere ==&lt;br /&gt;
&lt;br /&gt;
Dispozitivele audio ALSA suportate implicit de Raspberry Pi 3 sunt ieșirea audio PWM, disponibilă prin conectorul jack, și ieșirea HDMI.&lt;br /&gt;
&lt;br /&gt;
Pentru realizarea acestei demonstrații este necesară activarea intrării și ieșirii I²S. Obiectivul este utilizarea unei interfețe I²S simple, care să nu depindă de un anumit convertor DAC sau de un codec audio care necesită configurare prin intermediul magistralelor I²C sau SPI.&lt;br /&gt;
&lt;br /&gt;
Pentru a evita recompilarea kernelului Linux, se utilizează un modul de kernel încărcabil dinamic (&amp;#039;&amp;#039;Loadable Kernel Module – LKM&amp;#039;&amp;#039;). Acesta permite încărcarea dinamică a driverului aferent perifericului I²S din circuitul BCM2708.&lt;br /&gt;
&lt;br /&gt;
O descriere completă a acestei proceduri poate fi găsită la adresa de mai jos. În continuare este prezentat un rezumat al etapelor necesare, care au fost testate cu succes pe o instalare curată a distribuției Debian Jessie, furnizată împreună cu &amp;lt;code&amp;gt;NOOBS&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* [http://www.raspberrypi.org/forums/viewtopic.php?f=44&amp;amp;t=91237 Raspberry Pi Forum – I²S]&lt;br /&gt;
&lt;br /&gt;
== Actualizarea distribuției Raspbian ==&lt;br /&gt;
&lt;br /&gt;
În primul rând, trebuie actualizată distribuția Raspbian Linux la cea mai recentă versiune disponibilă la momentul redactării materialului. Procedura a fost testată cu versiunea de kernel 4.4.13-v7.&lt;br /&gt;
&lt;br /&gt;
Această operație poate dura câteva ore.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get dist-upgrade&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Înainte de a continua cu următoarele etape, trebuie să vă asigurați că Raspberry Pi a fost repornit, astfel încât acesta să utilizeze versiunea de kernel care tocmai a fost descărcată și instalată.&lt;br /&gt;
&lt;br /&gt;
Repornirea sistemului poate fi realizată utilizând următoarea comandă:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Activarea interfeței I²S în Device Tree ==&lt;br /&gt;
&lt;br /&gt;
Următoarea etapă constă în activarea interfeței I²S în Device Tree.&lt;br /&gt;
&lt;br /&gt;
Pentru aceasta, trebuie editat fișierul &amp;lt;code&amp;gt;/boot/config.txt&amp;lt;/code&amp;gt; și eliminat caracterul de comentariu de la începutul liniei 47:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
dtparam=i2s=on&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Driverul plăcii de sunet depinde de modulele asociate perifericului I²S și controlerului de acces direct la memorie (&amp;#039;&amp;#039;Direct Memory Access Controller – DMA&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
Aceste module trebuie adăugate în fișierul &amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt;, utilizând editorul de text preferat, precedat de comanda &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;, pentru a asigura privilegiile de superutilizator.&lt;br /&gt;
&lt;br /&gt;
În fișier trebuie adăugate următoarele linii:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
snd_soc_bcm2708&lt;br /&gt;
snd_soc_bcm2708_i2s&lt;br /&gt;
bcm2708_dmaengine&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Descărcarea codului sursă al kernelului Linux ==&lt;br /&gt;
&lt;br /&gt;
Următoarea etapă constă în descărcarea codului sursă al kernelului Linux.&lt;br /&gt;
&lt;br /&gt;
Această operație poate necesita, de asemenea, un interval considerabil de timp, atât pentru descărcare, cât și pentru extragerea fișierelor din arhivă.&lt;br /&gt;
&lt;br /&gt;
Scriptul utilizat pentru descărcarea codului sursă necesită instalarea a două aplicații auxiliare care nu sunt instalate implicit.&lt;br /&gt;
&lt;br /&gt;
Instalarea acestora și descărcarea codului sursă se realizează prin următoarele comenzi:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install bc&lt;br /&gt;
sudo apt-get install libncurses5-dev&lt;br /&gt;
&lt;br /&gt;
git clone http://github.com/notro/rpi-source&lt;br /&gt;
&lt;br /&gt;
cd rpi-source&lt;br /&gt;
python rpi-source&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
După descărcarea codului sursă al kernelului, acesta poate fi modificat pentru a construi modulele necesare activării interfeței I²S.&lt;br /&gt;
&lt;br /&gt;
Sunt necesare două module:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;loader&amp;lt;/code&amp;gt; – modulul care instanțiază dispozitivul corespunzător plăcii de sunet;&lt;br /&gt;
* &amp;lt;code&amp;gt;asoc_simple_card&amp;lt;/code&amp;gt; – modulul care implementează driverul propriu-zis al plăcii de sunet.&lt;br /&gt;
&lt;br /&gt;
Pentru informații suplimentare referitoare la compilarea și încărcarea modulelor de kernel sub Linux, poate fi consultată următoarea referință:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html Compilarea unui modul Linux utilizând codul sursă al kernelului instalat]&lt;br /&gt;
&lt;br /&gt;
== Construirea driverului plăcii de sunet ==&lt;br /&gt;
&lt;br /&gt;
Următoarea etapă constă în construirea driverului simplu al plăcii de sunet (&amp;#039;&amp;#039;Simple Sound Card Driver&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir snd_driver&lt;br /&gt;
cd snd_driver&lt;br /&gt;
&lt;br /&gt;
cp ../linux/sound/soc/generic/simple-card.c ./asoc_simple_card.c&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Trebuie avut în vedere faptul că directorul &amp;lt;code&amp;gt;linux&amp;lt;/code&amp;gt; poate avea în denumirea sa un identificator hash de lungime mare.&lt;br /&gt;
&lt;br /&gt;
În acest caz, trebuie utilizată denumirea efectivă a directorului în comanda de copiere prezentată anterior.&lt;br /&gt;
&lt;br /&gt;
De exemplu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
linux-e88b69aa792dbe2b289ff528c0d07303068aa0aa/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Modificarea codului sursă al driverului ===&lt;br /&gt;
&lt;br /&gt;
Fișierul necesită o mică modificare pentru a evita o eroare de implementare.&lt;br /&gt;
&lt;br /&gt;
Această eroare este cauzată de neinițializarea raportului BCLK (&amp;#039;&amp;#039;BCLK ratio&amp;#039;&amp;#039;), ceea ce conduce la utilizarea unei valori implicite de 100 de perioade ale ceasului de bit pentru fiecare cadru I²S, în locul celor 64 de perioade necesare.&lt;br /&gt;
&lt;br /&gt;
Pentru corectarea acestei probleme, la sfârșitul funcției &amp;lt;code&amp;gt;asoc_simple_card_dai_init&amp;lt;/code&amp;gt;, aproximativ în dreptul liniei 213, trebuie adăugate următoarele linii de cod:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
ret = snd_soc_dai_set_bclk_ratio(cpu, 64);&lt;br /&gt;
pr_alert(&amp;quot;BCLK ratio set to 64!\n&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Crearea fișierului Makefile ===&lt;br /&gt;
&lt;br /&gt;
Pentru compilarea modulului trebuie utilizat următorul fișier &amp;lt;code&amp;gt;Makefile&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Conținutul de mai jos trebuie copiat într-un fișier cu denumirea &amp;lt;code&amp;gt;Makefile&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Ultima linie trebuie indentată utilizând un caracter TAB, nu caractere SPACE, pentru a evita apariția unei erori de compilare.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
obj-m := asoc_simple_card.o&lt;br /&gt;
&lt;br /&gt;
KDIR := /lib/modules/$(shell uname -r)/build&lt;br /&gt;
PWD := $(shell pwd)&lt;br /&gt;
&lt;br /&gt;
default:&lt;br /&gt;
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compilarea și încărcarea modulului ===&lt;br /&gt;
&lt;br /&gt;
În final, modulul trebuie compilat, inserat în kernel, după care se poate trece la următoarea etapă.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo insmod asoc_simple_card.ko&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
În urma compilării ar trebui să fie afișate în consolă mesaje asemănătoare celor de mai jos:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
pi@raspberrypi:~/snd_driver $ make&lt;br /&gt;
&lt;br /&gt;
make -C /lib/modules/4.4.13-v7+/build SUBDIRS=/home/pi/snd_driver modules&lt;br /&gt;
&lt;br /&gt;
make[1]: Entering directory &amp;#039;/home/pi/linux-e88b69aa792dbe2b289ff528c0d07303068aa0aa&amp;#039;&lt;br /&gt;
&lt;br /&gt;
CC [M] /home/pi/snd_driver/asoc_simple_card.o&lt;br /&gt;
&lt;br /&gt;
Building modules, stage 2.&lt;br /&gt;
&lt;br /&gt;
MODPOST 1 modules&lt;br /&gt;
&lt;br /&gt;
CC /home/pi/snd_driver/asoc_simple_card.mod.o&lt;br /&gt;
&lt;br /&gt;
LD [M] /home/pi/snd_driver/asoc_simple_card.ko&lt;br /&gt;
&lt;br /&gt;
make[1]: Leaving directory &amp;#039;/home/pi/linux-e88b69aa792dbe2b289ff528c0d07303068aa0aa&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Construirea modulului loader ==&lt;br /&gt;
&lt;br /&gt;
În continuare trebuie construit modulul &amp;lt;code&amp;gt;loader&amp;lt;/code&amp;gt;, care prezintă dispozitivul audio sistemului de operare.&lt;br /&gt;
&lt;br /&gt;
Se creează un director nou:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
mkdir loader&lt;br /&gt;
cd loader&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Conținutul codului sursă din mesajul publicat pe forumul Raspberry Pi, indicat în referința de mai jos, trebuie copiat într-un fișier nou, denumit &amp;lt;code&amp;gt;loader.c&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Pentru referință, codul relevant din mesajul publicat pe forum este reprodus în continuare.&lt;br /&gt;
&lt;br /&gt;
=== Codul sursă al modulului loader ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;linux/module.h&amp;gt;&lt;br /&gt;
#include &amp;lt;linux/kernel.h&amp;gt;&lt;br /&gt;
#include &amp;lt;linux/kmod.h&amp;gt;&lt;br /&gt;
#include &amp;lt;linux/platform_device.h&amp;gt;&lt;br /&gt;
#include &amp;lt;sound/simple_card.h&amp;gt;&lt;br /&gt;
#include &amp;lt;linux/delay.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 * Modificat pentru Linux 4.1.5.&lt;br /&gt;
 *&lt;br /&gt;
 * Inspirat de:&lt;br /&gt;
 * https://github.com/msperl/spi-config&lt;br /&gt;
 *&lt;br /&gt;
 * Cu mulțumiri pentru:&lt;br /&gt;
 * https://github.com/notro/rpi-source/wiki&lt;br /&gt;
 *&lt;br /&gt;
 * precum și lui Florian Meier pentru driverele&lt;br /&gt;
 * I2S și DMA ale Raspberry Pi.&lt;br /&gt;
 *&lt;br /&gt;
 * Pentru utilizarea unui alt codec compatibil&lt;br /&gt;
 * cu simple-card, trebuie modificată denumirea&lt;br /&gt;
 * codecului în două locuri, precum și denumirea&lt;br /&gt;
 * codec_dai.&lt;br /&gt;
 *&lt;br /&gt;
 * Consultați codul sursă al codecului respectiv.&lt;br /&gt;
 *&lt;br /&gt;
 * Indicatorii fmt sunt configurați pentru&lt;br /&gt;
 * interfața I2S standard, cu Raspberry Pi&lt;br /&gt;
 * configurat ca receptor al semnalelor de ceas&lt;br /&gt;
 * (clock slave).&lt;br /&gt;
 *&lt;br /&gt;
 * Notă:&lt;br /&gt;
 * Funcționalitatea de redare sau captură audio&lt;br /&gt;
 * este determinată de codecul selectat.&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
void device_release_callback(struct device *dev)&lt;br /&gt;
{&lt;br /&gt;
    /* Nu se efectuează nicio operație. */&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
static struct asoc_simple_card_info snd_rpi_simple_card_info = {&lt;br /&gt;
    .card = &amp;quot;snd_rpi_simple_card&amp;quot;,&lt;br /&gt;
    /* -&amp;gt; snd_soc_card.name */&lt;br /&gt;
&lt;br /&gt;
    .name = &amp;quot;simple-card_codec_link&amp;quot;,&lt;br /&gt;
    /* -&amp;gt; snd_soc_dai_link.name */&lt;br /&gt;
&lt;br /&gt;
    .codec = &amp;quot;snd-soc-dummy&amp;quot;,&lt;br /&gt;
    /* -&amp;gt; snd_soc_dai_link.codec_name */&lt;br /&gt;
&lt;br /&gt;
    .platform = &amp;quot;3f203000.i2s&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
    .daifmt = SND_SOC_DAIFMT_I2S |&lt;br /&gt;
              SND_SOC_DAIFMT_NB_NF |&lt;br /&gt;
              SND_SOC_DAIFMT_CBS_CFM,&lt;br /&gt;
&lt;br /&gt;
    .cpu_dai = {&lt;br /&gt;
        .name = &amp;quot;3f203000.i2s&amp;quot;,&lt;br /&gt;
        /* -&amp;gt; snd_soc_dai_link.cpu_dai_name */&lt;br /&gt;
&lt;br /&gt;
        .sysclk = 0&lt;br /&gt;
    },&lt;br /&gt;
&lt;br /&gt;
    .codec_dai = {&lt;br /&gt;
        .name = &amp;quot;snd-soc-dummy-dai&amp;quot;,&lt;br /&gt;
        /* -&amp;gt; snd_soc_dai_link.codec_dai_name */&lt;br /&gt;
&lt;br /&gt;
        .sysclk = 0&lt;br /&gt;
    },&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
static struct platform_device snd_rpi_simple_card_device = {&lt;br /&gt;
    .name = &amp;quot;asoc-simple-card&amp;quot;,&lt;br /&gt;
    /* Aliasul modulului */&lt;br /&gt;
&lt;br /&gt;
    .id = 0,&lt;br /&gt;
    .num_resources = 0,&lt;br /&gt;
&lt;br /&gt;
    .dev = {&lt;br /&gt;
        .release = &amp;amp;device_release_callback,&lt;br /&gt;
&lt;br /&gt;
        .platform_data = &amp;amp;snd_rpi_simple_card_info,&lt;br /&gt;
        /* Atenție: soluție de compromis (hack). */&lt;br /&gt;
    },&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
int hello_init(void)&lt;br /&gt;
{&lt;br /&gt;
    const char *dmaengine = &amp;quot;bcm2708-dmaengine&amp;quot;;&lt;br /&gt;
    /* Denumirea modulului */&lt;br /&gt;
&lt;br /&gt;
    int ret;&lt;br /&gt;
&lt;br /&gt;
    ret = request_module(dmaengine);&lt;br /&gt;
&lt;br /&gt;
    pr_alert(&amp;quot;request module load &amp;#039;%s&amp;#039;: %d\n&amp;quot;,&lt;br /&gt;
             dmaengine, ret);&lt;br /&gt;
&lt;br /&gt;
    ret = platform_device_register(&lt;br /&gt;
        &amp;amp;snd_rpi_simple_card_device&lt;br /&gt;
    );&lt;br /&gt;
&lt;br /&gt;
    pr_alert(&amp;quot;register platform device &amp;#039;%s&amp;#039;: %d\n&amp;quot;,&lt;br /&gt;
             snd_rpi_simple_card_device.name, ret);&lt;br /&gt;
&lt;br /&gt;
    pr_alert(&amp;quot;Hello World :)\n&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void hello_exit(void)&lt;br /&gt;
{&lt;br /&gt;
    /*&lt;br /&gt;
     * Driverele plăcii audio și ale codecului&lt;br /&gt;
     * trebuie eliminate manual, utilizând&lt;br /&gt;
     * comanda sudo modprobe -r.&lt;br /&gt;
     */&lt;br /&gt;
&lt;br /&gt;
    platform_device_unregister(&lt;br /&gt;
        &amp;amp;snd_rpi_simple_card_device&lt;br /&gt;
    );&lt;br /&gt;
&lt;br /&gt;
    pr_alert(&amp;quot;Goodbye World!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
module_init(hello_init);&lt;br /&gt;
module_exit(hello_exit);&lt;br /&gt;
&lt;br /&gt;
MODULE_DESCRIPTION(&amp;quot;ASoC simple-card I2S setup&amp;quot;);&lt;br /&gt;
MODULE_AUTHOR(&amp;quot;Plugh Plover&amp;quot;);&lt;br /&gt;
MODULE_LICENSE(&amp;quot;GPL v2&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configurarea Raspberry Pi ca I²S master ===&lt;br /&gt;
&lt;br /&gt;
Trebuie să vă asigurați că linia 21 din codul sursă original este modificată conform exemplului de mai jos, astfel încât Raspberry Pi 3 să fie configurat ca master I²S, iar microfonul să fie configurat ca slave.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
.daifmt = SND_SOC_DAIFMT_I2S |&lt;br /&gt;
          SND_SOC_DAIFMT_NB_NF |&lt;br /&gt;
          SND_SOC_DAIFMT_CBS_CFS,&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
În această configurație, Raspberry Pi generează semnalele de ceas necesare comunicației I²S, iar microfonul utilizează aceste semnale pentru sincronizarea transmisiei datelor audio.&lt;br /&gt;
&lt;br /&gt;
Referință:&lt;br /&gt;
&lt;br /&gt;
* [https://www.raspberrypi.org/forums/viewtopic.php?p=914713#p914713 Raspberry Pi Forum – Codul sursă al modulului loader]&lt;br /&gt;
&lt;br /&gt;
=== Crearea fișierului Makefile pentru loader ===&lt;br /&gt;
&lt;br /&gt;
Conținutul de mai jos trebuie copiat într-un fișier denumit &amp;lt;code&amp;gt;Makefile&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Din nou, trebuie avut în vedere faptul că indentarea comenzii de compilare trebuie realizată utilizând un caracter TAB și nu caractere SPACE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
obj-m := loader.o&lt;br /&gt;
&lt;br /&gt;
KDIR := /lib/modules/$(shell uname -r)/build&lt;br /&gt;
PWD := $(shell pwd)&lt;br /&gt;
&lt;br /&gt;
default:&lt;br /&gt;
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compilarea și încărcarea modulului loader ===&lt;br /&gt;
&lt;br /&gt;
În final, modulul trebuie compilat și inserat în kernel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo insmod loader.ko&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Verificarea disponibilității dispozitivului audio I²S ==&lt;br /&gt;
&lt;br /&gt;
Pentru a verifica dacă modulul driverului dispozitivului audio I²S a fost încărcat și dacă dispozitivul este accesibil sistemului de operare, trebuie executată următoarea comandă:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
arecord -l&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Această comandă ar trebui să genereze o listă a dispozitivelor hardware ALSA disponibile pentru captura audio, asemănătoare celei de mai jos:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
**** List of CAPTURE Hardware Devices ****&lt;br /&gt;
&lt;br /&gt;
card 1: sndrpisimplecar [snd_rpi_simple_card],&lt;br /&gt;
device 0: simple-card_codec_link snd-soc-dummy-dai-0 []&lt;br /&gt;
&lt;br /&gt;
  Subdevices: 1/1&lt;br /&gt;
  Subdevice #0: subdevice #0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prezența acestui dispozitiv în lista afișată indică faptul că dispozitivul de captură audio a fost înregistrat în subsistemul ALSA.&lt;br /&gt;
&lt;br /&gt;
== Configurarea unui dispozitiv virtual de captură mono ==&lt;br /&gt;
&lt;br /&gt;
Dispozitivul fizic reprezentat de placa de sunet prezintă sistemului Linux un dispozitiv I²S stereo.&lt;br /&gt;
&lt;br /&gt;
Cu toate acestea, anumite aplicații software de tip asistent vocal, precum Amazon Alexa, necesită accesul la un dispozitiv de captură audio mono.&lt;br /&gt;
&lt;br /&gt;
Pentru ca placa de sunet stereo să fie prezentată aplicațiilor ca un dispozitiv mono, este necesară crearea în ALSA a unui dispozitiv virtual de captură mono, conectat la dispozitivul fizic de captură stereo.&lt;br /&gt;
&lt;br /&gt;
Semnalul audio transmis de microfon este un semnal mono, repetat pe ambele canale stereo. Prin urmare, oricare dintre cele două canale furnizează semnalul audio necesar.&lt;br /&gt;
&lt;br /&gt;
Dispozitivul virtual de captură mono trebuie configurat ulterior ca dispozitiv implicit, astfel încât aplicația client să îl selecteze cu prioritate atunci când caută dispozitive de intrare audio.&lt;br /&gt;
&lt;br /&gt;
=== Configurarea fișierului .asoundrc ===&lt;br /&gt;
&lt;br /&gt;
Pentru configurarea dispozitivului virtual de captură trebuie modificat fișierul &amp;lt;code&amp;gt;.asoundrc&amp;lt;/code&amp;gt;, aflat în directorul personal al utilizatorului.&lt;br /&gt;
&lt;br /&gt;
Conținutul acestuia trebuie să fie următorul:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
pcm.monocard {&lt;br /&gt;
    type plug&lt;br /&gt;
    slave.pcm &amp;quot;plughw:1,0&amp;quot;&lt;br /&gt;
    slave.channels 2&lt;br /&gt;
    slave.rate 16000&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ctl.monocard {&lt;br /&gt;
    type hw&lt;br /&gt;
    card 1&lt;br /&gt;
    device 0&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pcm.!default {&lt;br /&gt;
    type asym&lt;br /&gt;
&lt;br /&gt;
    playback.pcm {&lt;br /&gt;
        type hw&lt;br /&gt;
        card 0&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    capture.pcm {&lt;br /&gt;
        type plug&lt;br /&gt;
        slave.pcm &amp;quot;monocard&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ctl.!default {&lt;br /&gt;
    type asym&lt;br /&gt;
&lt;br /&gt;
    playback.pcm {&lt;br /&gt;
        type hw&lt;br /&gt;
        card 0&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    capture.pcm {&lt;br /&gt;
        type plug&lt;br /&gt;
        slave.pcm &amp;quot;monocard&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configurația prezentată anterior păstrează conectorul jack de 3,5 mm al Raspberry Pi ca dispozitiv implicit de redare audio.&lt;br /&gt;
&lt;br /&gt;
Totuși, dispozitivul implicit de redare audio poate fi modificat astfel încât să utilizeze magistrala I²S.&lt;br /&gt;
&lt;br /&gt;
Pentru aceasta, trebuie modificat conținutul secțiunilor:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pcm.!default&amp;lt;/code&amp;gt;;&lt;br /&gt;
* &amp;lt;code&amp;gt;ctl.!default&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Intrările &amp;lt;code&amp;gt;playback.pcm&amp;lt;/code&amp;gt; trebuie configurate astfel încât să corespundă intrărilor &amp;lt;code&amp;gt;capture.pcm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Aplicarea configurației ALSA ===&lt;br /&gt;
&lt;br /&gt;
Pentru aplicarea modificărilor efectuate în fișierul &amp;lt;code&amp;gt;.asoundrc&amp;lt;/code&amp;gt; și activarea dispozitivului virtual de captură, Raspberry Pi trebuie repornit sau trebuie executată următoarea comandă:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo /etc/init.d/alsa-utils restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Încărcarea automată a modulelor la pornirea sistemului ==&lt;br /&gt;
&lt;br /&gt;
Parcurgerea instrucțiunilor prezentate până în acest moment permite activarea plăcii de sunet I²S în cadrul sesiunii curente a sistemului de operare.&lt;br /&gt;
&lt;br /&gt;
Pentru ca dispozitivul audio să fie disponibil după fiecare repornire a sistemului, este necesară încărcarea automată a modulelor de kernel în timpul procesului de pornire.&lt;br /&gt;
&lt;br /&gt;
Acest lucru poate fi realizat prin adăugarea unei sarcini &amp;lt;code&amp;gt;cron&amp;lt;/code&amp;gt; executate la pornirea sistemului, care lansează un script shell.&lt;br /&gt;
&lt;br /&gt;
=== Crearea scriptului de încărcare a modulelor ===&lt;br /&gt;
&lt;br /&gt;
Scriptul de mai jos trebuie salvat în directorul personal al utilizatorului, într-un fișier denumit &amp;lt;code&amp;gt;load_i2s_driver.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
&lt;br /&gt;
sudo insmod snd_driver/asoc_simple_card.ko&lt;br /&gt;
sudo insmod loader/loader.ko&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configurarea serviciului cron ===&lt;br /&gt;
&lt;br /&gt;
Scriptul poate fi executat automat la fiecare pornire a sistemului prin adăugarea următoarei linii în fișierul crontab al utilizatorului.&lt;br /&gt;
&lt;br /&gt;
Pentru editarea acestuia se utilizează comanda:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
crontab -e&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
În editorul care se deschide trebuie adăugată următoarea linie:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
@reboot /home/pi/load_i2s_driver.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
În urma acestei configurări, modulele de kernel necesare funcționării dispozitivului audio I²S vor fi încărcate automat la fiecare pornire a sistemului Raspberry Pi, cu condiția ca scriptul să poată fi executat și să dispună de privilegiile necesare.&lt;br /&gt;
&lt;br /&gt;
== Referințe ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.raspberrypi.org/forums/viewtopic.php?f=44&amp;amp;t=91237&amp;amp;start=50 Raspberry Pi Forum – Configurarea interfeței I²S]&lt;br /&gt;
* [http://www.raspberrypi.org/forums/viewtopic.php?f=44&amp;amp;t=91237 Raspberry Pi Forum – Discuția originală privind interfața I²S]&lt;br /&gt;
* [https://www.raspberrypi.org/forums/viewtopic.php?p=914713#p914713 Raspberry Pi Forum – Codul sursă al modulului loader]&lt;br /&gt;
* [https://github.com/notro/rpi-source rpi-source – Descărcarea codului sursă al kernelului Raspberry Pi]&lt;br /&gt;
* [https://github.com/notro/rpi-source/wiki Documentația rpi-source]&lt;br /&gt;
* [https://github.com/msperl/spi-config SPI Config]&lt;br /&gt;
* [http://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html Compilarea modulelor pentru kernelul Linux]&lt;/div&gt;</summary>
		<author><name>Yo3iti</name></author>
	</entry>
</feed>