Du bist nicht angemeldet.
Also ich weiß jetzt, dass die Tastatureingaben angenommen werden, aber erst wirklich abgesendet werden, sobald ich den kleinen "ECO-Button" drücke. Ich denke, es ist eine Energieeinstellung des Laptops, die das ganze verhindert. Ich habe aber noch keine Option gefunden, diese zu deaktivieren oder anders einzustellen.
Ja das ist auf einer separaten Partition, die automatisch eingebunden wird und nicht schreibgeschützt ist.
Hast du /boot auf einer separaten Partition und ist diese gemountet, wenn du das initramfs neu generierst?
Weder das eine noch das andere bringt hier eine Lösung
oder mal mit der initramfs-linux-fallback.img Booten
Entferne Mal autodetect aus den Hooks. Geht es dann?
Selbst dir Entertaste funktioniert nicht. Somit bekomme ich nicht einmal ein falsches Passwort. Die Hooks habe ich auf einem anderen System genauso konfiguriert und da klappt alles (selbst das richtige Layout).
Manchmal sehe ich, nachdem ich das Passwort mit der externen Tastatur eingegeben habe, Teile des Textes bzw. Passwortes nach dem weiteren Laden des Systems im Prompt.
Man sollte vielleicht noch wissen, dass die Hooks vom Ende nach vorne abarbeitet werden.
In meinem Beispiel wird zuerst fsck bearbeitet danach lvm2 danach encrypt danach... bis als Letztes base.Auszug aus der manpage mkinitcpio:
ABOUT RUNTIME HOOKS Runtime hooks added to the image via the add_runscript function from an install hook are able to provide extra functionality during early userspace. Specific functions in these files will run at different times. A hook can define one or more of these. At each hook point, hooks are run in the order that they are defined in the HOOKS variable, except for cleanup hooks which are run in reverse.
Das ist Blödsinn und du hast selbst zitiert, was korrekt ist.
Die Hooks werden von links nach rechts, wie definiert abgearbeitet. Nur die Cleanup-Routinen werden andersherum ausgeführt.
D.h. konkret bei
HOOKS=(A B C)
werden folgende Routinen, falls vorhanden, aufgerufen:
A.run_hook()
B.run_hook()
C.run_hook()
C.run_cleanuphook()
B.run_cleanuphook()
A.run_cleanuphook()
Ich habe meine root und home-Partition ebenfalls verschlüsselt, meine-Hooks-Einträge der mkinitcpio.conf sehen so aus:
HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)
Den Hook keyboard vor autodetect zu ziehen war schonmal eine gute Idee. Anderherum kann es dazu führen, dass letzterer ersteren rausschmeißt. Was bedeutet denn konkret "streiken"? Kannst du bei der Passwortabfrage des encrypt Hooks die Eingabetaste drücken, sodass dir angezeigt wird, dass ein falsches Passwort eingegeben wurde? Falls ja, solltest du vor dem Hook keyboard noch keymap einfügen.
Ich weiß nur, dass es in dieser Reihenfolge in der Hooks funktioniert:
HOOKS="base udev autodetect modconf keyboard keymap block encrypt lvm2 filesystems fsck"
Nachtrag:
Man sollte vielleicht noch wissen, dass die Hooks vom Ende nach vorne abarbeitet werden.
In meinem Beispiel wird zuerst fsck bearbeitet danach lvm2 danach encrypt danach... bis als Letztes base.
Auszug aus der manpage mkinitcpio:
ABOUT RUNTIME HOOKS
Runtime hooks added to the image via the add_runscript function from an
install hook are able to provide extra functionality during early
userspace. Specific functions in these files will run at different
times. A hook can define one or more of these. At each hook point,
hooks are run in the order that they are defined in the HOOKS variable,
except for cleanup hooks which are run in reverse.
Hallo Leute,
ich habe hier ein kurioses Phänomen mit meinem verschlüsseltem Fujitsu E556 Notebook.
Die Tastatur ist beim Start (grub) noch benutzbar. Sobald es aber an die Passworteingabe geht, streikt das Keyboard. Nur extern angeschlossene USB-Tastaturen werden erkannt.
Ich habe bereits die mkinitcpio.conf angepasst, jedoch funktioniert es nicht.
die mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=(ext4 i915 atkbd)
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=()
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
#HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
HOOKS=(base udev keyboard autodetect modconf keymap consolefont block encrypt lvm2 filesystems resume fsck shutdown)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
Im fertig geladenen Linux funktioniert die Tastatur problemfrei. Treiber habe ich (hoffentlich) in die initramfs hinzugefügt. Ich denke, dass ich gerade etwas übersehe.
Ausgabe lsmod
Module Size Used by
tun 57344 2
rfcomm 49152 16
8021q 36864 0
garp 16384 1 8021q
mrp 20480 1 8021q
ccm 20480 6
ebtable_filter 16384 0
ebtables 36864 1 ebtable_filter
ip6table_filter 16384 0
ip6_tables 32768 1 ip6table_filter
xt_conntrack 16384 1
xt_MASQUERADE 16384 1
nf_conntrack_netlink 53248 0
nfnetlink 16384 2 nf_conntrack_netlink
xfrm_user 40960 1
xfrm_algo 16384 1 xfrm_user
xt_addrtype 16384 2
iptable_nat 16384 1
nf_nat 49152 2 iptable_nat,xt_MASQUERADE
nf_conntrack 147456 4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6 16384 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 2 nf_conntrack,nf_nat
br_netfilter 28672 0
bridge 204800 1 br_netfilter
stp 16384 2 bridge,garp
llc 16384 3 bridge,stp,garp
overlay 114688 0
cmac 16384 3
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 32768 6 algif_hash,algif_skcipher
bnep 20480 2
iptable_filter 16384 1
nls_iso8859_1 16384 1
nls_cp437 20480 1
vfat 24576 1
fat 86016 1 vfat
iwlmvm 311296 0
snd_soc_skl 143360 0
snd_soc_sst_ipc 16384 1 snd_soc_skl
snd_hda_codec_hdmi 57344 1
snd_soc_sst_dsp 20480 1 snd_soc_skl
mac80211 577536 1 iwlmvm
snd_hda_ext_core 28672 1 snd_soc_skl
snd_soc_acpi_intel_match 32768 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_soc_core 233472 1 snd_soc_skl
snd_compress 20480 1 snd_soc_core
libarc4 16384 1 mac80211
intel_rapl_msr 16384 0
snd_hda_codec_realtek 122880 1
ac97_bus 16384 1 snd_soc_core
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
iwlwifi 286720 1 iwlmvm
intel_rapl_common 24576 1 intel_rapl_msr
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 36864 3
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_intel_dspcfg 24576 2 snd_hda_intel,snd_soc_skl
btusb 53248 0
coretemp 16384 0
snd_hda_codec 143360 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
btrtl 16384 1 btusb
btbcm 16384 1 btusb
kvm_intel 286720 0
btintel 28672 1 btusb
snd_hda_core 86016 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
cfg80211 409600 3 iwlmvm,iwlwifi,mac80211
bluetooth 417792 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_hwdep 16384 1 snd_hda_codec
mei_hdcp 20480 0
kvm 528384 1 kvm_intel
snd_pcm 122880 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
irqbypass 16384 1 kvm
intel_cstate 16384 0
intel_uncore 147456 0
mousedev 24576 0
joydev 24576 0
snd_timer 36864 1 snd_pcm
e1000e 225280 0
iTCO_wdt 16384 0
intel_rapl_perf 16384 0
intel_wmi_thunderbolt 16384 0
tpm_crb 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
ecdh_generic 16384 2 bluetooth
pcspkr 16384 0
input_leds 16384 0
snd 94208 16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
psmouse 159744 0
tpm_tis 16384 0
ecc 36864 1 ecdh_generic
tpm_tis_core 20480 1 tpm_tis
rfkill 28672 8 bluetooth,cfg80211
soundcore 16384 1 snd
mei_me 24576 1
intel_xhci_usb_role_switch 16384 0
roles 16384 1 intel_xhci_usb_role_switch
mei 77824 3 mei_hdcp,mei_me
tpm 65536 3 tpm_tis,tpm_crb,tpm_tis_core
evdev 20480 36
fujitsu_laptop 24576 0
ac 16384 0
rng_core 16384 1 tpm
sparse_keymap 16384 1 fujitsu_laptop
zram 36864 1
sg 40960 0
crypto_user 16384 0
ip_tables 32768 2 iptable_filter,iptable_nat
x_tables 49152 8 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_addrtype,ip6_tables,ip_tables,xt_MASQUERADE
dm_crypt 40960 1
dm_mod 147456 11 dm_crypt
sr_mod 28672 0
sd_mod 53248 4
cdrom 40960 1 sr_mod
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
rtsx_pci_sdmmc 20480 0
mmc_core 143360 1 rtsx_pci_sdmmc
aesni_intel 368640 10
ahci 40960 3
crypto_simd 16384 1 aesni_intel
libahci 45056 1 ahci
xhci_pci 16384 0
cryptd 24576 4 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
libata 253952 2 libahci,ahci
xhci_hcd 139264 1 xhci_pci
rtsx_pci 69632 1 rtsx_pci_sdmmc
scsi_mod 221184 4 sd_mod,libata,sg,sr_mod
wmi 32768 1 intel_wmi_thunderbolt
battery 20480 0
serio_raw 16384 0
i8042 32768 0
i2c_i801 32768 0
usbhid 53248 0
hid_generic 16384 0
hid 102400 2 usbhid,hid_generic
atkbd 32768 0
libps2 16384 2 atkbd,psmouse
serio 28672 9 serio_raw,atkbd,psmouse,i8042
mac_hid 16384 0
i915 2134016 61
intel_gtt 24576 1 i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 229376 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 512000 22 drm_kms_helper,i915
agpgart 53248 2 intel_gtt,drm
ext4 524288 3
crc32c_generic 16384 0
crc32c_intel 24576 7
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 98304 1 ext4
Für Ideen wäre ich sehr dankbar.
Grüße