Hello! This is my first question here - well, that might indicate that Garuda works really fine. But I finally run into an issue I failed to solve myself. If this is in the wrong catecory and should be in "Unsuppored Software (AUR & other)" feel free to move it there (if possible).
I got a new detachable 2-in-1 device (Shift13mi) with a touch screen and a Bluetooth keyboard.
I installed Garuda (Garuda KDE Dr460nized) with full disk encryption (FDE).
Now I have got the problem that I always need an USB keyboard to decrypt LUKS.
It would be nice if I could use the touch screen with an on-screen keyboard/virtual keyboard like "osk-sdl" to enter the passphrase.
So I installed "osk-sdl" from AUR and read the additional instructions from GitHub - ShapeShifter499/osk-sdl_arch: Getting osk-sdl working to help decrypt tablets and other touchscreen enabled devices running x86_64 bit Arch Linux as well. So I edited the HOOKS line in /etc/mkinitcpio.conf:
HOOKS="base udev autodetect modconf block keyboard keymap consolefont osk-sdl plymouth encrypt openswap resume filesystems grub-btrfs-overlayfs"
(I also added hid_multitouch to MODULES in order to get the touch screen running)
And I did a
sudo mkinitcpio -P
to update the initramfs.
Then I ideed get an the onscreen keyboard (OSK) - but only after Grub. But the LUKS decryption is before grub.
I also tested different positions in the HOOKS line (beween udev and filesystem), which always lead to the same result.
Has anyone an idea how to get an OSK for LUKS decryption in that early stage of the boot process?
Is /etc/mkinitcpio.conf even the right place to include that? It seems that everything I include in the HOOKS line works only after LUKS encryption.
And additionally: Might there be a way to get a bluetooth keyboard running for LUKS encryption? (I already tried mkinitcpio-bluetooth and mkinitcpio-wifi; it seems the BT controller is bundled with the wifi controller.)
Thanks in advance for any support.
My output from garuda-inxi:
garuda-inxi
System:
Kernel: 6.0.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=605283d8-010b-46a7-941f-2b47ba1f14e7
rw rootflags=subvol=@ quiet
cryptdevice=UUID=7d3d3b17-e19b-4057-8fb6-3bcbc8fada45:luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45
root=/dev/mapper/luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45 quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0
resume=/dev/mapper/luks-47fbec8a-e654-4427-a68c-8d7057c7e828 loglevel=3
Console: pty pts/1 DM: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Detachable System: SHIFT product: SHIFT13mi v: N/A serial: <filter>
Mobo: SHIFT model: SHIFT13mi-pcb v: B5 serial: <filter> UEFI: American Megatrends LLC.
v: 5.19 date: 03/05/2022
Battery:
ID-1: BAT0 charge: 49.8 Wh (92.4%) condition: 53.9/53.9 Wh (100.0%) volts: 12.7 min: 11.6
model: Intel SR 1 SR Real Battery type: Unknown serial: <filter> status: discharging
CPU:
Info: model: 11th Gen Intel Core i5-1135G7 socket: U3E1 bits: 64 type: MT MCP arch: Tiger Lake
gen: core 11 level: v4 note: check built: 2020 process: Intel 10nm family: 6
model-id: 0x8C (140) stepping: 1 microcode: 0xA4
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 320 KiB desc: d-4x48
KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 1802 high: 2400 min/max: 400/4200 base/boost: 2400/4200 scaling:
driver: intel_pstate governor: powersave volts: 0.7 V ext-clock: 100 MHz cores: 1: 766 2: 2400
3: 2400 4: 2400 5: 2400 6: 2400 7: 982 8: 668 bogomips: 38707
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW
sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel arch: Gen-12.1
process: Intel 10nm built: 2020-21 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5,
HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: Orbbec 3D USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-5:2
chip-ID: 2bc5:051e class-ID: 0102 serial: <filter>
Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.4 compositor: kwin_x11 driver:
X: loaded: modesetting alternate: fbdev,intel,vesa dri: iris gpu: i915 tty: 153x29
Monitor-1: eDP-1 model: BOE Display 0x08dd built: 2019 res: 1920x1080 dpi: 166 gamma: 1.2
size: 294x165mm (11.57x6.5") diag: 337mm (13.3") ratio: 16:9 modes: 1920x1080
Message: GL data unavailable in console for root.
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel v: kernel bus-ID: 3-5:2
alternate: snd_sof_pci_intel_tgl chip-ID: 2bc5:051e bus-ID: 00:1f.3 class-ID: 0102
chip-ID: 8086:a0c8 class-ID: 0403 serial: <filter>
Device-2: Orbbec 3D USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
Sound API: ALSA v: k6.0.2-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: ad:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp173s0 state: up mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:5
chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 265.09 GiB (27.8%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lexar model: SSD NM6A1 1TB size: 953.87 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: V1.25D temp: 27.9 C scheme: GPT
SMART: yes health: PASSED on: 34 hrs cycles: 76 read-units: 284,047 [145 GB]
written-units: 1,258,430 [644 GB]
Partition:
ID-1: / raw-size: 919.37 GiB size: 919.37 GiB (100.00%) used: 265.09 GiB (28.8%) fs: btrfs
block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
mapped: luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 752 KiB (0.2%) fs: vfat
block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 919.37 GiB size: 919.37 GiB (100.00%) used: 265.09 GiB (28.8%)
fs: btrfs block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
mapped: luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45
ID-4: /var/log raw-size: 919.37 GiB size: 919.37 GiB (100.00%) used: 265.09 GiB (28.8%)
fs: btrfs block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
mapped: luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45
ID-5: /var/tmp raw-size: 919.37 GiB size: 919.37 GiB (100.00%) used: 265.09 GiB (28.8%)
fs: btrfs block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
mapped: luks-7d3d3b17-e19b-4057-8fb6-3bcbc8fada45
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.09 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.19 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-1
maj-min: 254:1 mapped: luks-47fbec8a-e654-4427-a68c-8d7057c7e828
Sensors:
System Temperatures: cpu: 22.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 344 Uptime: 2h 52m wakeups: 3 Memory: 31.09 GiB used: 2.53 GiB (8.1%) Init: systemd
v: 251 default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman
pkgs: 1459 libs: 363 tools: octopi,pamac,paru,yay Shell: Zsh (sudo) v: 5.9 running-in: pty
pts/1 (SSH) inxi: 3.3.22
Garuda (2.6.9-1):
System install date: 2022-10-26
Last full system update: 2022-10-27
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units: systemd-networkd-wait-online.service