<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eugene Teplitsky &#187; Debian</title>
	<atom:link href="http://www.eugeneteplitsky.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eugeneteplitsky.com</link>
	<description>Professional Timewaster. Reluctant Writer. Intermittent Photographer. Starving Developer.</description>
	<lastBuildDate>Tue, 18 May 2010 05:47:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Fixing Silent PulseAudio in Ubuntu 9.04</title>
		<link>http://www.eugeneteplitsky.com/fixing-silent-pulseaudio-in-ubuntu-9-04/</link>
		<comments>http://www.eugeneteplitsky.com/fixing-silent-pulseaudio-in-ubuntu-9-04/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 02:11:46 +0000</pubDate>
		<dc:creator>Eugene</dc:creator>
				<category><![CDATA[Linux Lunacy]]></category>
		<category><![CDATA[ALSA]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Gloria]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Mint]]></category>
		<category><![CDATA[Mandrake]]></category>
		<category><![CDATA[Mint]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[PulseAudio]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[Ubuntu 9.04]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.eugeneteplitsky.com/?p=171</guid>
		<description><![CDATA[Since when did this become a Linux or tech support blog? Let me see now.. umm&#8230; right.. NOW! But, let&#8217;s be honest here, it was a long time coming &#8211; and what truly broke the camel&#8217;s back was a revelation I had last night, shortly after booting up a fresh install of Linux Mint: Gloria [...]]]></description>
			<content:encoded><![CDATA[<p>Since when did this become a Linux or tech support blog? Let me see now.. umm&#8230; right.. <strong>NOW</strong>! But, let&#8217;s be honest here, it was a long time coming &#8211; and what truly broke the camel&#8217;s back was a revelation I had last night, shortly after booting up a fresh install of <a href="http://www.linuxmint.com/">Linux Mint: Gloria</a> (a derivative of <a href="http://www.ubuntu.com/">Ubuntu 9.04</a>).</p>
<div id="attachment_174" class="wp-caption alignright" style="width: 320px"><a href="http://www.eugeneteplitsky.com/wp-content/uploads/2009/07/linux-windows.jpg" rel="shadowbox[post-171];player=img;"><img class="size-thumbnail wp-image-174" title="THIS penguin has had enough!" src="http://www.eugeneteplitsky.com/wp-content/uploads/2009/07/linux-windows-310x150.jpg" alt="THIS penguin has had enough!" width="310" height="150" /></a><p class="wp-caption-text">THIS penguin has had enough!</p></div>
<p>I have been a full-time Linux user for several years now, and during that time have had an opportunity to mess around with diverse distros such as <em>Red Hat Linux</em>, <em>Mandrake</em>, <em>Gentoo</em>, <em>Debian</em>, and most recently &#8211; <em>Ubuntu</em> (which is based on <em>Debian</em>). I cannot say that my experiences have been wholly positive &#8211; there have been many frustrating break-the-keyboard-over-somebody&#8217;s-head moments, and finding solutions to seemingly simple problems has not always been easy (the excellent <a href="http://ubuntuforums.org/">Ubuntu Forums</a> have actually made a world of difference in this regard) &#8211; but I somehow managed to get things working anyway.</p>
<p>Nevertheless, I can&#8217;t see myself going back to Windows &#8211; in comparison to Linux, the amount of keyboard-over-head experiences I&#8217;ve dealt with on Windows 3.0 all the way up to Windows Vista have been vastly greater.</p>
<p>How did I do it back then? Damn if I can remember &#8211; and this why I really should have kept a journal of my solutions a long time ago. Shortly after researching, diagnosing, and fixing a typical problem I&#8217;ve run into with my laptop &#8211; a lack of sound &#8211; I had a sense of deja-vu, as if I&#8217;ve  done this before. That&#8217;s because I have &#8211; twice. So why the hell am I reinventing the wheel every time?</p>
<p>SO, without further ado &#8211; <strong>a quick and dirty guide to fixing an annoying PulseAudio issue in Ubuntu 9.04, on an HP Pavilion HDX 18</strong> (and possibly other HP machines).</p>
<p><strong>Fixing a Typical Audio Issue:</strong></p>
<p>You&#8217;ve got a fresh (or maybe not so fresh) Ubuntu 9.04 install with an audio issue &#8211;  specifically, sound doesn&#8217;t play. You try to play music, videos, even Ubuntu&#8217;s test tone. All silent.</p>
<p>And yet, <strong>your PC thinks sound is working just fine</strong> &#8211; all volume meters are up, no errors, nothing is muted, even the Pulse Audio volume meter (run <em>pavumeter</em>) shows that sound is playing.</p>
<p>The command <em>aplay -l</em> gives you perfectly reasonable-looking output:</p>
<p><a href="http://www.eugeneteplitsky.com/wp-content/uploads/2009/07/aplay.png" rel="shadowbox[post-171];player=img;"><img class="alignnone size-full wp-image-173" title="aplay" src="http://www.eugeneteplitsky.com/wp-content/uploads/2009/07/aplay.png" alt="aplay" width="584" height="136" /></a></p>
<p><strong>But there&#8217;s a twist to this problem! Try this:</strong></p>
<ul>
<li>Plug in a set of headphones and see if you get sound that way! (you should)</li>
</ul>
<p>Yes, as weird as this is, apparently ALSA seems to have trouble properly routing audio to your speakers.</p>
<p>The answer is to nudge it in the right direction, by specifying a particular directive at the end of the <em>/etc/modprobe.d/alsa-base.conf</em> file.</p>
<p><strong>Here is what worked for me:</strong></p>
<pre class="brush: bash; light: true;">options snd-hda-intel model=hp-m4 enable_msi=1</pre>
<p>Just stick that line at the very end of <em>alsa-base.conf</em> and reboot your machine. You should be good to go!</p>
<p>If you are using a different PC or laptop &#8211; experiment with different values for the <em>model</em> parameter, based on the output of <em>aplay &#8211; l</em>. You can see a full list of available values for it <a href="http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt">right here</a>.</p>
<p>And don&#8217;t ask me why <em>model=hp-hdx</em> did not work on my HDX. I am still scratching my head about that.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.eugeneteplitsky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.eugeneteplitsky.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-posts"><strong>Related Posts</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/aca'; return false;" href="http://www.eugeneteplitsky.com/it-all-began-in-persia/">It all began in Persia...</a> <small>The wondrous gray box made its way into my family's 6th story apartment on Usilova Street by way of corruption, bribery, and contraband. Yes, the 286sx-based PC sitting in my parents' living room felt very much like a highly illegal - and very expensive - doodad to possess in those......</small> </li> <li> <a onClick="window.location='http://bte.tc/6Mg'; return false;" href="http://www.eugeneteplitsky.com/dima-sets-the-gaidar-off/">Dima Sets Off The Gaidar</a> <small>(... that's Arkady Gaidar, for the non-literature-minded) Meet Dima. Preserved like an acutely hypochondriac mosquito in a block of amber, he sits here in my memories in his perpetually sniveling 8-year-old self. Somewhere out there in the world lurks Dima, definitely older, hopefully wiser - and a complete stranger to......</small> </li> <li> <a onClick="window.location='http://bte.tc/HnQ'; return false;" href="http://www.eugeneteplitsky.com/dima-crosses-the-streams/">Dima Crosses the Streams</a> <small>In "Dima Sets off the Gaidar", I described a harrowing tale of a boy, his Arkady Gaidar-themed sled, and the jealousy and avarice it inspired in his friends. But not all stories about Dima have to do with sleds. This one is about batteries, brainwashing, and unrealistic expectations in relation......</small> </li> <li> <a onClick="window.location='http://bte.tc/e3-'; return false;" href="http://www.eugeneteplitsky.com/a-sound-solution-to-an-age-old-problem/">A Sound Solution to an Age Old Problem</a> <small>There's a funny thing about old people - eventually we all turn into them. As our tolerance for loud music gets lower and our pants higher, we start judging those less gnarled and crusty than ourselves with a sort of snobbish disdain. While some might age gracefully, attaining a zen-like......</small> </li> <li> <a onClick="window.location='http://bte.tc/bHjv'; return false;" href="http://www.eugeneteplitsky.com/vbulletin-3-x-fix-for-popup-menu-position-in-relative-templates/">VBulletin 3.x Fix for Popup Menu Position in Relative Templates</a> <small>[/caption] How many times has this happened to you? There you are, ignorantly hacking away at your brilliant VBulletin theme, ironing out your CSS, making sure everything validates and is SEO-friendly to the max... until suddenly you realize that the popup menu is not popping! Or rather, it's popping, but......</small> </li> </ul> <a STYLE="border:none;text-decoration:none;outline:none;" href="http://www.blogtrafficexchange.com"><img border="0" alt="Blog Traffic Exchange" src="http://www.eugeneteplitsky.com/wp-content/plugins/related-websites/24x24-white.png"></a> <a href="http://www.blogtrafficexchange.com/related-websites"><strong>Related Websites</strong></a> <ul>  <li> <a onClick="window.location='http://bte.tc/EmK'; return false;" href="http://www.mytwodollars.com/2009/05/20/taking-the-cheap-way-out-on-medical-issues-costs-more-later/">Taking The Cheap Way Out On Medical Issues Costs More Later.</a> <small>My wife has been going to the dentist a lot this year. The reason? She has a bunch of faulty fillings from years ago that have gone bad and required a lot of work to fix. While we have dental insurance, it only covers a percentage of any work done......</small> </li> <li> <a onClick="window.location='http://bte.tc/y8t'; return false;" href="http://www.sfboater.com/things-to-do-in-san-francisco-pt-2/">Things to do in San Francisco pt 2</a> <small>Here is a unique secret about San Francisco: Even the locals are often unaware of all of the gems that this fair city has to offer to its visitors. Here are some of the unique things that you might like to see and get to know while you are visiting......</small> </li> <li> <a onClick="window.location='http://bte.tc/c'; return false;" href="http://www.howtofix.org/how-to-fix-a-light/">How to Fix a Light</a> <small>[/caption]When we think about some common problems around the house, we don't often think about the small stuff: leaky faucets, long-term wood damage, or burnt-out light bulbs. But this "small stuff" is actually the exact kind of home repair that will consume most of your time unless you understand what......</small> </li> <li> <a onClick="window.location='http://bte.tc/kBn'; return false;" href="http://www.howtofix.org/how-to-fix-your-cold-shower-head/">How to Fix Your Cold Shower Head</a> <small>[/caption]If you're like me, you don't particularly like that first few minutes of taking a shower when the water is running and you're waiting for it to warm up. You'd rather simply jump right in, not waste any water, and get the shower over with so you can move on......</small> </li> <li> <a onClick="window.location='http://bte.tc/2BW'; return false;" href="http://www.richcreditdebtloan.com/what-is-bankruptcy/">What is Bankruptcy?</a> <small>Understand the process of bankruptcy before you file the forms by yourself or with an attorney. To start the process of bankruptcy, a person with an unwieldy amount of debt files for bankruptcy in the nearest court. This process is normally done with the help of attorney, a person is......</small> </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://www.eugeneteplitsky.com/fixing-silent-pulseaudio-in-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
