{"id":1384,"date":"2010-01-01T21:06:09","date_gmt":"2010-01-01T20:06:09","guid":{"rendered":"https:\/\/www.tomfotherby.com\/blog\/?p=1384"},"modified":"2010-10-23T17:44:12","modified_gmt":"2010-10-23T16:44:12","slug":"ubuntu-9-10-on-a-sony-vaio-vgn-ar51e","status":"publish","type":"post","link":"https:\/\/www.tomfotherby.com\/blog\/index.php\/2010\/01\/ubuntu-9-10-on-a-sony-vaio-vgn-ar51e\/","title":{"rendered":"Ubuntu 9.10 on a Sony Vaio VGN-AR51E"},"content":{"rendered":"<p><a href=\"http:\/\/www.ubuntu.com\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.tomfotherby.com\/blog\/wp-content\/uploads\/2010\/01\/Karmic_Koala.jpg?resize=200%2C161&#038;ssl=1\" alt=\"\" title=\"Karmic_Koala\" width=\"200\" height=\"161\" class=\"alignright size-full wp-image-1400\" \/><\/a><br \/>\nI recommend the new Ubuntu 9.10 release (Karmic Koala), it works well on a Sony VGN-AR51E.<\/p>\n<p><strong>Karmic Goods:<\/strong><\/p>\n<ul>\n<li>It includes a new piece of software called &#8220;Ubuntu One&#8221;:\n<ul>\n<li>Ubuntu One currently gives you 2GB of free cloud storage via a folder called &#8220;Ubuntu One&#8221; in your home directory or via a URL (<a href=\"https:\/\/one.ubuntu.com\/\">https:\/\/one.ubuntu.com\/<\/a>).\n<li>Ubuntu One allows you to sync your <a href=\"http:\/\/projects.gnome.org\/tomboy\/\">Tomboy<\/a> notes between PCs &#8211; see this setup tutorial: <a href=\"https:\/\/wiki.ubuntu.com\/UbuntuOne\/Tutorials\/Notes\">https:\/\/wiki.ubuntu.com\/UbuntuOne\/Tutorials\/Notes<\/a>\n<li>Ubuntu One allows you to sync your <a href=\"http:\/\/projects.gnome.org\/evolution\/\">Evolution<\/a> contacts between PCs &#8211; seet his setup tutorial: <a href=\"https:\/\/wiki.ubuntu.com\/UbuntuOne\/Tutorials\/Contacts\">https:\/\/wiki.ubuntu.com\/UbuntuOne\/Tutorials\/Contacts<\/a>\n<\/ul>\n<li>The Desktop icons have been improved and now use a vector format (i.e. svg instead of png). I was able to use my own icons, created in inkscape, very easily.\n<li>Updated software. Firefox was updated from version 3.0.11 to 3.5 which is faster, supports the video and audio tags and has a private browsing mode. <a href=\"http:\/\/www.geany.org\/\">Geany<\/a> was updated from version 0.17 to 0.18 which handles long filenames better in the Documents pane. Meld has been updated from version 1.2 to 1.3.0 which has better search functionality and no longer seems to lose it&#8217;s scroll synchronisation when the window loses focus. The kernel was updated from 2.6.28 to 2.6.31.\n<li>The headphone and microphone sockets now work. So does the DVD eject button on the laptop chassis. Only the 2 user programmable buttons and AV-mode keys still do nothing.\n<\/ul>\n<p><strong>Karmic Bads:<\/strong><\/p>\n<ul>\n<li> Startup and shutdown seems slower! This is odd seeing as it uses newer startup software called <a href=\"http:\/\/upstart.ubuntu.com\/\">Upstart<\/a> that is supposed to be faster! I even installed Grub 2 via <a href=\"https:\/\/wiki.ubuntu.com\/Grub2\">https:\/\/wiki.ubuntu.com\/Grub2<\/a> but it didn&#8217;t help.\n<ul>\n<li>At shutdown I sometimes get an error: &#8220;CIFS VFS: server not responding&#8221; which hangs the system sometimes for a while. This is because I have mounted Samba shares in \/etc\/fstab and when using Wireless, Ubuntu tries to unmount Samba shares after shutting down network services. The bug tracking number is <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/network-manager\/+bug\/211631?comments=all\">#211631<\/a>.<\/li>\n<\/ul>\n<li> The webcam (<em>MotionEye &#8211; Ricoh USB r5u870<\/em>) didn&#8217;t work after the upgrade: <em>\/dev\/video0<\/em> no longer existed!\n<\/ul>\n<h3>Fixing the webcam:<\/h3>\n<p>The Sony VGN-AR51E laptop comes with a integrated Ricoh webcam. The webcam model number is <strong>05ca:1839<\/strong> as seen via:<\/p>\n<pre>\r\n<code>\r\n> lsusb\r\nBus 001 Device 002: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]\r\n<\/code>\r\n<\/pre>\n<p>Current kernel info:<\/p>\n<pre>\r\n<code>\r\n> uname -a\r\nLinux psyduck 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU\/Linux\r\n<\/code>\r\n<\/pre>\n<p>Useful commands and logs that give info about the problem:<\/p>\n<pre>\r\n<code>\r\n> dmesg | less  (or less \/var\/log\/kern.log)\r\n[   19.367070] uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1839)\r\n[   19.367573] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.\r\n[   19.367786] uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26).\r\n[   19.367789] uvcvideo: Failed to initialize the device (-5).\r\n[   19.367824] usbcore: registered new interface driver uvcvideo\r\n[   19.367828] USB Video Class driver (v0.1.0)\r\n<\/code>\r\n<\/pre>\n<p>The problem seems to be that the webcam drivers were not packaged for Ubuntu 9.10. In the previous version (Ubuntu 9.04) the webcam used the <strong>r5u870<\/strong> V4L2 driver but it was deprecated and replaced in Karmic by a kernel module called <strong>R5U87x<\/strong>. <strong>R5U87x<\/strong> should be better because it is a set of userland tools that loads the firmware for all <acronym title=\"USB Video Class\">UVC<\/acronym> compliant devices and makes them work with a more standard <a href=\"http:\/\/linux-uvc.berlios.de\/\">uvcvideo<\/a> driver. Unfortunately, the <strong>R5U87x<\/strong> tools were not packaged in time for Karmic because the firmware images contained in the package didn&#8217;t have a suitable license to allow redistribution. i.e. the original working <strong>r5u870<\/strong> driver was not packaged but nor was the newer <strong>R5U87x<\/strong> driver! This is all documented in <a href=\"https:\/\/bugs.edge.launchpad.net\/ubuntu\/+bug\/120434\">Bug 120434<\/a>.<\/p>\n<p>Current (<em>Dec\/09<\/em>) fix:<\/p>\n<ul>\n<li><a href=\"https:\/\/launchpad.net\/~jurenka\">David Jarenkas<\/a> has created <a href=\"https:\/\/launchpad.net\/~r5u87x-loader\">r5u87x-loader<\/a> (which doesn&#8217;t contain any non-free pieces) to load the webcam drivers. Add the following Personal Package Archives (PPA) to your sources list:\n<pre>\r\n<code>\r\nsudo emacs -nw \/etc\/apt\/sources.list\r\nadd:\r\ndeb http:\/\/ppa.launchpad.net\/r5u87x-loader\/ppa\/ubuntu karmic main\r\ndeb-src http:\/\/ppa.launchpad.net\/r5u87x-loader\/ppa\/ubuntu karmic main\r\n<\/code>\r\n<\/pre>\n<\/ul>\n<li>Add necessary encryption keys needed for software download:\n<pre>\r\n<code>\r\ngpg --keyserver keyserver.ubuntu.com --recv 9711AB5F\r\ngpg --export --armor 9711AB5F | sudo apt-key add -\r\n<\/code>\r\n<\/pre>\n<li>\n<pre>sudo apt-get update<\/pre>\n<li>\n<pre>sudo apt-get install r5u87x<\/pre>\n<li>Now run the script that will download the necessary webcam firmware:\n<pre>sudo \/usr\/share\/r5u87x\/r5u87x-download-firmware.sh<\/pre>\n<li>Test with a application such as Cheese (or gstreamer-properties or xawtv or skype).\n<\/ul>\n<p>In Skype, audio works but video still doesn&#8217;t until you add yourself to the &#8220;video&#8221; group (the file permissions of \/dev\/video* is group read and writtable for the &#8220;video&#8221; group):<\/p>\n<pre>\r\n<code>\r\nsudo usermod -a -G video tom\r\n<\/code>\r\n<\/pre>\n<h3>Other tweaks:<\/h3>\n<p>The Ubuntu splash screen is nice but I prefer to see what the computer is doing. To turn off the splash screen do:<\/p>\n<ul>\n<li>\n<pre>sudo emacs -nw \/etc\/default\/grub<\/pre>\n<p> and change<\/p>\n<pre>\r\n<code>\r\nGRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"\r\nto\r\nGRUB_CMDLINE_LINUX_DEFAULT=\"\"\r\n<\/code>\r\n<\/pre>\n<li>Update grub:\n<pre>sudo update-grub2<\/pre>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I recommend the new Ubuntu 9.10 release (Karmic Koala), it works well on a Sony VGN-AR51E. Karmic Goods: It includes a new piece of software called &#8220;Ubuntu One&#8221;: Ubuntu One currently gives you 2GB of free cloud storage via a folder called &#8220;Ubuntu One&#8221; in your home directory or via a URL (https:\/\/one.ubuntu.com\/). Ubuntu One [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[26],"class_list":["post-1384","post","type-post","status-publish","format-standard","hentry","category-techjournal","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1384"}],"version-history":[{"count":24,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1384\/revisions"}],"predecessor-version":[{"id":1453,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1384\/revisions\/1453"}],"wp:attachment":[{"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tomfotherby.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}