Skip to content

CardputerZero CPZ v0.3.0

Choose a tag to compare

@jmas jmas released this 17 Nov 17:59
· 43 commits to master since this release

Highlights

  • Complete national layouts on the internal keyboard. The TCA8418 Sym layer reuses ordinary punctuation keycodes, so the old fixed ASCII overlay made Ukrainian, Russian and other layouts incomplete. cpz-layout-map now derives the XKB layout and the VT overlay from the same ckbcomp base: Sym+key types the letter that a full keyboard puts on that punctuation key (х, ї, ж, є, ґ, б, ю on Ukrainian), Shift+Sym+key gives the upper case, and the displaced ASCII punctuation moves to Shift+Sym. US/GB keep the existing punctuation table unchanged.
  • USB automount. Hard disks, sticks and card readers mount under /media/<label> when plugged in and unmount when removed. Native (ext4, btrfs, xfs), FAT, exFAT, NTFS, ISO9660 and UDF filesystems are supported; partitioned disks mount per partition, /etc/fstab entries are left to systemd, and the running system disk is refused. cpz-automount list shows what is mounted, and the paths are included in the Alt+O omnisearch.
  • Shift now works inside the Sym layer. A pinned-driver patch allows Shift to activate while the sticky Sym layer is latched, which makes the upper-case level reachable. Fn and Sym stay mutually exclusive.

Fixes and tooling

  • cpz-keyboard-layout no longer decides whether to push the layout by reading /etc/default/keyboard: Debian links /etc/vconsole.conf to it, systemd-localed replaces that link on its first write, and the two then diverge from the layout localed actually has. localectl is now always called; localed ignores an unchanged RMLVO.
  • The XKB layout and the recovery-console keymap are generated from one language-aware table, so kmscon and tty2/tty3 agree.
  • New unit tests cover the language-aware overlay (tests/test_cpz_layout_map.py) and USB automount (tests/test_cpz_automount.py); the host and image verifiers check the new wiring and the driver patch.
  • Docs: docs/CPZ-KMSCON.md describes the new layout generation and docs/CPZ-STORAGE.md covers USB storage.

Image

cardputerzero-trixie-arm64-v0.3.0.img.xz is attached by the build workflow once it finishes. Flash it with the M5 Imager or write it with xz -dc … | dd of=/dev/sdX bs=4M.

First local login: user cpz, password cpz (change it when prompted). SSH is off by default.

On a non-Latin layout, Sym+key types the extra letter; tap Sym, then hold Shift and press the key for the upper case. The ASCII symbol that used to live on that Sym position is on Shift+Sym of a punctuation key (for example, Ukrainian ! is on Shift+Sym+5).