<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>lxmusic will not play</title><link>https://community.element14.com/products/raspberry-pi/f/forum/18993/lxmusic-will-not-play</link><description>Alright, lxmusic is provided on the RPi Debian distro and will not play even after trying sudo apt-get install xmms2-plugin-all, to load codecs I assume, and sudo modprobe snd_bcm2835 prior to entering startx. Can someone provide a nice how-to get it</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Sat, 14 Jul 2012 00:44:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/raspberry-pi/f/forum/18993/lxmusic-will-not-play" /><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/22030?ContentTypeID=1</link><pubDate>Sat, 14 Jul 2012 00:44:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0eca3d01-bd34-4406-a853-6b590a89677b</guid><dc:creator>e14 Contributor</dc:creator><description>&lt;p style="margin:0;"&gt;Morgaine, I don&amp;#39;t think it is the Pi. Alsamixer and speaker-test both work on my Pi (Arch Arm). I had added the cset numid=3 1 to my /etc/rc.local so that my sound would always work properly at bootup (my monitor is HDMI but doesn&amp;#39;t have built in speakers so I use the speaker out to connect to some cheap Logitech speakers).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/22009?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2012 16:14:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5425b5ec-603e-4ac8-adff-49ee739a41b0</guid><dc:creator>jeffbiss</dc:creator><description>&lt;p style="margin:0;"&gt;One more thing, for anyone else having problems with lxmusic, see:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-external-small" href="http://elinux.org/R-Pi_Troubleshooting" rel="nofollow ugc noopener" target="_blank" title="http://elinux.org/R-Pi_Troubleshooting"&gt;http://elinux.org/R-Pi_Troubleshooting&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;and look under &amp;quot;Sound does not work at all, or in some applications&amp;quot;. I finally found this after Mograine provided information without calling me lazy or clueless.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/155146?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2012 13:36:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3605ff4e-2374-488b-a892-c1dce1fd4838</guid><dc:creator>jeffbiss</dc:creator><description>&lt;p style="margin:0;"&gt;Morgaine,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Done! Again, thanks for your help.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/155145?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2012 13:14:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5bf33a91-9684-4acd-aadc-f63777ac9d64</guid><dc:creator>jeffbiss</dc:creator><description>&lt;p style="margin:0;"&gt;From reading the RPi posts about lxmusic, I thought that ALSA was part of the Debian distro, but seeing that it&amp;#39;s not there, I must be wrong. I&amp;#39;ll try to put together a how-to for the community when I get through this. thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/21994?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2012 08:53:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c8147e4e-c995-4be3-91b6-a615764fe6c6</guid><dc:creator>morgaine</dc:creator><description>&lt;p style="margin:0;"&gt;Easy to fix:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;sudo apt-get install alsa-utils&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I&amp;#39;m surprised it&amp;#39;s not installed on your system already though.&amp;nbsp; I have no record of installing it here explicitly, although perhaps it got installed implicitly as a dependency for something else I installed.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;That said, the alsa-utils package definitely has problems on Pi, for example &lt;strong&gt;alsamixer&lt;/strong&gt; doesn&amp;#39;t work, and nor does &lt;strong&gt;speaker-test&lt;/strong&gt;, unfortunately.&amp;nbsp; But &lt;strong&gt;amixer&lt;/strong&gt; does work and is used to switch audio output as I described.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Morgaine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/21982?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2012 23:13:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9506d7f1-c125-449c-9e73-343d0325074c</guid><dc:creator>jeffbiss</dc:creator><description>&lt;p style="margin:0;"&gt;Morgaine,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Thanks for that information but it appears that ALSA is not installed. I looked in /etc/init.d and alsa-utils is not there, so now to install ALSA.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Then, and only then will I be able to use your information .&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/21940?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2012 00:32:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cdfead9f-c758-43aa-8955-6f75fc013e5a</guid><dc:creator>morgaine</dc:creator><description>&lt;p style="margin:0;"&gt;Here are a few possible things to check.&amp;nbsp; You&amp;#39;ve already loaded the &lt;strong&gt;&lt;code&gt;snd_bmc2835&lt;/code&gt;&lt;/strong&gt; sound module using &amp;quot;&lt;strong&gt;modprobe&lt;/strong&gt;&amp;quot;, but better check that it&amp;#39;s actually present using &amp;quot;&lt;strong&gt;lsmod&lt;/strong&gt;&amp;quot;.&amp;nbsp; There should be a few sound-related modules showing in the lsmod output (7 on my Pi).&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;By the way, you might as well add the module name &amp;quot;&lt;strong&gt;&lt;code&gt;snd_bmc2835&amp;quot;&lt;/code&gt;&lt;/strong&gt; onto the end of the &lt;strong&gt;/etc/modules&lt;/strong&gt; file too, using your favourite editor.&amp;nbsp; This will load the module automatically on boot and save you having to modprobe it manually.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If all seems well there, try a clean start or restart of the ALSA system:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;/etc/init.d/alsa-utils start&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- Start ALSA for the first time&lt;/li&gt;&lt;li&gt;&lt;strong&gt;/etc/init.d/alsa-utils restart&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- Restart the ALSA system&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If everything still looks good, then try a simple commandline player, for example &lt;strong&gt;mpg123&lt;/strong&gt; or my preferred one, &lt;strong&gt;moc&lt;/strong&gt;.&amp;nbsp; If they&amp;#39;re not in the default image (MOC is not) then you&amp;#39;ll have to install one with apt-get, eg. &amp;quot;&lt;strong&gt;sudo apt-get install moc&lt;/strong&gt;&amp;quot;.&amp;nbsp; Invoke either of them directly on your .mp3 or .ogg files, for example &amp;quot;&lt;strong&gt;mocp foo.mp3&lt;/strong&gt;&amp;quot;.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If there is still no sound then perhaps you&amp;#39;re listening to the wrong output, for example the audio might be coming out over HDMI while you&amp;#39;re listening on the analogue output, or vice versa.&amp;nbsp; You can switch between them using &lt;strong&gt;amixer&lt;/strong&gt;:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;amixer cset numid=3 1&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- This routes audio out the analogue port&lt;/li&gt;&lt;li&gt;&lt;strong&gt;amixer cset numid=3 2&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- This routes audio out the HDMI port&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Usually that&amp;#39;s all you need to obtain sound, although some find that they also need &amp;quot;&lt;strong&gt;hdmi_drive=2&lt;/strong&gt;&amp;quot; in their &lt;strong&gt;/boot/config.txt&lt;/strong&gt; file if they want audio on HDMI, or &amp;quot;&lt;strong&gt;hdmi_drive=1&lt;/strong&gt;&amp;quot; if their HDMI lead is plugged into a DVI-D input through an adapter.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Morgaine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: lxmusic will not play</title><link>https://community.element14.com/thread/21939?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2012 00:09:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8de89e29-02b6-4417-863a-c47ea23d9afd</guid><dc:creator>e14 Contributor</dc:creator><description>&lt;p style="margin:0;"&gt;I don&amp;#39;t know the command offhand, but you need to set ALSA to use the audio out jack from what I understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>