From 663275c972a99c30f3312372bac2fd3704bf4694 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 25 Jun 2013 09:42:50 +0000 Subject: [PATCH] Add description. --- blog/data/2013-06-25-isenkram-firmware.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/blog/data/2013-06-25-isenkram-firmware.txt b/blog/data/2013-06-25-isenkram-firmware.txt index 206a229be4..345932f6fb 100644 --- a/blog/data/2013-06-25-isenkram-firmware.txt +++ b/blog/data/2013-06-25-isenkram-firmware.txt @@ -43,6 +43,16 @@ info: did not find any firmware files requested by loaded kernel modules. exiti

It could use some polish, but it is already working well and saving me for time when setting up new machines. :)

+

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 +apt-get install. The end result is a slightly better working +machine.

+

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 BTS report -- 2.47.2