{"id":147,"date":"2008-01-05T15:44:02","date_gmt":"2008-01-05T14:44:02","guid":{"rendered":"http:\/\/jerome.harckmans.be\/?p=147"},"modified":"2008-01-05T15:44:02","modified_gmt":"2008-01-05T14:44:02","slug":"bamboo-ubuntoou","status":"publish","type":"post","link":"https:\/\/jerome.harckmans.be\/?p=147","title":{"rendered":"Bamboo &#038; Ubuntoo Ubuntu"},"content":{"rendered":"<p>Christmas has always meant meeting with the family, laughing, telling stories, eating and drinking. But Christmas without a succession of gifts exchanges wouldn&#8217;t really be Christmas. One of the gifts I was offered this year was the new <a href=\"http:\/\/www.wacom.com\/bambootablet\/\" title=\"Wacom Bamboo\">Wacom Bamboo<\/a> graphic tablet, a piece of equipment that was still missing around my computer. Of course, before buying it on behalf of my grandma, I googled a bit to verify whether it was decently supported under Linux or not. Of course it was, and here is what you have to do to use it under Ubuntu:<\/p>\n<p>First of all, download the latest linuxwacom package from <a href=\"http:\/\/linuxwacom.sourceforge.net\/index.php\/dl\" title=\"Wacom\">their website<\/a>. The Bamboo is only supported from release 0.7.8-3 (the latest one at the time of writing this). The next step is to build the kernel module:<\/p>\n<div class=coding>\ntar xvjf linuxwacom*.tar.bz2<br \/>\ncd linuxwacom*<br \/>\n.\/configure &#8211;enable-wacom<br \/>\nmake\n<\/div>\n<p>With some luck, this will work from the first attempt, but you&#8217;ll most probably be missing some dependencies (mostly libraries).<\/p>\n<p>In my case, I had to install the following development packages:<\/p>\n<div class=coding>\nsudo apt-get install tcl8.4-dev tk8.4-dev libxi-dev\n<\/div>\n<p>You&#8217;ll maybe need more than this, but simply check the output of the configure command (here above) to see what&#8217;s missing on your system. Once it&#8217;s installed, retry to compile the module.<\/p>\n<p>After some time, you should find a <strong>&#8220;wacom.ko&#8221;<\/strong> file in the <strong>&#8220;src\/2.6.19\/&#8221;<\/strong> subdirectory. Actually, this is the kernel module we just built. To make sure everything is ok, you may want to try loading the module into the kernel. To do this, perform:<\/p>\n<div class=coding>\ncd src\/2.6.19<br \/>\nsudo \/sbin\/insmod .\/wacom.ko\n<\/div>\n<p>and check the <strong>\/var\/log\/messages<\/strong> logfile for any errors. If everything went smooth, you can replace the default wacom.ko module (not supporting the bamboo) by the freshly compiled one:<\/p>\n<div class=coding>\nsudo mv \/lib\/modules\/2.6.22-14-generic\/kernel\/drivers\/input\/tablet\/wacom.ko ~\/wacom.ko_BACKUP<br \/>\nsudo cp wacom.ko \/lib\/modules\/2.6.22-14-generic\/kernel\/drivers\/input\/tablet\/\n<\/div>\n<p>Finally, you&#8217;ll have to modify your Xorg configuration file so that it recognizes the tablet:<\/p>\n<div class=coding>\nsudo cp \/etc\/X11\/xorg.conf \/etc\/X11\/xorg.conf_BACKUP<br \/>\nsudo gedit \/etc\/X11\/xorg.conf<\/p>\n<p>add or uncomment the following:<\/p>\n<pre>\nSection \"InputDevice\"\n\tDriver\t\t\"wacom\"\n\tIdentifier\t\"stylus\"\n\tOption\t\t\"Device\"\t\"\/dev\/input\/wacom\"\n\tOption\t\t\"Type\"\t\"stylus\"\n\tOption        \t\"USB\"           \"on\"                  # USB ONLY\n\tOption\t\t\"ForceDevice\"\t\"ISDV4\"        # Tablet PC ONLY\nEndSection\n\nSection \"InputDevice\"\n\tDriver\t\t\"wacom\"\n\tIdentifier\t\"eraser\"\n\tOption\t\t\"Device\"\t\"\/dev\/input\/wacom\"\n\tOption\t\t\"Type\"\t\"eraser\"\n\tOption        \t\"USB\"           \"on\"                  # USB ONLY\n\tOption\t\t\"ForceDevice\"\t\"ISDV4\"        # Tablet PC ONLY\nEndSection\n\nSection \"InputDevice\"\n\tDriver\t\t\"wacom\"\n\tIdentifier\t\"cursor\"\n\tOption\t\t\"Device\"\t\"\/dev\/input\/wacom\"\n\tOption\t\t\"Type\"\t\"cursor\"\n\tOption        \"USB\"           \"on\"                  # USB ONLY\n\tOption\t\t\"ForceDevice\"\t\"ISDV4\"      # Tablet PC ONLY\nEndSection\n\nSection \"InputDevice\"\n  \tDriver        \"wacom\"\n  \tIdentifier    \"pad\"\n\tOption\t\t\"Device\"\t\"\/dev\/input\/wacom\"\n  \tOption        \"Type\"          \"pad\"\n  \tOption        \"USB\"           \"on\"                  # USB ONLY\nEndSection\n<\/pre>\n<\/div>\n<p>Save and exit, and reboot. Your shiny new tablet should be recognized and working perfectly. You can test the pressure sensitivity with Gimp and start drawing! Don&#8217;t forget to check the <a href=\"http:\/\/linuxwacom.sourceforge.net\/index.php\/howto\/main\" title=\"Howto\">Linux Wacom Project Howto<\/a> if you need more help!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Christmas has always meant meeting with the family, laughing, telling stories, eating and drinking. But Christmas without a succession of gifts exchanges wouldn&#8217;t really be Christmas. One of the gifts<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,6],"tags":[],"_links":{"self":[{"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=\/wp\/v2\/posts\/147"}],"collection":[{"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=147"}],"version-history":[{"count":0,"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions"}],"wp:attachment":[{"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jerome.harckmans.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}