<?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>Aleksander Skjæveland Larsen &#187; computers</title>
	<atom:link href="http://ogrim.no/tag/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://ogrim.no</link>
	<description>This is my personal webpage, where I share the tings I make</description>
	<lastBuildDate>Wed, 16 Nov 2011 20:48:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Stop Opera 11 hide URL parameters</title>
		<link>http://ogrim.no/2010/12/stop-opera-11-hide-url-parameters/</link>
		<comments>http://ogrim.no/2010/12/stop-opera-11-hide-url-parameters/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 01:19:00 +0000</pubDate>
		<dc:creator>ogrim</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[instructions]]></category>

		<guid isPermaLink="false">http://ogrim.no/?p=359</guid>
		<description><![CDATA[I love the new version of the Opera web browser. If my memory is correct (it sometimes is) I have been using Opera for about 8 years. They do like to change things up, innovate and think differently. This is often for the better, giving us new and exiting features, for instance the Speed Dial. [...]]]></description>
			<content:encoded><![CDATA[<p>I love the new version of the <a href="http://www.opera.com/">Opera</a> web browser. If my memory is correct (it sometimes is) I have been using Opera for about 8 years. They do like to change things up, innovate and think differently. This is often for the better, giving us new and exiting features, for instance the <a href="http://www.opera.com/browser/tutorials/video/speeddial/">Speed Dial</a>. They changed up a lot of things for version 11, but there is one change I did not like: hiding the URL parameters.</p>
<p>I found a solution for this problem in the opera.beta newsgroup, and it is dead simple: enter &#8220;opera:config#UserPrefs|HideURLParameter&#8221; in the address bar, uncheck the highlighted field and press save in the bottom. Done. Now URLs will not be truncated in the address bar!</p>
]]></content:encoded>
			<wfw:commentRss>http://ogrim.no/2010/12/stop-opera-11-hide-url-parameters/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Suspend problem in Ubuntu 10.10 on ASUS N73JF (and others)</title>
		<link>http://ogrim.no/2010/12/suspend-problem-in-ubuntu-10-10-on-asus-n73jf-and-others/</link>
		<comments>http://ogrim.no/2010/12/suspend-problem-in-ubuntu-10-10-on-asus-n73jf-and-others/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 02:16:27 +0000</pubDate>
		<dc:creator>ogrim</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ogrim.no/?p=348</guid>
		<description><![CDATA[Update 26th August 2011: Solution tested and working with Debian Squeeze (my new main distro). A commenter reported it works on Mint, so I guess it works on most Debian-based distros. Another commenter had success on a Gigabyte motherboard, which is very interesting indeed. After 3.5 years I finally caved in and got a new [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update 26th August 2011:</strong> <em>Solution tested and working with Debian Squeeze (my new main distro). A commenter reported it works on Mint, so I guess it works on most Debian-based distros. Another commenter had success on a Gigabyte motherboard, which is very interesting indeed.</em></p>
<p>After 3.5 years I finally caved in and got a new laptop. Screen resolution, lagging editors and general sloppyness where the major factors for ditching the old one. I have been quite pleased with the quality on my ASUS eeePC 1015PE, so I decided to go for another ASUS computer. As I am to use this machine for development, I&#8217;d like to have a large screen; the old one left me frustrated at the lack of screen estate and the crappy resolution. I therefore got me a 17,3&#8243; ASUS N73JF, with enough power to last me just as long as the old one, I hope!</p>
<p>Since the new laptop has a somewhat decent graphics card, I decided to let the Windows install it came with stay, to be used for games and the likes. I of course installed Ubuntu 10.10 64-bit right away after booting the laptop to Windows 7 to check it out. <strong>It took longer booting to the preinstalled Windows 7, than it took installing Ubuntu from scratch!</strong> In addition to this, the Windows install was defiled with crapware. No wonder people buy Macs. Enough rambling; over to the problem at hand.</p>
<p>I did encounter a problem with getting the Suspend working in Ubuntu. After checking the fantastic ubuntuforums.org, I found people with similar issues. <a href="http://ubuntuforums.org/showthread.php?t=1444822">This thread</a> holds the answers, but it seems the fix is more technical than it should be. However it will probably get included in some patch in the future.</p>
<p>At least for the N73JF, you need to create two files.</p>
<pre class="brush: bash; title: ; notranslate">
sudo touch /etc/pm/sleep.d/20_custom-ehci_hcd
sudo touch /etc/pm/sleep.d/20_custom-xhci_hcd
</pre>
<p>To open a GUI editor like gedit, with root privileges, you can use the following command:</p>
<pre class="brush: bash; title: ; notranslate">
gksudo gedit
</pre>
<p>Keep in mind this is dangerous if you edit the wrong files, so only open the ones we created with the touch-command. If you want to open the file directly, you can append the path to the filename onto the gedit command like so:</p>
<pre class="brush: bash; title: ; notranslate">
gksudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd
</pre>
<p>When you have opened the files in your favorite editor, we need to enter some scripts. In 20_custom-ehci-hcd put in:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/sh
# File: &quot;/etc/pm/sleep.d/20_custom-ehci_hcd&quot;.
TMPLIST=/tmp/ehci-dev-list

case &quot;${1}&quot; in
        hibernate|suspend)
    echo -n '' &gt; $TMPLIST
          for i in `ls /sys/bus/pci/drivers/ehci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
              # Unbind ehci_hcd for first device XXXX:XX:XX.X:
               echo -n &quot;$i&quot; | tee /sys/bus/pci/drivers/ehci_hcd/unbind
           echo &quot;$i&quot; &gt;&gt; $TMPLIST
          done
        ;;
        resume|thaw)
    for i in `cat $TMPLIST`; do
              # Bind ehci_hcd for first device XXXX:XX:XX.X:
              echo -n &quot;$i&quot; | tee /sys/bus/pci/drivers/ehci_hcd/bind
    done
    rm $TMPLIST
        ;;
esac
</pre>
<p>In 20_custom-xhci_hcd put in:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/sh
# File: &quot;/etc/pm/sleep.d/20_custom-xhci_hcd&quot;.
TMPLIST=/tmp/xhci-dev-list

case &quot;${1}&quot; in
        hibernate|suspend)
    echo -n '' &gt; $TMPLIST
          for i in `ls /sys/bus/pci/drivers/xhci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do
              # Unbind ehci_hcd for first device XXXX:XX:XX.X:
               echo -n &quot;$i&quot; | tee /sys/bus/pci/drivers/xhci_hcd/unbind
           echo &quot;$i&quot; &gt;&gt; $TMPLIST
          done
        ;;
        resume|thaw)
    for i in `cat $TMPLIST`; do
              # Bind ehci_hcd for first device XXXX:XX:XX.X:
              echo -n &quot;$i&quot; | tee /sys/bus/pci/drivers/xhci_hcd/bind
    done
    rm $TMPLIST
        ;;
esac
</pre>
<p>Now you must make these files executable with these two commands:</p>
<pre class="brush: bash; title: ; notranslate">
chmod +x /etc/pm/sleep.d/20_custom-ehci_hcd
chmod +x /etc/pm/sleep.d/20_custom-xhci_hcd
</pre>
<p>A user on the forum reported he didn&#8217;t need the extra file as proposed in the first solution. I did not test without this file, as it wasn&#8217;t working until I added the xhci-related file. I suggest you try the steps outlined here first, and attempt these last steps only if it doesn&#8217;t work.</p>
<p>Make this file:</p>
<pre class="brush: bash; title: ; notranslate">
sudo touch /etc/pm/config.d/usb3-suspend-workaround
</pre>
<p>Open the file, and put this in:</p>
<pre class="brush: bash; title: ; notranslate">
#File: &quot;/etc/pm/config.d/usb3-suspend-workaround&quot;.
SUSPEND_MODULES=&quot;xhci&quot;
</pre>
<p>He didn&#8217;t say if it needs to be executable, I&#8217;m assuming it should and that it couldn&#8217;t hurt:</p>
<pre class="brush: bash; title: ; notranslate">
chmod +x /etc/pm/config.d/usb3-suspend-workaround
</pre>
<p>I hope you get it working <img src='http://ogrim.no/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You should also check out <a href="http://ubuntuforums.org/showthread.php?t=1444822">the source for this post</a>, as pointed out earlier. The forum might contain new information, after this is published.</p>
]]></content:encoded>
			<wfw:commentRss>http://ogrim.no/2010/12/suspend-problem-in-ubuntu-10-10-on-asus-n73jf-and-others/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Star Wars: TIE Fighter</title>
		<link>http://ogrim.no/2010/10/star-wars-tie-fighter/</link>
		<comments>http://ogrim.no/2010/10/star-wars-tie-fighter/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 15:00:13 +0000</pubDate>
		<dc:creator>ogrim</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://ogrim.no/?p=333</guid>
		<description><![CDATA[The best flight simulator of all time is set in space. It was released in 1994. Upgraded in 1995, and once more in 1998. I am of course talking about TIE Fighter. The version I&#8217;m currently playing is the release from 1998, which feature the best graphics. Sadly it is missing the characteristic MIDI-soundtrack from [...]]]></description>
			<content:encoded><![CDATA[<p>The best flight simulator of all time is set in space. It was released in 1994. Upgraded in 1995, and once more in 1998. I am of course talking about <a href="http://en.wikipedia.org/wiki/Star_Wars:_TIE_Fighter">TIE Fighter</a>. The version I&#8217;m currently playing is the release from 1998, which feature the best graphics. Sadly it is missing the characteristic MIDI-soundtrack from the earlier iterations. I played the 1995 version on my family&#8217;s first computer. </p>
<p>We got a computer relatively late; it had a whopping 166 MHz (and the excellent sound card Soundblaster 2 Pro!). I largely grew up on this machine and a Sega Megadrive. After a recent trip home, my old joystick and throttle appeared. I could not resist bringing them with me, so I connected them to my Windows 98 box (I know, but I only use it for really old stuff that wont emulate properly <img src='http://ogrim.no/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Sadly the original computer where thrown away as garbage years ago (with the Soundblaster <img src='http://ogrim.no/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> ), so I had to assemble this &#8220;crappy&#8221; machine for legacy purposes such as this.</p>
<p>The game is just as awesome as I remembered.</p>
<p><img class="alignnone size-full wp-image-334" title="IMG_1867" src="http://ogrim.no/wp-content/uploads/IMG_1867.jpg" alt="" width="500" height="750" /></p>
<p><img class="alignnone size-full wp-image-335" title="IMG_1870" src="http://ogrim.no/wp-content/uploads/IMG_1870.jpg" alt="" width="500" height="352" /><br />
Pictures by my wife, <a href="http://matildeskår.no/">Matilde</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ogrim.no/2010/10/star-wars-tie-fighter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Laptop overheating and fan noise</title>
		<link>http://ogrim.no/2009/11/laptop-overheating-and-fan-noise/</link>
		<comments>http://ogrim.no/2009/11/laptop-overheating-and-fan-noise/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 11:00:41 +0000</pubDate>
		<dc:creator>ogrim</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://ogrim.no/?p=234</guid>
		<description><![CDATA[My laptop have been somewhat dodgy the past 6 months. On occasions, it has overheated and died. The dying is caused by the CPU protecting itself from meltdown. In the old days there would be a burnt smell, and then you would swear. Even though I&#8217;m grateful the laptop doesn&#8217;t get bricked when overheated, I [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop have been somewhat dodgy the past 6 months. On occasions, it has overheated and died. The dying is caused by the CPU protecting itself from meltdown. In the old days there would be a burnt smell, and then you would swear. Even though I&#8217;m grateful the laptop doesn&#8217;t get bricked when overheated, I don&#8217;t really appreciate it dying on me. Sometimes it could die in a hot room, if it the CPU utilization was high enough. Not very handy.</p>
<p>Another problem have been the noise level it have produced, even by just browsing the web. It was making louder noise than my desktop PC, which got something like 8 fans in it. My laptop have 1. I had opened it earlier too look for dust, however it seemed perfectly clean. Yesterday, I figured I should try replacing the thermal paste. So I went ahead and opened it up again.</p>
<p>I stared dismantling the fan, with the easiest parts first: a piece of tape. Under the tape, I found this:</p>
<p><img src="http://ogrim.no/wp-content/uploads/laptop_evil.jpg" alt="hidden dust in laptop CPU fan" title="laptop_evil" width="500" height="349" class="alignnone size-full wp-image-235" /></p>
<p>A thick layer of dust I had not noticed and blown out the first time I cleaned it. After removing the dust, I simply replaced the tape, closed the laptop and booted it up. No more loud noise, even under heavy load! <img src='http://ogrim.no/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The reason for the noise, was this compact layer of dust. The fan forced air trough the dust, resulting in a high pitched noise, and the fan working harder than it should. Now the air is flowing freely, and the bad sounds are gone. Happy times!</p>
]]></content:encoded>
			<wfw:commentRss>http://ogrim.no/2009/11/laptop-overheating-and-fan-noise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

