diff --git a/usr/bin/archboot-detect-vconsole.sh b/usr/bin/archboot-detect-vconsole.sh index 272c67ad4..eeed7f3ea 100755 --- a/usr/bin/archboot-detect-vconsole.sh +++ b/usr/bin/archboot-detect-vconsole.sh @@ -5,7 +5,7 @@ # by Tobias Powalowski # # wait for modules to initialize cmompletely -udevadm settle +udevadm trigger -w -s drm # get screen setting mode from /sys _FB_SIZE="$(sed -e 's#.*:##g' -e 's#x.*##g' /sys/class/graphics/fb0/modes 2>/dev/null)" if [[ "${_FB_SIZE}" -gt '1900' ]]; then diff --git a/usr/lib/archboot/cpio/init.sh b/usr/lib/archboot/cpio/init.sh index 35bfe9b73..2362c8918 100755 --- a/usr/lib/archboot/cpio/init.sh +++ b/usr/lib/archboot/cpio/init.sh @@ -126,7 +126,7 @@ for i in cdrom usb-storage zram zstd; do modprobe -q "${i}" done # take care of builtin drm modules -udevadm settle +udevadm -w -s drm # get screen setting mode from /sys _FB_SIZE="$(sed -e 's#.*:##g' -e 's#x.*##g' /sys/class/graphics/fb0/modes 2>/dev/null)" if [[ "${_FB_SIZE}" -gt '1900' ]]; then