2.2. Dispositivi che richiedono firmware specifico

Oltre alla disponibilità di un driver, alcuni dispositivi richiedono anche un cosiddetto firmware o microcodice da caricare nel dispositivo prima che sia completamente operativo. Questo è molto comune per le schede di rete (in particolare i NIC wireless) ma anche alcuni dispositivi USB e alcuni controller per dischi fissi richiedono un firmware.

With many graphics cards, basic functionality is available without additional firmware, but the use of advanced features requires an appropriate firmware file to be installed in the system.

Su molti dei vecchi dispositivi che richiedono un firmware per funzionare, il firmware è memorizzato nel chip EEPROM/Flash sul dispositivo dal costruttore. Oggigiorno la maggior parte dei dispositivi non incorporano più il firmware in questo modo, il firmware deve essere caricato sul dispositivo dal sistema operativo a ogni avvio del sistema.

In most cases firmware is non-free according to the criteria used by the Debian GNU/Linux project and thus cannot be included in the main distribution. If the device driver itself is included in the distribution and if Debian GNU/Linux legally can distribute the firmware, it will often be available as a separate package from the non-free-firmware section of the archive (prior to Debian GNU/Linux 12.0: from the non-free section).

However, this does not mean that such hardware cannot be used during installation. Starting with Debian GNU/Linux 12.0, following the 2022 General Resolution about non-free firmware, official installation images can include non-free firmware packages. By default, installatore Debian will detect required firmware (based on kernel logs and modalias information), and install the relevant packages if they are found on an installation medium (e.g. on the netinst). The package manager gets automatically configured with the matching components so that those packages get security updates. This usually means that the non-free-firmware component gets enabled, in addition to main.

Users who wish to disable firmware lookup entirely can do so by setting the firmware=never boot parameter. It's an alias for the longer hw-detect/firmware-lookup=never form.

Unless firmware lookup is disabled entirely, installatore Debian still supports loading firmware files or packages containing firmware from a removable medium, such as a USB stick. See Sezione 6.4, «Caricare i firmware mancanti» for detailed information on how to load firmware files or packages during the installation. Note that installatore Debian is less likely to prompt for firmware files now that non-free firmware packages can be included on installation images.

Qualora installatore Debian richieda l'installazione di un file di firmware ma tale file non è disponibile oppure non si vuole installare un firmware non-free sul proprio sistema, è possibile continuare senza caricare il firmware. Ci sono molti casi in cui il driver richiede il firmware perché in alcune circostanze potrebbe essere necessario ma il dispositivo funziona anche senza (per esempio questo accade su alcune schede di rete con il driver tg3).