added tricks about the sound
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 16 Feb 2017 19:25:32 +0000 (20:25 +0100)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 16 Feb 2017 19:25:32 +0000 (20:25 +0100)
src/tricks/index.adoc
src/tricks/raspberry_pi3_sound.adoc [new file with mode: 0644]
www/psensor/NEWS.html
www/tricks/index.html
www/tricks/raspberry_pi3_configure_wifi.html
www/tricks/raspberry_pi3_sound.html [new file with mode: 0644]

index 7e2de8e..cb645e3 100644 (file)
@@ -10,6 +10,7 @@
 * link:raspberry_pi3_overclock.html[Overclocking of the Raspberry PI3]
 * link:raspberry_pi3_change_windows_manager.html[Change the windows manager of the Raspberry PI3]
 * link:raspberry_pi3_configure_wifi.html[Configure the Wifi]
+* link:raspberry_pi3_sound.html[Configure sound]
 
 == https://letsencrypt.org[Let's Encrypt]
 
diff --git a/src/tricks/raspberry_pi3_sound.adoc b/src/tricks/raspberry_pi3_sound.adoc
new file mode 100644 (file)
index 0000000..85ac504
--- /dev/null
@@ -0,0 +1,21 @@
+= Raspberry PI - Configure the sound
+:docinfo2:
+:icons: font
+
+== Output to the headphones
+
+By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.
+
+To change the audio output:
+
+----
+sudo amixer -c 0 cset numid=3 <output>
+----
+
+where <output> can be:
+
+* 0: auto
+* 1: headphones
+* 2: hdmi
\ No newline at end of file
index 52bd820..2e25d48 100644 (file)
@@ -31,7 +31,10 @@ asciidoc.</p>
 </li>
 <li>
 <p>Fresh install of 1.2.0 complains about missing sensor config
-keys. (LP :#1650378)</p>
+keys. (LP: #1650378)</p>
+</li>
+<li>
+<p>Fixed hide on startup preference (Francis Chin). (LP: #1642029).</p>
 </li>
 </ul>
 </div>
@@ -1991,7 +1994,7 @@ Initial release</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2017-02-10 00:47:57 CET
+Last updated 2017-02-16 20:22:50 CET
 </div>
 </div>
 </body>
index 082ad05..5bf8977 100644 (file)
@@ -39,6 +39,9 @@
 <li>
 <p><a href="raspberry_pi3_configure_wifi.html">Configure the Wifi</a></p>
 </li>
+<li>
+<p><a href="raspberry_pi3_sound.html">Configure sound</a></p>
+</li>
 </ul>
 </div>
 </div>
@@ -58,7 +61,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2017-02-11 18:53:54 CET
+Last updated 2017-02-16 20:19:30 CET
 </div>
 </div>
 <footer>
index 6d1bc65..08d2d1d 100644 (file)
@@ -54,21 +54,21 @@ network={
        ssid="MY_SSID"
        psk="MY_PASSWORD"
        key_mgmt=WPA-PSK
-       priority=1
+       priority=2
 }
 
 network={
        ssid="MY_SSID2"
        psk="MY_PASSWORD2"
        key_mgmt=WPA-PSK
-       priority=2
+       priority=1
 }</code></pre>
 </div>
 </div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2017-02-12 15:32:13 CET
+Last updated 2017-02-12 15:32:35 CET
 </div>
 </div>
 <footer>
diff --git a/www/tricks/raspberry_pi3_sound.html b/www/tricks/raspberry_pi3_sound.html
new file mode 100644 (file)
index 0000000..af7fc31
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Configure the sound</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="../nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>Raspberry PI - Configure the sound</h1>
+</div>
+<div id="content">
+<div class="sect1">
+<h2 id="_output_to_the_headphones">Output to the headphones</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.</p>
+</div>
+<div class="paragraph">
+<p>To change the audio output:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo amixer -c 0 cset numid=3 &lt;output&gt;</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>where &lt;output&gt; can be:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>0: auto</p>
+</li>
+<li>
+<p>1: headphones</p>
+</li>
+<li>
+<p>2: hdmi</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-02-16 20:23:53 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file