<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Arbitrary Useful Information &#187; ati sb450 hda</title>
	<atom:link href="http://arbitraryusefulinfo.wordpress.com/category/ati-sb450-hda/feed/" rel="self" type="application/rss+xml" />
	<link>http://arbitraryusefulinfo.wordpress.com</link>
	<description>A collection of information that will hopefully be useful to others.</description>
	<lastBuildDate>Wed, 21 May 2008 10:13:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='arbitraryusefulinfo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5d5cdc0c23d2242fb96be2584d66cb4f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Arbitrary Useful Information &#187; ati sb450 hda</title>
		<link>http://arbitraryusefulinfo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arbitraryusefulinfo.wordpress.com/osd.xml" title="Arbitrary Useful Information" />
		<item>
		<title>Configuring Headphones for Ubuntu 7.04 on a Toshiba A135-S2356</title>
		<link>http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356/</link>
		<comments>http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 22:00:40 +0000</pubDate>
		<dc:creator>Ryan Lefever</dc:creator>
				<category><![CDATA[ati sb450 hda]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sb450]]></category>
		<category><![CDATA[sound card]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[toshiba a135-s2356]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 7.04]]></category>
		<category><![CDATA[ubuntu feisty fawn]]></category>

		<guid isPermaLink="false">http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356/</guid>
		<description><![CDATA[A user named Chris submitted a comment on my  &#8220;Configuring Ubuntu 7.04 on a Toshiba A135-S2356&#8243; post that helped me fixed a problem on my laptop in which the headphones did not mute the external speakers. The sound card used by my Toshiba laptop is the ATI SB450 HDA.  The steps to fix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=41&subd=arbitraryusefulinfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A user named Chris submitted a <a href="http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/#comment-221">comment</a> on my <a href="http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/"> &#8220;Configuring Ubuntu 7.04 on a Toshiba A135-S2356&#8243; post</a> that helped me fixed a problem on my laptop in which the headphones did not mute the external speakers. The sound card used by my Toshiba laptop is the ATI SB450 HDA.  The steps to fix the headphone problem are below.  Note, I did not have to use the realtek 6 patch that Chris mentions.</p>
<p>If you have the same laptop as me and the following instructions do not work, please post a comment.</p>
<ol>
<li>Download the latest ALSA source files from <a href="http://www.alsa-project.org">http://www.alsa-project.org</a>.  I&#8217;m not sure if you need all of these, but I downloaded the driver, lib, and utils packages.  The versions I retrieved are 1.0.14, 1.0.14a, and 1.0.14, respectively.</li>
<li>Next, compile the driver, lib, and utils packages, in that order.  To compile package, perform the following commands from a command prompt:
<pre>./configure
make
sudo make install</pre>
</li>
<li>In my previous post <a href="http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/"> &#8220;Configuring Ubuntu 7.04 on a Toshiba A135-S2356,&#8221;</a> the instructions asked you to append
<pre>options snd-hda-intel probe_mask=8 model=3stack</pre>
<p>to the file <code>/etc/modprobe.d/alsa-base</code>.  Now, &#8220;3stack&#8221; needs to be changed to &#8220;lenovo&#8221;.</li>
<li>Reboot.</li>
<li>If you plug in the headphones, the external speakers will mute.  However, if you adjust the &#8220;Front&#8221; volume in the system volume controls, the external speakers will unmute.  Fortunately, you can do something about this.  Launch <code>gnome-volume-control</code>, either by double clicking the volume icon on your task bar, or by running <code>gnome-volume-control</code> from a terminal.   Set the &#8220;Front&#8221; volume at 100% and never touch it again.  From here on out you can then adjust the volume by adjusting the &#8220;PCM&#8221; volume.  The volume of many applications will be tie to the &#8220;Front&#8221; volume.  Therefore, you should not adjust the volume through those applications.  Instead use the &#8220;PCM&#8221; volume in <code>gnome-volume-control</code>.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arbitraryusefulinfo.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arbitraryusefulinfo.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arbitraryusefulinfo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arbitraryusefulinfo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arbitraryusefulinfo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arbitraryusefulinfo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arbitraryusefulinfo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arbitraryusefulinfo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arbitraryusefulinfo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arbitraryusefulinfo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arbitraryusefulinfo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arbitraryusefulinfo.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=41&subd=arbitraryusefulinfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a82f3820e15e4a07a0a2889602506a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sparc1998</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuring Ubuntu 7.04 on a Toshiba A135-S2356</title>
		<link>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/</link>
		<comments>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 08:59:20 +0000</pubDate>
		<dc:creator>Ryan Lefever</dc:creator>
				<category><![CDATA[ati]]></category>
		<category><![CDATA[ati sb450 hda]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[graphics card]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[s2ram]]></category>
		<category><![CDATA[sb450]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[sound card]]></category>
		<category><![CDATA[synaptics touchpad]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[toshiba a135-s2356]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 7.04]]></category>
		<category><![CDATA[ubuntu feisty fawn]]></category>

		<guid isPermaLink="false">http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/</guid>
		<description><![CDATA[See this post for an update on sound.
I recently got a new Toshiba Satellite A135-S2356, on which I installed Ubuntu Feisty Fawn. Below I will discuss several issues involved in configuring Ubuntu on the laptop. Unfortunately, I was not able to configure everything to my complete satisfaction. In those cases, I will detail as much [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=36&subd=arbitraryusefulinfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><span style="color:red;">See <a href="http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356">this post</a> for an update on sound.</span></strong></p>
<p>I recently got a new Toshiba Satellite A135-S2356, on which I installed Ubuntu Feisty Fawn. Below I will discuss several issues involved in configuring Ubuntu on the laptop. Unfortunately, I was not able to configure everything to my complete satisfaction. In those cases, I will detail as much as I know about the issue and will update this post as I learn more.</p>
<hr /><em>Synaptics Touchpad</em></p>
<p>To configure the touchpad you need install an application such as gsynaptics. (On KDE you may want to use a different application, such as ksynaptics.) gsynatpics can be installed using the Synaptic Package Manager. After installing gsynaptics, edit <code>/etc/X11/xorg.conf</code>, and look for an entry that starts:</p>
<pre>Section "InputDevice"</pre>
<pre>        Identifier      "Synaptics Touchpad"</pre>
<p>Make sure that the following option is listed under that entry:</p>
<pre>Option          "SHMConfig"     "on"</pre>
<p>If you do modify <code>/etc/X11/xorg.conf</code>, you&#8217;ll need to restart the X-server for the changes to take effect. You can do this by rebooting or pressing ctrl-alt-backspace.</p>
<hr /><em>Sound</em></p>
<p>Sound is the most frustrating part of configuring this laptop. The Toshiba Satellite A135-S2356 uses the ATI SB450 HDA sound card. Apparently the SB450 has worked off and on at various stages of Ubuntu&#8217;s life cycle over the past few years. Its pretty frustrating that it reportedly worked in Ubuntu 6.10 but is broken again in Ubuntu 7.04. Its not clear to me if the problem lies in the kernel or with ALSA. At any rate, I have figured out how to get the sound card working, but with one giant quirk. When headphones are plugged in, the sound continues to emit from the laptop&#8217;s internal speakers, essentially defeating the point of headphones. To get to this point, you need to edit <code>/etc/modprobe.d/alsa-base</code>, and add the following line to the end of it:</p>
<pre>options snd-hda-intel probe_mask=8 model=3stack</pre>
<p>After doing so, the easiest next step is to reboot, that way the change will take effect. I have tried recompiling the alsa drivers, but that did not fix the speaker-headphone problem. In addition, it does not appear that this problem is a very high priority issue. Hopefully that will change, as I and many others require music while working and often work in environments where externally audible sound is unacceptable. I will continue to monitor the situation and will update this blog if I figure out how to make the speakers mute when headphones are plugged in. If anyone reading this blog knows how to fix the speaker-headphone situation, please post a comment.</p>
<p><strong> <span style="color:red;">I have posted a solution to get the headphones to mute, <a href="http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356">here</a>.</span></strong></p>
<hr /><em>Graphics Card</em></p>
<p>Restricted drivers exist for the ATI graphics card in the laptop; however, I&#8217;ve found that when enabled, the screen goes black when ever you log out of Ubuntu. Consequently you have to reboot. So, if you&#8217;re the only person that uses the laptop, then those drivers are probably OK to use. On the other hand, if you&#8217;re not doing anything graphically intensive, you probably don&#8217;t need to worry about using them. I have not extensively looked into recompiling the kernel to fix the black screen problem.</p>
<hr /><em>Hibernate/Sleep</em></p>
<p>The laptop does not seem to properly wake from hibernate and sleep, using the default power management scheme. I was able to fix the problem by changing the default power management scheme with the steps below. (Note, I am still testing this new scheme.)</p>
<ol>
<li>Install uswsusp using the Synaptic Package Manager.</li>
<li>Test uswsusp.  To test hibernate, execute <code>sudo s2disk</code>.  To test sleep, execute <code>sudo s2ram -f</code>.  You must use the <code>-f</code> option because the A135-S2356 is not in the whitelist of supported laptops for s2ram. However, it seemed to work fine for me. For more information about s2ram, go to <a href="http://en.opensuse.org/S2ram">http://en.opensuse.org/S2ram</a>.</li>
<li>The default power management scripts have a certain order in which they look for commands that put your computer into hibernation or to sleep. The first thing they look for is pmi. Unfortunately, you can not remove pmi from you system because of the way certain package dependencies are organized. However, you can rename pmi so that the power management scripts can&#8217;t find it. If you renamed pmi using a move command, it would simply reappear the next time it was updated on the system. What you can do instead is to rename in a way that lets the packagemanagment system know it was renamed. That can be done with the following command:
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo dpkg-divert --rename --divert /usr/sbin/pmi-disabled /usr/sbin/pmi</pre>
<p>Now, power management will find s2disk and s2ram instead of pmi. Note, if you have installed other power management tools, you may have to remove them or similarly rename them.</li>
<li>Another issue is that we need the power management execute <code>s2ram -f</code>, not just <code>s2ram</code>.  In order to do that, we mv s2ram similarly to how we moved pmi.
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo dpkg-divert --rename --divert /sbin/s2ram-install /sbin/s2ram</pre>
<p>After moving s2ram, we create a new s2ram that calls the renamed s2ram with the appropriate flags. That can be accomplished with the following two commands:</p>
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo echo "/sbin/s2ram-install -f" &gt; /sbin/s2ram</pre>
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo chmod 755 /sbin/s2ram</pre>
</li>
<li>Note, because we used dpkg-divert to rename s2ram, it will still get updated properly.</li>
</ol>
<hr /><em>Toshiba Function Keys</em></p>
<p>The Toshiba function keys can be used to adjust brightness, mute/unmute the audio, etc. I have not yet figured this one out. However, I believe the solution is use <a href="http://fnfx.sourceforge.net/">fnfx</a>, which can be installed using the Synaptic Package Manager. Unfortunately, in order for fnfx to work, the kernel must be compiled with Toshiba support. In particular, it requires that <code>CONFIG_ACPI</code> and <code>CONFIG_ACPI_TOSHIBA</code> are defined in the kernel configuration. Toshiba support seems to be missing in the kernel that Ubuntu supplies. Thus, I believe it is necessary to recompile the kernel. If you&#8217;re reading this and you know where to download current versions of the kernel compiled with Toshiba support, please post a comment.</p>
<hr /><em>DNS</em></p>
<p>Although I&#8217;ve been disappointed with Ubuntu&#8217;s sound support, I have been impressed with its wireless support. The wireless just worked! One addition I like to make to the wireless is to make OpenDNS the default DNS provider. I do this because some ISPs have not yet figured out how to setup fast and reliable DNS. In order to make OpenDNS your default DNS server for your wireless, add the following line to <code>/etc/dhcp3/dhclient.conf</code>, and then reboot:</p>
<pre>prepend domain-name-servers 208.67.222.222, 208.67.220.220;</pre>
<hr /><em>ipod</em></p>
<p>Because the headphones do not work properly, I am forced to use an external music player. Currently I am using an ipod. Instructions can be found at <a href="http://www.linuxjournal.com/article/9266">http://www.linuxjournal.com/article/9266</a>, for using your ipod with Ubuntu. Personally, I have chosen to use gtkpod to manage my ipod. In addition, if you&#8217;re sick of Rhythmbox starting whenever you attach your ipod to your laptop, you can fix that by launching gconf-editor and modifying the settings under <code>desktop -&gt; gnome -&gt; volume_manager</code>.  If found that particular piece of advice <a href="http://ubuntuforums.org/showthread.php?t=170261&amp;highlight=default+media+player"> here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arbitraryusefulinfo.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arbitraryusefulinfo.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arbitraryusefulinfo.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=36&subd=arbitraryusefulinfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a82f3820e15e4a07a0a2889602506a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sparc1998</media:title>
		</media:content>
	</item>
	</channel>
</rss>