{"id":1569,"date":"2018-10-24T17:52:13","date_gmt":"2018-10-24T17:52:13","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=1569"},"modified":"2018-10-25T02:18:24","modified_gmt":"2018-10-25T02:18:24","slug":"how-to-update-firmware-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/24\/how-to-update-firmware-on-ubuntu-18-04\/","title":{"rendered":"How to Update Firmware on Ubuntu 18.04"},"content":{"rendered":"<p>Usually, the default software center in Ubuntu and other Linux handle the update of the firmware of your system. But if you encounter errors with it, you can use fwupd command line tool for updating the firmware of your system.<\/p>\n<p>I use <a href=\"https:\/\/itsfoss.com\/dell-xps-13-ubuntu-review\/\" target=\"_blank\" rel=\"noopener\">Dell XPS 13 Ubuntu edition<\/a> as my main operating system. I have done a fresh <a href=\"https:\/\/itsfoss.com\/install-ubuntu-dual-boot-mode-windows\/\" target=\"_blank\" rel=\"noopener\">installation of Ubuntu 18.04<\/a> on it and I cannot be happier with the hardware compatibility. Bluetooth, external USB headsets and speakers, multi-monitor, everything works out of the box.<\/p>\n<p>The one thing that troubled me was one of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Firmware\" target=\"_blank\" rel=\"noopener\">firmware<\/a> updates that appeared in the Software Center.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/4bds6hergc-flywheel.netdna-ssl.com\/wp-content\/uploads\/2018\/08\/ubuntu-firmware-update-error-1.png\" alt=\"Updating firmware in Ubuntu\" \/><\/p>\n<p>Clicking on the Update button resulted in an error a few seconds later.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/4bds6hergc-flywheel.netdna-ssl.com\/wp-content\/uploads\/2018\/08\/ubuntu-firmware-update-error-2.jpg\" alt=\"Updating firmware in Ubuntu\" \/><\/p>\n<p>The error message was:<\/p>\n<p><em>Unable to update \u201cThunderbolt NVM for Xps Notebook 9360\u201d: could not detect device after update: timed out while waiting for device<\/em><\/p>\n<p>In this quick tip, I\u2019ll show you how to update the firmware of your system in <a href=\"https:\/\/www.ubuntu.com\/\" target=\"_blank\" rel=\"noopener\">Ubuntu<\/a>.<\/p>\n<h2>Updating firmware in Ubuntu 18.04<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/4bds6hergc-flywheel.netdna-ssl.com\/wp-content\/uploads\/2018\/08\/update-firmware-ubuntu.png\" alt=\"How to update firmware in Ubuntu\" \/><\/p>\n<p>One thing you should know that GNOME Software i.e. the software center in Ubuntu 18.04 is also capable of updating the firmware. But in situations when it fails for some reason, you can use the command line tool fwupd.<\/p>\n<p><a href=\"https:\/\/fwupd.org\/\" target=\"_blank\" rel=\"noopener\">fwupd<\/a> is an open source daemon that handles firmware upgrades in Linux based systems. It is created by GNOME developer <a href=\"https:\/\/github.com\/hughsie\/fwupd\" target=\"_blank\" rel=\"noopener\">Richard Hughes<\/a>. Developers from Dell also contributed to the development of this open source tool.<\/p>\n<p>Basically, it utilizes the LVFS, Linux Vendor Firmware Service. Hardware vendors upload redistributable firmware to the LVFS site and thanks to fwupd, you can upgrade those firmware from inside the operating system itself. fwupd is supported by major Linux distributions like Ubuntu and Fedora.<\/p>\n<h3>Step 1: Check if your system is supported by LVFS<\/h3>\n<p>Since LVFS depends upon hardware vendors, it\u2019s a good idea to check if your system manufacturer supports this feature or not.<\/p>\n<p>Find out your system model and then go to this web page and see if it\u2019s listed:<\/p>\n<h3>Step 2: Using fwupd for updating fimrware<\/h3>\n<p>Normally, fwupd should already be installed on your Linux system. If not, install it using the package manager of your distribution.<\/p>\n<p>Open a terminal and update your system first (commands applicable for Debian and Ubuntu-based distributions):<\/p>\n<p>sudo apt update &amp;&amp; sudo apt upgrade -y<\/p>\n<p>After that you can use the following commands one by one to start the daemon, refresh the list of available firmware updates and install the firmware updates.<\/p>\n<p>sudo service fwupd start<\/p>\n<p>Once the daemon is running, check if there are any firmware updates available.<\/p>\n<p>sudo fwupdmgr refresh<\/p>\n<p>The output should look like this:<\/p>\n<p>Fetching metadata https:\/\/cdn.fwupd.org\/downloads\/firmware.xml.gz<br \/>\nDownloading\u2026 [****************************]<br \/>\nFetching signature https:\/\/cdn.fwupd.org\/downloads\/firmware.xml.gz.asc<\/p>\n<p>After this, run the firmware update:<\/p>\n<p>sudo fwupdmgr update<\/p>\n<p>The output of the firmware update could be similar to this:<\/p>\n<p>No upgrades for XPS 13 9360 TPM 2.0, current is 1.3.1.0: 1.3.1.0=same<br \/>\nNo upgrades for XPS 13 9360 System Firmware, current is 0.2.8.1: 0.2.8.1=same, 0.2.7.1=older, 0.2.6.2=older, 0.2.5.1=older, 0.2.4.2=older, 0.2.3.1=older, 0.2.2.1=older, 0.2.1.0=older, 0.1.3.7=older, 0.1.3.5=older, 0.1.3.2=older, 0.1.2.3=older<br \/>\nDownloading 21.00 for XPS13 9360 Thunderbolt Controller\u2026<br \/>\nUpdating 21.00 on XPS13 9360 Thunderbolt Controller\u2026<br \/>\nDecompressing\u2026 [***********]<br \/>\nAuthenticating\u2026 [***********]<br \/>\nRestarting device\u2026 [***********]<\/p>\n<p>This should handle the firmware update in Ubuntu 18.04. I hope this quick tip helped you with firmware updates in Linux.<\/p>\n<p>If you have questions or suggestions, please feel free to use the comment section below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/20749c268f5d3e4d2c785499eb6a17c0?s=70&amp;d=mm&amp;r=g\" alt=\"\" width=\"70\" height=\"70\" \/><\/p>\n<h4>About Abhishek Prakash<\/h4>\n<p>I am a professional software developer, and founder of It&#8217;s FOSS. I am an avid Linux lover and Open Source enthusiast. I use Ubuntu and believe in sharing knowledge. Apart from Linux, I love classic detective mysteries. I&#8217;m a huge fan of Agatha Christie&#8217;s work.<\/p>\n<p><a href=\"https:\/\/itsfoss.com\/update-firmware-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usually, the default software center in Ubuntu and other Linux handle the update of the firmware of your system. But if you encounter errors with it, you can use fwupd command line tool for updating the firmware of your system. I use Dell XPS 13 Ubuntu edition as my main operating system. I have done &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/24\/how-to-update-firmware-on-ubuntu-18-04\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Update Firmware on Ubuntu 18.04&#8221;<\/span><\/a><\/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-1569","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=1569"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1569\/revisions"}],"predecessor-version":[{"id":1627,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1569\/revisions\/1627"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=1569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=1569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=1569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}