<?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>Timo Kluck</title>
	<atom:link href="http://www.infty.nl/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.infty.nl/wordpress</link>
	<description></description>
	<lastBuildDate>Tue, 13 Mar 2012 15:49:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Patches for the Ralink RT3090 linux driver</title>
		<link>http://www.infty.nl/wordpress/2011/09/patches-for-the-ralink-rt3090-linux-driver/</link>
		<comments>http://www.infty.nl/wordpress/2011/09/patches-for-the-ralink-rt3090-linux-driver/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 22:15:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.infty.nl/wordpress/?p=94</guid>
		<description><![CDATA[The ralink drivers from their website don&#8217;t compile against current Ubuntu kernels. I&#8217;ve prepared some patches for a friend (I don&#8217;t actually have this hardware myself, so I haven&#8217;t really tested this!). You can find them below; they can be &#8230; <a href="http://www.infty.nl/wordpress/2011/09/patches-for-the-ralink-rt3090-linux-driver/">Lees verder <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.ralinktech.com/support.php?s=2">ralink drivers from their website</a> don&#8217;t compile against current Ubuntu kernels. I&#8217;ve prepared some patches for a friend (I don&#8217;t actually have this hardware myself, so I haven&#8217;t really tested this!). You can find them below; they can be re-distributed freely.</p>
<p>Please be aware that I know nothing about wireless hardware, so anything may go wrong when you use this code. I cannot give any guarantees.</p>
<p>Here&#8217;s a patch if you want to compile their driver against the Natty kernel 2.6.38:</p>
<pre>=== modified file 'os/linux/cfg80211.c'
--- os/linux/cfg80211.c    2011-09-23 23:00:46 +0000
+++ os/linux/cfg80211.c    2011-09-23 23:01:08 +0000
@@ -675,7 +675,7 @@
 */
 static int CFG80211_TxPwrSet(
     IN struct wiphy                        *pWiphy,
-    IN enum tx_power_setting            Type,
+    IN enum nl80211_tx_power_setting            Type,
     IN int                                dBm)
 {
     return -EOPNOTSUPP;</pre>
<p>Here&#8217;s an addititional patch if you want to compile it against the Oneiric kernel 3.0.0 (note that you need BOTH of the patches for oneiric):</p>
<pre>=== modified file 'os/linux/cfg80211.c'
--- os/linux/cfg80211.c    2011-09-23 23:01:08 +0000
+++ os/linux/cfg80211.c    2011-09-23 23:10:47 +0000
@@ -2059,7 +2059,7 @@
         pChan-&gt;band = IEEE80211_BAND_2GHZ;
     /* End of if */
 
-    pChan-&gt;center_freq = ieee80211_channel_to_frequency(ChanId);
+    pChan-&gt;center_freq = ieee80211_channel_to_frequency(ChanId, pChan-&gt;band);
 
 #if (LINUX_VERSION_CODE &lt; KERNEL_VERSION(2,6,32))
     if (pAd-&gt;CommonCfg.PhyMode &gt;= PHY_11ABGN_MIXED)
@@ -2620,7 +2620,8 @@
     for(IdLoop=0; IdLoop&lt;NumOfChan; IdLoop++)
     {
         pChannels[IdLoop].center_freq = \
-                    ieee80211_channel_to_frequency(Cfg80211_Chan[IdLoop]);
+                    ieee80211_channel_to_frequency(Cfg80211_Chan[IdLoop],
+                               (IdLoop&lt;CFG80211_NUM_OF_CHAN_2GHZ)?IEEE80211_BAND_2GHZ:IEEE80211_BAND_5GHZ);
         pChannels[IdLoop].hw_value = IdLoop;
 
         if (IdLoop &lt; CFG80211_NUM_OF_CHAN_2GHZ)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.infty.nl/wordpress/2011/09/patches-for-the-ralink-rt3090-linux-driver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu on HP Touchsmart tm2 &#8211; updated info</title>
		<link>http://www.infty.nl/wordpress/2011/01/ubuntu-on-hp-touchsmart-tm2-updated-info/</link>
		<comments>http://www.infty.nl/wordpress/2011/01/ubuntu-on-hp-touchsmart-tm2-updated-info/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 16:18:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.infty.nl/wordpress/?p=88</guid>
		<description><![CDATA[I described my early experience with the HP Touchsmart tm2 &#8211; 2000ed in my earlier post. Here&#8217;s some updated info: since my last post, a lot of Linux developer&#8217;s have made the experience even more pleasant. Graphics drivers Ubuntu Maverick &#8230; <a href="http://www.infty.nl/wordpress/2011/01/ubuntu-on-hp-touchsmart-tm2-updated-info/">Lees verder <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p>I described my early experience with the HP Touchsmart tm2 &#8211; 2000ed in my earlier post. Here&#8217;s some updated info: since my last post, a lot of Linux developer&#8217;s have made the experience even more pleasant.</p>
<h2>Graphics drivers</h2>
<p>Ubuntu Maverick has some issues because the two graphics devices interfere with each other. It turns out to be very easy to turn the Radeon driver off at startup:</p>
<pre>echo blacklist radeon | sudo tee /etc/modprobe.d/blacklist-radeon.conf
sudo update-initramfs -u</pre>
<p>Alternatively, you could install all packages from the <a href="https://launchpad.net/~xorg-edgers/+archive/radeon/">Radeon xorg-edgers ppa</a>. Their new xserver-xorg-video-ati version does not seem to have these problems. You will also notice that it works a lot faster with 3d applications (I tested with flightgear). It says on the lauchpad page that you need a 2.6.36 kernel for this to work, but for me it is running fine on stock Maverick 2.6.35. Caution: this driver is still under heavy development. For example, my external monitor does not work and there&#8217;s problems with material shaders in flightgear.</p>
<h2>Backlight bug</h2>
<p>There&#8217;s still a bug that sometimes the backlight does not come on when you start your computer. Here&#8217;s the <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/580225">bugreport</a>. In the comments to my last post, Mike noted that you can just close and open the lid, and the backlight comes back on.</p>
<h2>Trackpad multi-touch</h2>
<p>Install the synaptics-dkms (version 1.1.1) package from <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/308191">this bugreport</a>. The clickpad button will still not work, but at least you have second and third mousebuttons with two and three finger taps.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.infty.nl/wordpress/2011/01/ubuntu-on-hp-touchsmart-tm2-updated-info/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu on HP Touchsmart tm2</title>
		<link>http://www.infty.nl/wordpress/2010/10/ubuntu-on-hp-touchsmart-tm2/</link>
		<comments>http://www.infty.nl/wordpress/2010/10/ubuntu-on-hp-touchsmart-tm2/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 20:07:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.infty.nl/wordpress/?p=67</guid>
		<description><![CDATA[Update January 10, 2011: Read my latest post for some updates. Encouraged by this post I recently bought HP&#8217;s tablet PC the &#8220;touchsmart tm2-2000&#8243; and installed Maverick on it. The support has been improved since Brian&#8217;s post so I thought &#8230; <a href="http://www.infty.nl/wordpress/2010/10/ubuntu-on-hp-touchsmart-tm2/">Lees verder <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>Update January 10, 2011: Read my <a href="http://www.infty.nl/wordpress/2011/01/ubuntu-on-hp-touchsmart-tm2-updated-info/">latest post</a> for some updates.</p></blockquote>
<p>Encouraged by <a href="http://www.murraytwins.com/blog/?p=65">this post</a> I recently bought HP&#8217;s tablet PC the &#8220;touchsmart tm2-2000&#8243; and installed Maverick on it. The support has been improved since Brian&#8217;s post so I thought I&#8217;d share my experience.</p>
<p>The biggest improvement is that touch, multi-touch and the pen now work out of the box. The only thing that is a bit awkward is that when you rotate the screen display, the touch and pen input forget to rotate along. I made a small program that monitors screen rotation and rotates these input devices accordingly. I hope that others can benefit so here&#8217;s install instructions (type the following into a terminal):</p>
<pre>sudo add-apt-repository ppa:tkluck/ppa
sudo apt-get update
sudo apt-get install wacomrotator</pre>
<p>There&#8217;s still a bug that sometimes the backlight does not come on when you start your computer. That&#8217;s pretty bad because the screen is really unreadable when the backlight is off. Here&#8217;s the <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/580225">bugreport</a>. My workaround for now is to rotate the screen when this happens; for some reason this makes the backlight come on.</p>
<p>Another thing I noticed was that the pen input seemed to be shaky when you have closed the lid with the screen in front (&#8216;tablet mode&#8217;). It turns out that the back of the screen accidently triggers the touchpad. You can just disable the touchpad to work around this. Actually, the script above already does this when you rotate the screen display (because I only and always rotate the display when going into tablet mode).</p>
<p>Also, multi-touch on the trackpad does not work out of the box. You can tweak the settings of the Synaptics driver to do this. Put the following in /etc/X11/xorg.conf.d/50-two-finger-scroll-touchsmart-tm2.conf</p>
<pre>Section "InputClass"
   Identifier "enable synaptics SHMConfig" 
   MatchIsTouchpad "on"  
   MatchDevicePath "/dev/input/event*"
   Driver "synaptics"
   Option "SHMConfig" "on"
   Option "EmulateTwoFingerMinW" "5"
   Option "EmulateTwoFingerMinZ" "60"
   Option "VertTwoFingerScroll" "1"
   Option "HorizTwoFingerScroll" "1"
EndSection</pre>
<p>(I got these tips from this <a href="https://bugs.launchpad.net/bugs/582809">bugreport</a>). The driver seems to forget these settings once in a while; I think gnome-settings-mouse interferes. If I found out what to do about it, I&#8217;ll edit here. For now, I just type this into a command line whenever scrolling stops working:</p>
<pre>synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1</pre>
<p>Maverick now ships with the vga_switcheroo module compiled into the kernel. That means that you can actually choose whether you want to use the ATi or the Intel videocard. The drivers for the latter seem to work better, so I chose that one. I put the line</p>
<pre>echo OFF &gt; /sys/kernel/debug/vgaswitcheroo/switch</pre>
<p>into /etc/rc.local to turn of the ATi card. That saves a lot of battery!</p>
<p>What you should most definitely do is install Xournal (it&#8217;s in the Ubuntu Software Center) by Denis Auroux. It is a note-taking application that lets you write in a notebook with the pen. There&#8217;s also a very useful patch by Rumen Zarev that gives you the option to ignore touch. Of course Ubuntu always ignores touch when the pen is near the screen, but you also don&#8217;t want to draw accidental lines when you rest your hand on the screen. I put a patched package into my ppa:</p>
<pre>sudo add-apt-repository ppa:tkluck/ppa
sudo apt-get update
sudo apt-get install xournal</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.infty.nl/wordpress/2010/10/ubuntu-on-hp-touchsmart-tm2/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

