{"id":607,"date":"2012-05-29T20:38:17","date_gmt":"2012-05-29T18:38:17","guid":{"rendered":"http:\/\/katastrophos.net\/andre\/blog\/?p=607"},"modified":"2012-05-29T20:38:17","modified_gmt":"2012-05-29T18:38:17","slug":"installing-ubuntu-12-04-precise-pangolin-on-fujitsu-u820-u2010-u2020","status":"publish","type":"post","link":"https:\/\/katastrophos.net\/andre\/blog\/2012\/05\/29\/installing-ubuntu-12-04-precise-pangolin-on-fujitsu-u820-u2010-u2020\/","title":{"rendered":"Installing Ubuntu 12.04 (Precise Pangolin) on Fujitsu U820, U2010, U2020"},"content":{"rendered":"<p>Ubuntu 12.04 has been released almost a month ago and I thought I revive my semi-benched U2010 to see how the hardware support has improved in this new release of Ubuntu.<\/p>\n<p>First off, if you are installing Ubuntu 12.04 and are getting the dreaded black screen issue, follow the Ubuntu Wiki <a href=\"https:\/\/wiki.ubuntu.com\/HardwareSupportComponentsVideoCardsPoulsbo#PSB-GFX_drivers\" target=\"_blank\">here<\/a>. Make sure to also install the fix to get suspend\/sleep and hibernate working with the new psb_gfx driver.<br \/>\nAfter the installation you will have to make some minor adjustments to get everything working on the Fujitsu U820\/U2010:<\/p>\n<p>\/etc\/modprobe.d\/blacklist.conf<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nblacklist poulsbo\r\nblacklist fujitsu_laptop\r\n<\/pre>\n<p>The first line disables the stub driver, the second line makes sure you can actually use the backlight keys (fujitsu_laptop conflicts with the psb_gfx driver).<br \/>\n<a href=\"http:\/\/katastrophos.net\/andre\/blog\/2010\/10\/14\/installing-ubuntu-10-10-maverick-meerkat-on-fujitsu-u820-u2010-u2020\/\" title=\"Installing Ubuntu 10.10 (Maverick Meerkat) on Fujitsu U820, U2010, U2020\">The enable_msi fix<\/a> in \/etc\/modprobe.d\/alsa-base.conf is no longer required. The sound will work just fine without it.<\/p>\n<p>To get the microphone working I had to add the following line in \/etc\/modprobe.d\/alsa-base.conf:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\noptions snd-hda-intel model=laptop-amic probe_mask=1\r\n<\/pre>\n<p>The headphone jack sensing\/detection is flacky in this new release. Switching between the headphone jack and the internal speaker will only work after the audio card goes into power-saving mode, ie. a few seconds after the last audio output closed.<\/p>\n<p>\/etc\/default\/grub:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nGRUB_CMDLINE_LINUX_DEFAULT=\"quiet console=tty1 acpi_osi=Linux acpi_backlight=vendor nmi_watchdog=0\"\r\n<\/pre>\n<p><strong>quiet console=tty1<\/strong> is the recommended workaround for the black screen issue of the new psb_gfx driver in 12.04.<br \/>\n<strong>acpi_osi=Linux acpi_backlight=vendor<\/strong> is required to get the backlight controls working.<br \/>\n<strong>nmi_watchdog=0<\/strong> disables the NMI watchdog responsible for detecting a hung system and might issue a reboot. According to Intel PowerTOP this option saves power by producing less wake-ups.<\/p>\n<p>Finally update the bootloader via:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nsudo update-grub\r\n<\/pre>\n<p><strong>2. Installing the Fujitsu Buttons driver (fjbtndrv)<\/strong><\/p>\n<p>In order to get the screen buttons 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.3.2. 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\ntar xvzf fjbtndrv-2.3.2.tar.gz\r\ncd fjbtndrv-2.3.2\r\n.\/configure\r\nmake\r\nsudo make install\r\n<\/pre>\n<p><strong>3. Calibrating the display<\/strong><\/p>\n<p>The touch screen has been supported for several kernel and Ubuntu versions already. The big problem always was the missing calibration tool. Luckily a calibration is now available in form of <strong>xinput-calibrator<\/strong>. At last special drivers are no longer required.<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nsudo apt-get install xinput-calibrator\r\nsudo mkdir -p \/etc\/X11\/xorg.conf.d\r\nxinput_calibrator\r\n<\/pre>\n<p>Calibrate the display and save the output to <strong>\/etc\/X11\/xorg.conf.d\/99-calibration.conf<\/strong><br \/>\nHere is my calibration config:<\/p>\n<pre name=\"code\" class=\"bash:nocontrols\">\r\nSection \"InputClass\"\r\n        Identifier      \"calibration\"\r\n        MatchProduct    \"Fujitsu Component USB Touch Panel\"\r\n        Option  \"Calibration\"   \"58 3877 249 3830\"\r\nEndSection\r\n<\/pre>\n<p>Known problems:<\/p>\n<ul>\n<li>Headphone jack detection does not work as expected<\/li>\n<li>System freezes when idling, but wakes up again once an interrupt is triggered (e.g. keyboard, mouse, touchscreen etc.). This mostly happens when I am simultaneously using a Bluetooth mouse or a Bluetooth Dialup connection. I have not been able to pin-point or fix the issue yet.<\/li>\n<li>Screen rotation is not working with the psb_gfx driver<\/li>\n<li><strong>Note to self:<\/strong> Newer versions of the psb_gfx driver are called gma500_gfx<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 12.04 has been released almost a month ago and I thought I revive my semi-benched U2010 to see how the hardware support has improved in this new release of Ubuntu. First off, if you are installing Ubuntu 12.04 and are getting the dreaded black screen issue, follow the Ubuntu Wiki here. Make sure to [&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":[],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/607"}],"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=607"}],"version-history":[{"count":17,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/607\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/posts\/607\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/media?parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/categories?post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katastrophos.net\/andre\/blog\/wp-json\/wp\/v2\/tags?post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}