From 7eda4bc2604c986e8c17922dc04c58f61eda09dc Mon Sep 17 00:00:00 2001 From: coelner Date: Wed, 21 Jun 2023 22:00:44 +0200 Subject: [PATCH] minor --- 20230620203156.md | 11 +++++++ archlinux.md | 7 +++-- lenovo_L13YOGA_G2_AMD.md | 68 +++++++++++++++++++++++++++++++++++++++- outdoor-things.md | 6 ++++ 4 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 20230620203156.md create mode 100644 outdoor-things.md diff --git a/20230620203156.md b/20230620203156.md new file mode 100644 index 0000000..4ec820a --- /dev/null +++ b/20230620203156.md @@ -0,0 +1,11 @@ +## ZBS243 electronic shelf label + +### ref +- https://github.com/jjwbruijn/OpenEPaperLink +- https://github.com/atc1441/ZBS_Flasher3 + + +## hardware +1. ESP32 + ≥ 4Mb PSRAM + 2. ELS ZBS243 as 802.15.4 modem connected to the ESP32 +3. multiple ELSs with flashed firmware \ No newline at end of file diff --git a/archlinux.md b/archlinux.md index 3315e08..7dc446f 100644 --- a/archlinux.md +++ b/archlinux.md @@ -15,6 +15,9 @@ journalctl --disk-usage && journalctl --vacuum-size={size}M ``` or prepare the file`/etc/systemd/journald.conf` and this value:`SystemMaxUse=50M` +#### update AUR packages after library change +`yay -S $(pacman -Qoq /usr/lib/python3.9) --answerclean All` + ## archinstall #### preinstalled software ``` @@ -55,11 +58,11 @@ sudo mkinitcpio -p linux - reboot the system to check if anything is broken - add secureboot https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Implementing_Secure_Boot - systemd-enroll tpm2 - - WARNING! do not delete slo0 + - WARNING! do not delete slot0 - call `systemd-cryptenroll --tpm2-device=auto --tpm2-with-pin=yes /dev/nvme0n1p2` - add to cmdline `rd.luks.options=tpm2-device=auto,tpm2-pin=yes` - regenerate unified kernel image `mkinitcpio -p linux` - - check `sbctl verify` and resign + - check `sbctl verify` and resign `sbctl sign -s/boot/EFI/....` - reboot and pray - enable pcsc.socket diff --git a/lenovo_L13YOGA_G2_AMD.md b/lenovo_L13YOGA_G2_AMD.md index 076f61c..89db69d 100644 --- a/lenovo_L13YOGA_G2_AMD.md +++ b/lenovo_L13YOGA_G2_AMD.md @@ -15,4 +15,70 @@ My own system: https://linux-hardware.org/?probe=6dfbd97685 1. keyboard backlight https://wiki.archlinux.org/title/Keyboard_backlight#On_GNOME 2. keyboard FN keys 3. bluetooth daemon disabled by default -4. touchscreen not detected - suddenly then it appears - and again gone \ No newline at end of file +4. touchscreen not detected - suddenly then it appears - and again gone It's a bug: The Touchscreen is labelled as Smartcard, not as something related. + +##### fwupdmgr +there is a security overview, but however: +``` +fwupdmgr security --show-all + +Not enough data was provided by the platform to make an HSI calculation. + » https://fwupd.github.io/hsi.html#not-enough-info +``` +It is mostly a problem for the mainboard vendor. However they need to recompile the UEFI. Some rumours say that this is only possible on amd with ryzen 6000 and onwards. +``` +dmesg | grep -i -e DMAR -e psp -e IOMMU +[ 0.435340] iommu: Default domain type: Translated +[ 0.435340] iommu: DMA domain TLB invalidation policy: lazy mode +[ 0.456937] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported +[ 0.456979] pci 0000:00:01.0: Adding to iommu group 0 +[ 0.456999] pci 0000:00:02.0: Adding to iommu group 1 +[ 0.457006] pci 0000:00:02.1: Adding to iommu group 2 +[ 0.457014] pci 0000:00:02.3: Adding to iommu group 3 +[ 0.457021] pci 0000:00:02.4: Adding to iommu group 4 +[ 0.457028] pci 0000:00:02.6: Adding to iommu group 5 +[ 0.457038] pci 0000:00:08.0: Adding to iommu group 6 +[ 0.457045] pci 0000:00:08.1: Adding to iommu group 7 +[ 0.457055] pci 0000:00:14.0: Adding to iommu group 8 +[ 0.457060] pci 0000:00:14.3: Adding to iommu group 8 +[ 0.457079] pci 0000:00:18.0: Adding to iommu group 9 +[ 0.457086] pci 0000:00:18.1: Adding to iommu group 9 +[ 0.457092] pci 0000:00:18.2: Adding to iommu group 9 +[ 0.457098] pci 0000:00:18.3: Adding to iommu group 9 +[ 0.457104] pci 0000:00:18.4: Adding to iommu group 9 +[ 0.457110] pci 0000:00:18.5: Adding to iommu group 9 +[ 0.457116] pci 0000:00:18.6: Adding to iommu group 9 +[ 0.457122] pci 0000:00:18.7: Adding to iommu group 9 +[ 0.457129] pci 0000:01:00.0: Adding to iommu group 10 +[ 0.457141] pci 0000:03:00.0: Adding to iommu group 11 +[ 0.457149] pci 0000:04:00.0: Adding to iommu group 12 +[ 0.457156] pci 0000:06:00.0: Adding to iommu group 13 +[ 0.457175] pci 0000:07:00.0: Adding to iommu group 14 +[ 0.457183] pci 0000:07:00.1: Adding to iommu group 15 +[ 0.457192] pci 0000:07:00.2: Adding to iommu group 16 +[ 0.457200] pci 0000:07:00.3: Adding to iommu group 17 +[ 0.457207] pci 0000:07:00.4: Adding to iommu group 18 +[ 0.457216] pci 0000:07:00.5: Adding to iommu group 19 +[ 0.457224] pci 0000:07:00.6: Adding to iommu group 20 +[ 0.457232] pci 0000:07:00.7: Adding to iommu group 21 +[ 0.458758] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40 +[ 0.470476] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank). +[ 0.505045] AMD-Vi: AMD IOMMUv2 loaded and initialized +[ 0.797460] ccp 0000:07:00.2: psp enabled +[ 13.321751] [drm] add ip block number 3 +[ 13.370488] [drm] Loading DMUB firmware via PSP: version=0x01010024 +[ 13.371020] amdgpu 0000:07:00.0: amdgpu: Will use PSP to load VCN firmware +[ 14.100023] [drm] reserve 0x400000 from 0xf43f800000 for PSP TMR +[ 4850.068564] [drm] PSP is resuming... +[ 4850.798318] [drm] reserve 0x400000 from 0xf43f800000 for PSP TMR +[ 4855.002274] pci 0000:03:00.1: Adding to iommu group 11 +[ 4855.002614] pci 0000:03:00.2: Adding to iommu group 11 +[ 4855.002904] pci 0000:03:00.3: Adding to iommu group 11 +[ 4855.003219] pci 0000:03:00.4: Adding to iommu group 11 + +dmesg | grep -i ccp +[ 0.786786] ccp 0000:07:00.2: enabling device (0000 -> 0002) +[ 0.787316] ccp 0000:07:00.2: ccp: unable to access the device: you might be running a broken BIOS. +[ 0.797456] ccp 0000:07:00.2: tee enabled +[ 0.797460] ccp 0000:07:00.2: psp enabled +``` \ No newline at end of file diff --git a/outdoor-things.md b/outdoor-things.md new file mode 100644 index 0000000..422a44c --- /dev/null +++ b/outdoor-things.md @@ -0,0 +1,6 @@ +## Outdoor + +### emergency tracking aka Personal Locator Beacon PLB +use the 406MHz MEOSAR service or GPS SAR service +- ACR ResQLink View Modell PLB-4XX +- motorola defy satellite link \ No newline at end of file