Back to hw-detect PTS page

Accepted hw-detect 1.153 (source) into unstable



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Jan 2023 05:12:46 +0000
Source: hw-detect
Architecture: source
Version: 1.153
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Changes:
 hw-detect (1.153) unstable; urgency=medium
 .
   * Add initial support for non-free-firmware, following the 2022 General
     Resolution about non-free firmware:
      - Implement firmware lookup using Contents-firmware indices. Those
        are produced by debian-cd when including firmware packages onto
        installation images, and they make it possible to map firmware
        files requested by the kernel to firmware packages and the
        components they were found in. When performing a search in a
        directory that doesn't include such Contents-firmware index, the
        already-existing code is used as a fallback, checking the contents
        of each and every *.deb package in that directory; in that case,
        the component is deduced from the Section field of the package.
      - Add support for *.component files when installing firmware packages
        based on modalias information. Those are generated alongside the
        existing *.patterns files (built from DEP-11/AppStream metadata)
        by debian-cd when including firmware packages onto installation
        images, and make it possible to map firmware packages to the
        components they were found in.
      - Use the aforementioned mechanisms to establish a list of components
        from which firmware packages were installed, making it possible to
        enable the relevant apt-setup/$component parameters (among contrib,
        non-free, and non-free-firmware). This makes sure the package
        manager's configuration includes the right components, so that
        those firmware packages can be upgraded like any other regular
        packages.
      - The end results should be official installation images with
        packages only from main and non-free-firmware (without contrib or
        non-free which used to be present in some unofficial images
        including firmware packages), configuring the installed system with
        the main component and possibly the non-free-firmware one when some
        firmare packages are needed.
   * Add a special case for the usb module: when the module requesting
     firmware files is “usb”, search the USB bus using port and device
     information to find the underlying device and the module managing
     it. Using a Realtek-based Wi-Fi dongle connected over USB as an
     example: this makes it possible to trade “usb 4-1.5” found in dmesg
     for “rtl8192cu”. Instead of trying to unload/reload the usb and
     usbcore modules (which might not even be feasible), the relevant
     network module gets reloaded instead, which should make it request its
     firmware files again, and maybe find them if some firmware packages
     have just been installed. If the lookup fails, stick to “usb”; the
     existing link up/down dance implemented by upnics (see below) might be
     sufficient for firmware files to be requested again.
   * Tweak the upnics function, trying to stop it from killing any network
     configuration that might have been set up by users, manually or via
     preseed (with many thanks to Nicolas Dandrimont):
      - Historically, to make sure network modules request the firmware
        files they might require (this might not happen at the time the
        module is loaded), each interface is brought up and down.
      - Instead, only perform the link up/down dance for interfaces that
        aren't up already (working under the assumption that their being up
        is the result of user actions, as a previous upnics call would have
        left interfaces down) and that aren't associated with a master
        interface (that happens when bonding is configured).
   * Delete support for loading udeb firmware packages (*.udeb or *.ude
     depending on the filesystem), focus on loading regular deb firmware
     packages instead. Yes, such udeb firmware packages existed… in Etch!
   * Temporarily delete support for searching firmware on external media:
      - users have always struggled with preparing such media;
      - the lookup doesn't work sufficiently well;
      - and since non-free firmware can be included directly into official
        installation images, this feature should be much less useful
        anyway.
     A detailed rationale can be found in #1029543, feedback is welcome!
Checksums-Sha1:
 7c044642da48b9ada48a79229b6ad0a713d12516 1990 hw-detect_1.153.dsc
 9fc1528124b5cc4b567dbb7d99e2e330a026bb90 193132 hw-detect_1.153.tar.xz
 8d536d5542f43f46825b4bf8f4f96149346ea33f 5689 hw-detect_1.153_source.buildinfo
Checksums-Sha256:
 f7967cdad923df8c0093e6ecfa89123f39b3ef7f9c846651effae64afd01d4a1 1990 hw-detect_1.153.dsc
 925b797f6d3a4667b00673dd971847be6596a0c6e0a433410b78f93ff9f34f7c 193132 hw-detect_1.153.tar.xz
 04a7e4630a71e4c8d261e07cee24589c9f7e15d2c1871cbaa820353e50e1da69 5689 hw-detect_1.153_source.buildinfo
Files:
 7dc84cff2e1e6c6c2fc17e696bf5d6e6 1990 debian-installer standard hw-detect_1.153.dsc
 c30c1cf0eaa4c1e4f750839b0cabdb7b 193132 debian-installer standard hw-detect_1.153.tar.xz
 d60a5ec8d31cfcd2dd34ff59457d1d69 5689 debian-installer standard hw-detect_1.153_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmPPaTsQHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVIKN5D/4oQQjV3o1DZsZWzw+XQa0ByVt5dDgvufXZ
9bc4cJLr+419gOdWJPdmoqJoXuc/U6mMfAkcNgyHe/gyQq81x8CBHxFHCGCH1a8E
agTpBz/7YeomfPP3xvu8NLFCeNGn1zfq3u2bx8srU7eYg4PzwGJShTxDi5bK14+8
TGI1UIGvAMlPKhVjplo7r/dI/Oe0qgfbLdFLB7IyQEnA9t1+BXr3WLySUlgayI60
xrLwE0zD8CQa1CNTmaSMMo+bUAk0TxZeDeZBdxILYIbTDbr8Lu3QHim3BKzNKyej
n1B2M8sOcDMe2pknNEIAaCGgk+0xb9rV8T01Lc+vEdV1iFtpW+8CnKwdtG45Bxii
cDdbGh2xLIiHGo+tZQh3crp6crWz3BvSDY1YzyezmpYPnoyNTB5HKK9gwP3Ohg9d
g+vO8ZCQhztYLXTkptqB6B5vwZHWYkU2uQQNQTFFudnX8rtOWK4eo2GAddCINb2A
93nKB9ZSwafxHajjB9egfcknevvSYby1Bkx7l6ol/IUVxl/HEpjoN1USwfBGHHTf
7ztjAa8LtisTUPCiI1og90Nx6MWjmfKCOGEV7X+msw3Uz8T6pdH+6WzfX4bVL9c6
sB5UcdzEel8UU5IdGXmhuCTbVucPIEkPumJsScPoHQKyQsUQINLr6qu9j+Z5Xzx+
jOJdRC+Ulw==
=hXrv
-----END PGP SIGNATURE-----