Skip to content

Commit

Permalink
gui-init: load USB modules at startup
Browse files Browse the repository at this point in the history
ensures external USB keyboards are accessible

Signed-off-by: Matt DeVillier <[email protected]>
  • Loading branch information
MrChromebox committed Jun 25, 2019
1 parent 2686c83 commit 4a85c85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion initrd/bin/gui-init
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ update_totp()
/bin/reboot
}

# ensure /boot is sane and mount it before anything else
# enable USB to load modules for external kb
enable_usb

This comment has been minimized.

Copy link
@tlaurion

tlaurion Feb 16, 2020

Collaborator

@MrChromebox problematic for non LIBREM_KEY users. Measures should be consistent but aren't.
#603
#674

This comment has been minimized.

Copy link
@tlaurion

tlaurion Feb 17, 2020

Collaborator

@MrChromebox @kylerankin Regression confirmed for standard Heads users.

If the need is to support boards that would require USB_KEYBOARD in their board config, then this statement should be given in board config and checked here. Why all Whiptail users should have usb-modules loaded at all time? A typical Heads user only enable_usb when signing configurations to access USB SEcurity dongle and when mounting usb disks. Even LIBREM_KEY board config would not need to be checked here.

Just USB_KEYBOARD for some specific servers.


# ensure /boot is sane and mount it
mount_boot

last_half=X
Expand Down

0 comments on commit 4a85c85

Please sign in to comment.