{"id":397,"date":"2010-10-14T02:17:49","date_gmt":"2010-10-14T01:17:49","guid":{"rendered":"http:\/\/katastrophos.net\/andre\/blog\/?p=397"},"modified":"2010-11-14T13:53:54","modified_gmt":"2010-11-14T12:53:54","slug":"installing-ubuntu-10-10-maverick-meerkat-on-fujitsu-u820-u2010-u2020","status":"publish","type":"post","link":"https:\/\/katastrophos.net\/andre\/blog\/2010\/10\/14\/installing-ubuntu-10-10-maverick-meerkat-on-fujitsu-u820-u2010-u2020\/","title":{"rendered":"Installing Ubuntu 10.10 (Maverick Meerkat) on Fujitsu U820, U2010, U2020"},"content":{"rendered":"<p>Here are a few notes on how to get the most important hardware of the Fujitsu U820 \/ U2010 \/ U2020 working on Ubuntu 10.10 Maverick Meerkat.<br \/>\nSome of the hints might also apply to the Fujistu U810 \/ U1010 &#8211; make sure to ignore step 1 as these devices use the GMA 950 graphics chip which is working perfectly out of the box.<\/p>\n<p><strong>1. Installing the Intel GMA 500 graphics driver<\/strong><\/p>\n<p>The Ubuntu Wiki has all the necessary information <a href=\"https:\/\/wiki.ubuntu.com\/HardwareSupportComponentsVideoCardsPoulsbo\" target=\"_blank\">here<\/a>.<\/p>\n<p>Basically one just needs to do as follows:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nsudo add-apt-repository ppa:gma500\/ppa \r\nsudo apt-get update\r\nsudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config\r\n<\/pre>\n<p><strong>UPDATE: The following step is no longer required.<\/strong><\/p>\n<p>Unfortunately the version as of this writing does not support Compiz and thus you won&#8217;t get any of the funky special effects. However, there is a workaround available as described in the <a href=\"https:\/\/wiki.ubuntu.com\/HardwareSupportComponentsVideoCardsPoulsbo\" target=\"_blank\">Ubuntu Wiki<\/a>:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nwget http:\/\/dl.dropbox.com\/u\/1338581\/poulsbo\/poulsbo-config_0.1.2%7E1004um3_all.deb\r\nsudo dpkg --install poulsbo-config_0.1.2~E1004um3_all.deb\r\nsudo apt-get install compiz\r\n<\/pre>\n<p><strong>2. Installing the Fujitsu Buttons driver (fjbtndrv)<\/strong><\/p>\n<p>In order to get the buttons and auto-rotation functionality working we will need to compile and install the latest version of <a href=\"http:\/\/sourceforge.net\/projects\/fjbtndrv\/\" target=\"_blank\">fjbtndrv<\/a>.<br \/>\nThe most current version as of this writing is 2.2.1. Please make sure you download the latest version <a href=\"http:\/\/sourceforge.net\/projects\/fjbtndrv\/\" target=\"_blank\">here<\/a>.<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nsudo apt-get install libxrandr-dev libxtst-dev libxi-dev libhal-dev\r\nwget http:\/\/sourceforge.net\/projects\/fjbtndrv\/files\/fjbtndrv\/2.2.1\/fjbtndrv-2.2.1.tar.gz\/download\r\ntar xvzf fjbtndrv-2.2.1.tar.gz\r\ncd fjbtndrv-2.2.1\r\n.\/configure\r\nmake\r\nsudo make install\r\n<\/pre>\n<p><strong>3. Installing the Fujitsu Touchscreen driver<\/strong><\/p>\n<p>The touchscreen is working somewhat with the included <a href=\"http:\/\/manpages.ubuntu.com\/manpages\/maverick\/man4\/evdev.4.html\" target=\"_blank\">evdev<\/a> driver. I could not find a way to calibrate the touch screen via xinput etc. So I went back to using <a href=\"http:\/\/spareinfo.blogspot.com\" target=\"_blank\">zmiq2<\/a>&#8216;s touch screen driver available <a href=\"http:\/\/spareinfo.blogspot.com\/2010\/07\/linux-on-fujitsu-u810-p1620-t1010.html\" target=\"_blank\">here<\/a>.<br \/>\nVersion 0.3.7 won&#8217;t compile because some important USB functions were renamed in kernel 2.6.35.<br \/>\nStraight from the <a href=\"http:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.6\/ChangeLog-2.6.35\" target=\"_blank\">kernel 2.6.35 changelog<\/a>:<\/p>\n<blockquote><p>\n    USB: rename usb_buffer_alloc() and usb_buffer_free() users<\/p>\n<p>    For more clearance what the functions actually do,<\/p>\n<p>      usb_buffer_alloc() is renamed to usb_alloc_coherent()<br \/>\n      usb_buffer_free()  is renamed to usb_free_coherent()\n<\/p><\/blockquote>\n<p>So, one either needs to patch the <em>fujitsu_usb_touchscreen.c<\/em> manually and replace every occurrence of the aforementioned function names or we just move on and use the already patched version provided by <strong>nerd65536<\/strong>. I mirrored the file he posted to the hosting service linked to in the <a href=\"http:\/\/spareinfo.blogspot.com\/2010\/07\/linux-on-fujitsu-u810-p1620-t1010.html?showComment=1286249156175#c4683695500666447902\" target=\"_blank\">comments section of zmiq&#8217;s blog post<\/a>.<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nwget http:\/\/katastrophos.net\/downloads\/fujitsu-usb-touchscreen-0.3.8.tar.gz\r\ntar xvzf fujitsu-usb-touchscreen-0.3.8.tar.gz\r\ncd fujitsu-usb-touchscreen-0.3.8\r\nmake\r\nsudo make install\r\n<\/pre>\n<p>In order to have the auto-rotation functionality of <strong>fjbtndrv<\/strong> working with the <strong>fujitsu-usb-touchscreen<\/strong> driver we need to add a new startup item: Click on <strong>System -> Preferences -> Startup Applications<\/strong> and click <strong>Add<\/strong>. Enter following<\/p>\n<pre>\r\n    Name: Fujitsu Touchscreen Auto-Rotation\r\n    Command: \/usr\/bin\/fujitsu-touchscreen-rotate.py\r\n    Comment: \r\n<\/pre>\n<p>Click <strong>Add<\/strong> and <strong>Close<\/strong> the preferences dialog.<\/p>\n<p><strong>Finally, reboot the system.<\/strong><br \/>\nEnter the BIOS and make sure that the setting <strong>Advanced -> Miscellaneous Configurations -> Touch Panel Setting<\/strong> is set to <strong>Tablet<\/strong>, ie. the same setting that is required to use the Tablet functionality in Win XP Tablet, Vista or Seven.<\/p>\n<p><strong>3.1. Calibrating the touchscreen<\/strong><\/p>\n<p>Once the system has booted and you are back on the Gnome desktop, start a Terminal session and run <\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nfujitsu_touchscreen_calibration.py\r\n<\/pre>\n<p>to calibrate the touchscreen. Click on any corner of the visible screen (repeat a few times) and press the <strong>S key<\/strong> to save the settings.<\/p>\n<p><strong>3.2. Configuring the Right-Click feature<\/strong><\/p>\n<p>In order to get the feature &#8220;<strong>right-click by press and hold<\/strong>&#8221; go to <strong>System -> Preferences -> Mouse<\/strong>, click the tab &#8220;<strong>Accessibility<\/strong>&#8221; and check the option &#8220;<strong>Trigger secondary click by holding down the primary button<\/strong>&#8220;.<\/p>\n<p><strong>4. Fixing the repeating sound issue<\/strong><\/p>\n<p>If you are experiencing the Ubuntu startup jingle repeating over and over again, the snd_hda_intel module might have problems coping with the ALC269 chip in your device. In this case run the following command:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nsudo gedit \/etc\/modprobe.d\/alsa-base.conf\r\n<\/pre>\n<p>and add the following line to the end of the file:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols:nogutter\">\r\noptions snd-hda-intel enable_msi=0\r\n<\/pre>\n<p>Save and finally reboot the system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are a few notes on how to get the most important hardware of the Fujitsu U820 \/ U2010 \/ U2020 working on Ubuntu 10.10 Maverick Meerkat. Some of the hints might also apply to the Fujistu U810 \/ U1010 &#8211; make sure to ignore step 1 as these devices use the GMA 950 graphics [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[30,51,31,4,32,11,36,35,29],"class_list":["post-397","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fujitsu-u2010","tag-fujitsu-u810","tag-fujitsu-u820","tag-gadgets","tag-hardware","tag-linux","tag-maverick-meerkat","tag-ubuntu","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/397"}],"collection":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/comments?post=397"}],"version-history":[{"count":23,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions"}],"predecessor-version":[{"id":409,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions\/409"}],"wp:attachment":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/media?parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/categories?post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/tags?post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}