[Christian Meyer]
> I used to run isenkram-autoinstall-firmware without any worries.
> On my Lenovo ThinkPad 10 tablet (with Intel Atom processor) this
> installs raspi-firmware. This is unexpected.

Indeed.

Note, isenkram-lookup and isenkram-autoinstall-firmware use two
different approaches, so the output from the former can be ignored when
debugging isenkram-autoinstall-firmware.

The isenkram-autoinstall-firmware script fetches output from the kernel
log using dmesg, looking for lines containing "firmware: failed to
load", extracting the name of the file a kernel driver wanted to load.
This list of files are then looked up in a list of files and their
packages extracted from the Debian archive, using the same data set
searched by apt-file.

So to understand why isenkram-autoinstall-firmware want to install
raspi-firmware I recommend first running this command to locate the
drivers and their requested firmware files:

  sudo dmesg | grep "firmware: failed to load"

Next, for each requested file, run

  apt-file search {filename}

and see which package contain the firmware file in question.

To increase performance, and avoid a dependency on apt-file in
isenkram-cli, there is a cache of all firmware->package mappings in
/usr/share/isenkram/, this is extracted from the Debian archive when
isenkram is uploaded, and might be out of date if some firmware package
changed since the upload.  You might also want to look for the firmware
file listed there, if apt-file search turn up nothing.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to