<?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>Code Pencil &#187; linux</title>
	<atom:link href="http://www.codepencil.com/index.php/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codepencil.com</link>
	<description>Manu Mahajan`s blog</description>
	<lastBuildDate>Tue, 14 Apr 2009 16:15:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu Gutsy Gibbon On HP tx1000 Laptop</title>
		<link>http://www.codepencil.com/index.php/installing-ubuntu-gutsy-gibbon-on-my-hp-tx1003au-laptop/</link>
		<comments>http://www.codepencil.com/index.php/installing-ubuntu-gutsy-gibbon-on-my-hp-tx1003au-laptop/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 09:08:16 +0000</pubDate>
		<dc:creator>Manu Mahajan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.codepencil.com/?p=9</guid>
		<description><![CDATA[It&#8217;s that time of the year again. A new version of ubuntu is out and I had to update. I have had a not so good experience with upgrades so I decided to go for a fresh installation. I downloaded the 32bit standard cd from the ubuntu website, took a backup, formatted my feisty partition [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of the year again. A new version of ubuntu is out and I had to update. I have had a not so good experience with upgrades so I decided to go for a fresh installation. I downloaded the 32bit standard cd from the <a href="http://www.ubuntu.com/getubuntu">ubuntu website</a>, took a backup, formatted my feisty partition and took the plunge.</p>
<p><span id="more-9"></span></p>
<p>I have an HP tx1003au laptop which is known to be slightly difficult to configure with linux. There is a huge <a href="http://ubuntuforums.org/showthread.php?t=442483">thread</a>(33 pages so far) on ubuntuforums.org specifically for this series of machines. I&#8217;ve been following this thread right since the beginning and I am posting the steps that I had to take. The information in this thread is a lot more than you need and it took me hours to go through it and get every piece of hardware going one by one.</p>
<h3>Booting from live CD</h3>
<p>As with recent ubuntu distributions gutsy comes with a live CD. I was not able to boot from the live CD directly. I had a similar problem with Feisty so I knew that I need to supply a certain set of kernel parameters to get my laptop to boot. The following parameters seem to work for me</p>
<pre>
quiet splash noapic irqpoll
</pre>
<p>If you are new to linux then follow the following steps.</p>
<p>Load the CD in your CD ROM and restart the computer. You will be shown a screen with options. Press F6 for &#8220;other options&#8221;. Now a line of text would be visible at the bottom of the screen. Type &#8220;noapic irqpoll&#8221; at the end of the line(before the &#8211;) and press enter.</p>
<h3>Installation</h3>
<p>Once I was able to boot from the live CD the installation went off smoothly. The only thing was that after installing the boot parameters were not automatically added to the boot configuration. So don&#8217;t restart your system straight away after installation. Edit the following file em>/boot/grub/menu.lst</em> and add the boot parameters string at the end of the line that looks something like this</p>
<pre>
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=aa0998d4-b656-4ad4-854f-8fe9d950d17f quiet splash noapic irqpoll
</pre>
<h3>Wireless</h3>
<p>The first thing that I needed to configure was wireless networking. For this I used ndiswrapper. The instructions are given very nicely in this post.</p>
<p><a href="http://ubuntuforums.org/showpost.php?p=3491929&#038;postcount=257">http://ubuntuforums.org/showpost.php?p=3491929&#038;postcount=257</a></p>
<p>Note: I needed to install wine since I wasn&#8217;t able to extract the driver directly from the exe. For installing wine type this in a terminal window(applications -&gt; accessories -&gt; terminal)</p>
<pre>
sudo apt-get install wine
</pre>
<p>And after installing wine I double clicked on the driver file and installed it. Then I was able to locate the driver file by browsing the the following directory on my system<br />
<em>~/.wine/drive_c/SWSetup</em> (~ stands for home directory)</p>
<p>For connecting and disconecting to wireless networks you can use the networking application provided by default which can be accessed via system -&gt; administration -&gt; network. But I prefer to use the software wifi-radar which seems to work better in my case. For installing wifi radar type this in a terminal</p>
<pre>
sudo apt-get install wifi-radar
</pre>
<p>Note: You might need to enable some repositories for using the above software. For more information see this<br />
<a href="https://help.ubuntu.com/community/Repositories">https://help.ubuntu.com/community/Repositories</a></p>
<h3>Audio</h3>
<p>The audio didn&#8217;t work by default. To make it work I had to add the following line to the file <em>/etc/modprobe.d/alsa-base</em></p>
<pre>
options snd-hda-intel index=0 model=3stack position_fix=0 single_cmd=0
</pre>
<p><s>I had to restart after this. The audio now works but the front jacks are not recognized. I&#8217;ve read that the front jacks can be made to work by downloading and compiling the latest version of alsa drivers. I will try that at a later stage. For the moment I just wanted basic functionality running so that I could start using my system for some coding <img src='http://www.codepencil.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </s></p>
<p>Edit: The audio works perfectly after compiling and installing latest alsa drivers. Here are the instructions.</p>
<ol>
<li>Download the latest alsa drivers from here<br />
<a href="ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15.tar.bz2">ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15.tar.bz2</a>
</li>
<li>Untar the archive
<pre>
$ tar -xvf alsa-driver-1.0.15.tar.bz2
</pre>
</li>
<li>Compile and build the drivers
<pre>
$ cd alsa-driver-1.0.15/
$ ./configure
$ make
$ sudo make install
</pre>
<p>make should take a few minutes because it is compiling the source code.<br />
(in case you get a message that make cannot be found then you need to install the &#8220;build-essentials&#8221; package)
</li>
<li>Reboot your system</li>
</ol>
<p>Audio should be working now. In case it doesn&#8217;t try unmuting the controls in the volume mixer or increasing the volume.</p>
<h3>Things that work out of the box</h3>
<p>Not everything required tweaking and some of the things worked by default. Here&#8217;s what I was able to test.</p>
<ul>
<li>Hardware buttons (Sound volume buttons, DVD button and playback control buttons)</li>
<li>Memory card slot (tried Memory Stick Pro)</li>
<li>Infra-red remote</li>
<li>Microphones on the screen</li>
<li>Web cam (To use the webcam select the V4L2 as the video driver in your selected application. I tested this with Ekiga)</li>
</ul>
<h3>Display Drivers(NVidia)</h3>
<p>For installing the display drivers System -&gt; Administration -&gt; Restricted Drivers Manager. Click on the Nvidia accelerated graphics driver checkbox. The drivers should be installed automatically.</p>
<h3>Touchscreen</h3>
<p>This is the most tricky bit. With my previous installation I spent many days making this work. And I was hoping that this time it would take less time. <s>I still have to calibrate the touch screen and I will be able to do that later in the evening. In the meantime here are the steps that I followed to get it running and some notes that I had from last time. The basic steps are given in this post.<br />
<a href="http://ubuntuforums.org/showpost.php?p=2792971&#038;postcount=16">http://ubuntuforums.org/showpost.php?p=2792971&#038;postcount=16</a></s></p>
<p>Edit: The touchscreen works perfectly and is very easy to setup based on this post by waspbr on the ubuntu forums<br />
<a href="http://ubuntuforums.org/showpost.php?p=4197376&#038;postcount=542">http://ubuntuforums.org/showpost.php?p=4197376&#038;postcount=542</a></p>
<h3>External Display</h3>
<p>I tried connecting my laptop to a projector. The standard System -> Administration -> Screens and Graphics did not work for me. I then installed nvidia-settings.</p>
<pre>
sudo apt-get install nvidia-settings
</pre>
<p>After installing you can launch the application by typing &#8220;nvidia-settings&#8221; in the shell. This seems to work well at the moment and I was able to connect to an external display.</p>
<h3>Things I did not try</h3>
<ul>
<li>Getting the remaining buttons on the panel to work</li>
<li>Internal modem</li>
</ul>
<p>That&#8217;s it for the moment. Hope it helps save time for others with a similar setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codepencil.com/index.php/installing-ubuntu-gutsy-gibbon-on-my-hp-tx1003au-laptop/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
	</channel>
</rss>
