X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/def66d11806eecd1d87785c0dcc8af188ceb2834..3e80010264ccf09861646d1d95c8c14747c2223d:/blog/index.rss
diff --git a/blog/index.rss b/blog/index.rss
index 29e6eb7ff7..03f49979ee 100644
--- a/blog/index.rss
+++ b/blog/index.rss
@@ -6,6 +6,71 @@
http://people.skolelinux.org/pere/blog/
+
+ Automatically locate and install required firmware packages on Debian (Isenkram 0.4)
+ http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html
+ http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html
+ Tue, 25 Jun 2013 11:50:00 +0200
+ <p>It annoys me when the computer fail to do automatically what it is
+perfectly capable of, and I have to do it manually to get things
+working. One such task is to find out what firmware packages are
+needed to get the hardware on my computer working. Most often this
+affect the wifi card, but some times it even affect the RAID
+controller or the ethernet card. Today I pushed version 0.4 of the
+<a href="http://packages.qa.debian.org/isenkram">Isenkram package</a>
+including a new script isenkram-autoinstall-firmware handling the
+process of asking all the loaded kernel modules what firmware files
+they want, find debian packages providing these files and install the
+debian packages. Here is a test run on my laptop:</p>
+
+<p><pre>
+# isenkram-autoinstall-firmware
+info: kernel drivers requested extra firmware: ipw2200-bss.fw ipw2200-ibss.fw ipw2200-sniffer.fw
+info: fetching http://http.debian.net/debian/dists/squeeze/Contents-i386.gz
+info: locating packages with the requested firmware files
+info: Updating APT sources after adding non-free APT source
+info: trying to install firmware-ipw2x00
+firmware-ipw2x00
+firmware-ipw2x00
+Preconfiguring packages ...
+Selecting previously deselected package firmware-ipw2x00.
+(Reading database ... 259727 files and directories currently installed.)
+Unpacking firmware-ipw2x00 (from .../firmware-ipw2x00_0.28+squeeze1_all.deb) ...
+Setting up firmware-ipw2x00 (0.28+squeeze1) ...
+#
+</pre></p>
+
+<p>When all the requested firmware is present, a simple message is
+printed instead:</p>
+
+<p><pre>
+# isenkram-autoinstall-firmware
+info: did not find any firmware files requested by loaded kernel modules. exiting
+#
+</pre></p>
+
+<p>It could use some polish, but it is already working well and saving
+me for time when setting up new machines. :)</p>
+
+<p>So, how does it work? It look at the set of currently loaded
+kernel modules, and look up each one of them using modinfo, to find
+the firmware files listed in the module meta-information. Next, it
+download the Contents file from a nearby APT mirror, and search for
+the firmware files in this file to locate the package with the
+requested firmware file. If the package is in the non-free section, a
+non-free APT source is added and the package is installed using
+<tt>apt-get install</tt>. The end result is a slightly better working
+machine.</p>
+
+<p>I hope someone find time to implement a more polished version of
+this script as part of the hw-detect debian-installer module, to
+finally fix <a href="http://bugs.debian.org/655507">BTS report
+#655507</a>. There really is no need to insert USB sticks with
+firmware during a PXE install when the packages already are available
+from the nearby Debian mirror.</p>
+
+
+
The value of a good distro wide test suite...
http://people.skolelinux.org/pere/blog/The_value_of_a_good_distro_wide_test_suite___.html
@@ -912,53 +977,5 @@ debian-edu@</a>.</p>
-
- How to install Linux on a Packard Bell Easynote LV preinstalled with Windows 8
- http://people.skolelinux.org/pere/blog/How_to_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8.html
- http://people.skolelinux.org/pere/blog/How_to_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8.html
- Mon, 27 May 2013 15:20:00 +0200
- <p>Two days ago, I asked
-<a href="http://people.skolelinux.org/pere/blog/How_can_I_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8_.html">how
-I could install Linux on a Packard Bell EasyNote LV computer
-preinstalled with Windows 8</a>. I found a solution, but am horrified
-with the obstacles put in the way of Linux users on a laptop with UEFI
-and Windows 8.</p>
-
-<p>I never found out if the cause of my problems were the use of UEFI
-secure booting or fast boot. I suspect fast boot was the problem,
-causing the firmware to boot directly from HD without considering any
-key presses and alternative devices, but do not know UEFI settings
-enough to tell.</p>
-
-<p>There is no way to install Linux on the machine in question without
-opening the box and disconnecting the hard drive! This is as far as I
-can tell, the only way to get access to the firmware setup menu
-without accepting the Windows 8 license agreement. I am told (and
-found description on how to) that it is possible to configure the
-firmware setup once booted into Windows 8. But as I believe the terms
-of that agreement are completely unacceptable, accepting the license
-was never an alternative. I do not enter agreements I do not intend
-to follow.</p>
-
-<p>I feared I had to return the laptops and ask for a refund, and
-waste many hours on this, but luckily there was a way to get it to
-work. But I would not recommend it to anyone planning to run Linux on
-it, and I have become sceptical to Windows 8 certified laptops. Is
-this the way Linux will be forced out of the market place, by making
-it close to impossible for "normal" users to install Linux without
-accepting the Microsoft Windows license terms? Or at least not
-without risking to loose the warranty?</p>
-
-<p>I've updated the
-<a href="http://www.linlap.com/packard_bell_easynote_lv">Linux Laptop
-wiki page for Packard Bell EasyNote LV</a>, to ensure the next person
-do not have to struggle as much as I did to get Linux into the
-machine.</p>
-
-<p>Thanks to Bob Rosbag, Florian Weimer, Philipp Kern, Ben Hutching,
-Michael Tokarev and others for feedback and ideas.</p>
-
-
-