Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mkinitfs mkinitfs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • mkinitfsmkinitfs
  • Merge requests
  • !113

Add USB keyboard support to init

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Dermot Bradley requested to merge dbradley/mkinitfs:support-usb-keyboard into master Nov 03, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Modern desktop machines tend to have USB rather than PS/2 keyboards. Also non-x86/x86_64 machines, such as Arm SBCs, also have USB keyboard.

The initramfs' init needs to have a working keyboard for 2 reasons: (a) in rescue mode in order to be able to type commands at the shell, and (b) when disk encryption of rootfs is used and so the passphrase to unlock the rootfs needs to be typed during boot.

As various machines may have a XHCI, or EHCI, or OHCI/UHCI USB controller, or combination of several of those types then load kernel modules for all types of USB controller as well as HID-related modules for keyboard support.

Fixes #9089, #9588, #14132.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: support-usb-keyboard