Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rel novacustom nv4x adl v0.9.1 #11

Open
wants to merge 8 commits into
base: dasharo
Choose a base branch
from
Next Next commit
ash_functions: move sleep 2 after all usb modules being loaded
Otherwise we get ehci-pci and xhci_hcd kernel messages in dmesg debug AFTER "Verifying presence of GPG card" which explains why dongle might not be found in time and fails in oem-factory-reset

Fixes Nitrokey#48

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
tlaurion authored and macpijan committed Jun 20, 2024
commit 4e34cc097a87adf0affd2c775c31616f9a146565
2 changes: 1 addition & 1 deletion initrd/etc/ash_functions
Original file line number Diff line number Diff line change
@@ -347,8 +347,8 @@ enable_usb()
if ! lsmod | grep -q xhci_pci; then
insmod /lib/modules/xhci-pci.ko \
|| die "xhci_pci: module load failed"
sleep 2
fi
sleep 2

if [ "$CONFIG_USB_KEYBOARD" = y ]; then
if ! lsmod | grep -q usbhid; then