nix-community / hardware-mnt-reform

NixOS overrides for the MNT Reform laptop [maintainer=@jollheef]
https://mntre.com
17 stars 2 forks source link

Black screen on the encryption password input #8

Open jollheef opened 2 years ago

jollheef commented 2 years ago

Right now on the latest stable kernel (Linux v5.17.6) encryption password needs to be typed blindly. However, it was worked before with Linux v5.7.19.

jollheef commented 2 years ago

Workaround:

  boot.initrd.luks.devices."nix".preOpenCommands = ''
    wait_target "oled" /dev/hidraw0
    echo "xOLED$(printf '%-84s' 'Enter password:')" >/dev/hidraw0
  '';
  boot.initrd.luks.devices."nix".postOpenCommands = ''
    echo "xOLED$(printf '%-84s' ' ')" >/dev/hidraw0
  '';
MDr164 commented 2 years ago

I guess this issue still exists? I followed the instruction in the readme but on reboot screen remains fully black. But even typing in the password at some point does not make a difference. UART also seems to not yield any output whatsoever. Are the instructions still up-to-date?

EDIT: The UART just had a loose wire, the output reveals that I'm running into #10 as well.