[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59003] [PATCH 0/7] [Installer] Warn about unsupported devices
From: |
Mathieu Othacehe |
Subject: |
[bug#59003] [PATCH 0/7] [Installer] Warn about unsupported devices |
Date: |
Sat, 05 Nov 2022 21:51:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hey Ludo,
Overall, this is a very welcomed improvement :)
> -(define (check-hardware-support)
> +(define %unsupported-linux-modules
> + ;; List of Linux modules that are useless without non-free firmware.
> + '("iwlwifi"))
> +
> +(define unsupported-pci-device?
> + ;; Arrange to load the module alias database only once.
> + (let ((aliases (delay (known-module-aliases))))
> + (lambda (device)
> + "Return true if DEVICE is known to not be supported by free software."
> + (any (lambda (module)
> + (member module %unsupported-linux-modules))
> + (matching-modules (pci-device-module-alias device)
> + (force aliases))))))
> +
I feel like all the hardware related part should not be part of the
gnu/installer/newt/ directory which is intended to contain mostly
Newt/GUI related stuff.
It would also be more logical for the contributors to browse the
gnu/installer/hardware.scm file for the %unsupported-linux-modules list
than the gnu/installer/newt/welcome.scm file. This can be done as a
follow up though.
I'm currently testing this patchset on a few machines with unsupported
hardware and will report back.
Thanks for this patchset,
Mathieu
- [bug#59003] [PATCH 2/7] linux-modules: Add support for listing PCI devices., (continued)
- [bug#59003] [PATCH 3/7] linux-modules: Add 'load-pci-device-database'., Ludovic Courtès, 2022/11/03
- [bug#59003] [PATCH 6/7] installer: Report known-unsupported PCI devices., Ludovic Courtès, 2022/11/03
- [bug#59003] [PATCH 0/7] [Installer] Warn about unsupported devices,
Mathieu Othacehe <=
- [bug#59003] [PATCH 0/7] [Installer] Warn about unsupported devices, Mathieu Othacehe, 2022/11/05
- [bug#59003] [PATCH 0/7] [Installer] Warn about unsupported devices, Ludovic Courtès, 2022/11/09
[bug#59003] [PATCH 7/7] installer: Remove unused variable., Ludovic Courtès, 2022/11/03
[bug#59003] [PATCH 1/7] installer: Warn about hardware support after the welcome page., pelzflorian (Florian Pelz), 2022/11/05
[bug#59003] [PATCH v2 0/6] [Installer] Warn about unsupported devices, Ludovic Courtès, 2022/11/09