From patchwork Wed Nov 9 21:56:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 1081 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4C39727BBEA; Wed, 9 Nov 2022 21:58:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3208427BBE9 for ; Wed, 9 Nov 2022 21:58:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ost5C-0006Am-0m; Wed, 09 Nov 2022 16:58:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ost5A-00069W-5L for guix-patches@gnu.org; Wed, 09 Nov 2022 16:58:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ost59-0004TS-SL; Wed, 09 Nov 2022 16:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ost58-0003j0-5s; Wed, 09 Nov 2022 16:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59003] [PATCH v2 0/6] [Installer] Warn about unsupported devices Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, othacehe@gnu.org, guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59003 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59003@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Florian Pelz , Mathieu Othacehe X-Debbugs-Original-Xcc: Florian Pelz , Mathieu Othacehe Received: via spool by 59003-submit@debbugs.gnu.org id=B59003.166803102514180 (code B ref 59003); Wed, 09 Nov 2022 21:58:02 +0000 Received: (at 59003) by debbugs.gnu.org; 9 Nov 2022 21:57:05 +0000 Received: from localhost ([127.0.0.1]:41180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ost4D-0003gZ-Av for submit@debbugs.gnu.org; Wed, 09 Nov 2022 16:57:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ost4C-0003fv-1M for 59003@debbugs.gnu.org; Wed, 09 Nov 2022 16:57:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ost46-00016Q-03; Wed, 09 Nov 2022 16:56:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=3/P/jvE8WJCVwG+c+3nCM2bE8DmtpcnV3DlqkfbVNOI=; b=ctkcrCUTpqTJrb3DLhE8 w7MrdO0KaSi8SaVfk5hCS3GRTx+WUR8/ACoIfWeFc+3m2yr6f/JrZymTfQ3S+RvgScsRULWKzKpB9 cVf/wns4cP8Nxl6KJLsSjlPcJ+8fe0TJDL5vwgKkmX5FhnwRFTFbpB6iI5No1gjK+0fodOAgPi6ud IgLLUbQT6Q+ozhRxHLdIi7OVwnhtEifCXpwHjan5ioBcxRU0YtwC5FLxv7vp64VB6nkrzBQ+WsW39 fuAK5kydlbbnmX2Q8xNqe3KIO7K3aqOkAicGazvbuGX2QitPhKKssHGOhBaA3J5eDKWJwyc/VemWi jNZow5Kw8s84PA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ost44-0000ES-Uo; Wed, 09 Nov 2022 16:56:57 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Wed, 9 Nov 2022 22:56:31 +0100 Message-Id: <20221109215637.22445-1-ludo@gnu.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221103191756.16265-1-ludo@gnu.org> References: <20221103191756.16265-1-ludo@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi! Here’s an updated version taking into account comments by Florian and Mathieu. Changes since v1: • Hardware-related bits moved to a new (gnu installer hardware) module. • The list in ‘%unsupported-linux-modules’ has been expanded using a manual method, as explained in the comment. I’m open to improvements in this area :-), though I think this can come later. • Typos fixed. Thoughts? Ludo’. Ludovic Courtès (6): installer: Warn about hardware support after the welcome page. linux-modules: Add support for listing PCI devices. linux-modules: Add 'load-pci-device-database'. installer: Use 'current-guix' for extensions. installer: Error page width is parameterized. installer: Report known-unsupported PCI devices. gnu/build/linux-modules.scm | 135 ++++++++++++++++++++++++++++++++- gnu/installer.scm | 8 +- gnu/installer/hardware.scm | 90 ++++++++++++++++++++++ gnu/installer/newt.scm | 4 +- gnu/installer/newt/page.scm | 12 +-- gnu/installer/newt/welcome.scm | 111 +++++++++++++++++---------- gnu/installer/record.scm | 2 +- gnu/local.mk | 1 + po/guix/POTFILES.in | 1 + 9 files changed, 310 insertions(+), 54 deletions(-) create mode 100644 gnu/installer/hardware.scm base-commit: d9ca9cdd01bf1097343a047b51a1392131c7cf58