diff options
| author | Mark H Weaver <mhw@netris.org> | 2016-01-22 18:29:40 -0500 |
|---|---|---|
| committer | Mark H Weaver <mhw@netris.org> | 2016-02-03 16:43:42 -0500 |
| commit | cc023e320ec9fe5adbbc8b44ddca5f853f8dad42 (patch) | |
| tree | 5fa72f566b5f0159023d51584169059570e43a67 /gnu/system/linux-initrd.scm | |
| parent | 37dd1e6a34698e5bccaf99b6681c503b1a4e5efc (diff) | |
linux-initrd: Add hid-generic and hid-apple to the default set of modules.
Fixes keyboard of MacBook2,1 during early boot, e.g. for typing a password to
mount an encrypted root partition.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add "hid-generic"
and "hid-apple".
Diffstat (limited to 'gnu/system/linux-initrd.scm')
| -rw-r--r-- | gnu/system/linux-initrd.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index b1ea637de95..37c042b5abc 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org> | ||
| 3 | ;;; | 4 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 6 | ;;; |
| @@ -179,7 +180,7 @@ loaded at boot time in the order in which they appear." | |||
| 179 | ;; Modules added to the initrd and loaded from the initrd. | 180 | ;; Modules added to the initrd and loaded from the initrd. |
| 180 | `("ahci" ;for SATA controllers | 181 | `("ahci" ;for SATA controllers |
| 181 | "usb-storage" "uas" ;for the installation image etc. | 182 | "usb-storage" "uas" ;for the installation image etc. |
| 182 | "usbhid" ;USB keyboards, for debugging | 183 | "usbhid" "hid-generic" "hid-apple" ;keyboards during early boot |
| 183 | "dm-crypt" "xts" ;for encrypted root partitions | 184 | "dm-crypt" "xts" ;for encrypted root partitions |
| 184 | ,@(if (string-match "^(x86_64|i[3-6]86)-" (%current-system)) | 185 | ,@(if (string-match "^(x86_64|i[3-6]86)-" (%current-system)) |
| 185 | '("pata_acpi" "pata_atiixp" ;for ATA controllers | 186 | '("pata_acpi" "pata_atiixp" ;for ATA controllers |
