Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging

This commit is contained in:
Luxferre committed 2026-11-22 15:49:38 +02:00
1 parent 034c1f61b1
commit 9db15e30ce
150 files changed
+2356 -446

No files matched your search

+14 -12
View File
@@ -16,18 +16,19 @@ cat > /etc/apk/repositories <<EOF
https://dl-cdn.alpinelinux.org/alpine/edge/main
https://dl-cdn.alpinelinux.org/alpine/edge/community
EOF
apk add --no-cache xkbcomp setxkbmap xkeyboard-config >/dev/null
apk add --no-cache xkbcomp setxkbmap xkeyboard-config xvfb >/dev/null
cp -a /geminux-xkb/. /usr/share/X11/xkb/
cat > /tmp/gemini.xkb <<'XKB'
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete+geminux" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+planet_vndr/geminux(us)+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
XKB
xkbcomp -w 3 -I/usr/share/X11/xkb /tmp/gemini.xkb /tmp/gemini.xkm
Xvfb :99 -screen 0 640x480x24 >/dev/null 2>&1 &
XPID=$!
trap 'kill "$XPID" 2>/dev/null || true' EXIT
i=0
while [ "$i" -lt 20 ] && [ ! -S /tmp/.X11-unix/X99 ]; do
i=$((i + 1))
sleep 0.1
done
DISPLAY=:99 setxkbmap -rules evdev -model pc105 -layout 'planet_vndr/geminux' -variant us -option -option 'custom:types' -print > /tmp/gemini_rmlvo.xkb
cat /tmp/gemini_rmlvo.xkb
xkbcomp -w 3 -I/usr/share/X11/xkb /tmp/gemini_rmlvo.xkb /tmp/gemini.xkm
xkbcomp /tmp/gemini.xkm /tmp/gemini_dump.xkb
cat /tmp/gemini_dump.xkb
"""
@@ -45,7 +46,8 @@ cat /tmp/gemini_dump.xkb
checks = [
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10",
"asciitilde", "EuroSign", "Super_L", "ISO_Level3_Shift", "Mod4", "Mod5",
"GEMINUX_LALT", "GEMINUX_FN",
"GEMINUX_LALT", "GEMINUX_FN", "SetMods(modifiers=Mod4)",
'include "complete+custom"',
]
for token in checks:
assert token in dump, f"Expected '{token}' in compiled XKB dump"