Skip to content

Instantly share code, notes, and snippets.

View mbohun's full-sized avatar
🙃
How do you do?

Martin Bohun Hormann mbohun

🙃
How do you do?
  • Canberra, ACT, Australia
View GitHub Profile
[Sun Oct 22 12:38:56 2023] audit: type=1334 audit(1697938752.675:104268): prog-id=41634 op=LOAD
[Sun Oct 22 12:38:56 2023] audit: type=1334 audit(1697938752.885:104269): prog-id=41632 op=UNLOAD
[Sun Oct 22 12:38:56 2023] audit: type=1334 audit(1697938752.885:104270): prog-id=41631 op=UNLOAD
[Sun Oct 22 12:39:57 2023] do_trap: 2 callbacks suppressed
[Sun Oct 22 12:39:57 2023] pmdaroot[1694537]: unhandled signal 11 code 0x1 at 0x000000000019db49 in libc.so.6[3fb32c3000+11a000]
[Sun Oct 22 12:39:57 2023] CPU: 1 PID: 1694537 Comm: pmdaroot Tainted: G C O 5.15.131 #1
[Sun Oct 22 12:39:57 2023] Hardware name: Pine64 PineTabV (DT)
[Sun Oct 22 12:39:57 2023] epc : 0000003fb333a4f0 ra : 0000003fb3317474 sp : 0000003fe4dca550
[Sun Oct 22 12:39:57 2023] gp : 0000002ab5a04fc8 tp : 0000003fb303a280 t0 : 0000000000000020
[Sun Oct 22 12:39:57 2023] t1 : 0000000000000000 t2 : 00000000000003ff s0 : 0000003fe4dcaea0
@mbohun
mbohun / 2023-10-18_PBP_dmesg.txt
Last active October 18, 2023 03:59
PineBookPro dmesg missing bluetooth firmware patch-file?
[Mon Oct 16 18:24:10 2023] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[Mon Oct 16 18:24:10 2023] Linux version 6.5.3-1-MANJARO-ARM (builduser@Mnjro-BldSrvr-M2) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Fri Sep 15 12:28:28 UTC 2023
[Mon Oct 16 18:24:10 2023] Machine model: Pine64 Pinebook Pro
[Mon Oct 16 18:24:10 2023] efi: UEFI not found.
[Mon Oct 16 18:24:10 2023] Zone ranges:
[Mon Oct 16 18:24:10 2023] DMA [mem 0x0000000000200000-0x00000000f7ffffff]
[Mon Oct 16 18:24:10 2023] DMA32 empty
[Mon Oct 16 18:24:10 2023] Normal empty
[Mon Oct 16 18:24:10 2023] Movable zone start for each node
[Mon Oct 16 18:24:10 2023] Early memory node ranges
@mbohun
mbohun / NOTES.md
Last active October 16, 2023 08:22
PineBookPro nvme
[mbohun@mbohunpinebookpro ~]$ neofetch
██████████████████  ████████   mbohun@mbohunpinebookpro
██████████████████  ████████   ------------------------
██████████████████  ████████   OS: Manjaro ARM Linux aarch64
██████████████████  ████████   Host: Pine64 Pinebook Pro
████████            ████████   Kernel: 6.5.3-1-MANJARO-ARM
████████  ████████  ████████   Uptime: 30 mins
████████  ████████  ████████   Packages: 1079 (pacman), 8 (flatpak)
████████ ████████ ████████ Shell: bash 5.1.16
@mbohun
mbohun / NOTES.md
Created October 15, 2023 03:44
Okular certutils digital_sign
  1. create a new certificate with certutil command:
    certutil -S \
    -s "CN=[ your full name ],O= [ Business or School ],OU=[ Deparment or position ],L= [ Location ],ST=[ State ],C= [ Country code ],E= [ your email ]" \
    -g 2048 \
    -d sql:$HOME/.pki/nssdb \
    -n [ new name of certificate ] \
    -x \
    

-t "Cu,Cu,Cu" \

@mbohun
mbohun / NOTES.md
Created October 14, 2023 08:34
PineTab-V stopped charging battery when ON
pinetabv:~$ while true; do echo "`date +%Y-%m-%d_%H:%M`, `cat /sys/class/power_supply/cw2015-battery/capacity`"; sleep 120; done 
2023-10-14_18:29, 39
2023-10-14_18:31, 39
2023-10-14_18:33, 39
2023-10-14_18:35, 39
2023-10-14_18:37, 39
^C
pinetabv:~$ while true; do echo "`date +%Y-%m-%d_%H:%M`, `cat /sys/class/power_supply/cw2015-battery/status`, `cat /sys/cl
ass/power_supply/cw2015-battery/capacity`%"; sleep 120; done 
@mbohun
mbohun / NOTES.md
Last active September 23, 2023 00:23

BROKEN PineTab-V

  1. 2023-07-28 08:30 PineTab-V delivered to Canberra, ACT
  2. I did connect the PineTab-V with the UART adapter to my PineBookPro, opened a terminal on the PineBookPro
    [mbohun@mbohunpinebookpro ~]$ minicom -b 115200 -D /dev/ttyUSB0
    
  3. Turned the PineTab-V ON, everything was running fine (as expected) for the next apx. 12-24 hours before I noticed the PineTab-V display "is off" and won't resume normal operation after a reboot, or a poweroff + START (Because the PineTab-V ships without a GUI interface at the moment (no xorg, no Wayland), I was obviously interacting with PineTab-V via the UART from my PineBookPro.
  4. I was not making any changes to the configuration, etc. In fact i did discover the content of the /root dir (with number of different tests/demos) only AFTER the display problem happened, so in fact i have never seen any of those test scripts in action while the PineTab-V display was still working OK
  5. 2023-09-23 10:22 attempting to fix the PineTab-V ...
@mbohun
mbohun / 2023-06-05_dmesg.log
Created June 5, 2023 04:55
PineTab2 dmesg
[Mon Jun 5 13:46:06 2023] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[Mon Jun 5 13:46:06 2023] Linux version 6.3.0-2-danctnix (builduser@alarm) (aarch64-unknown-linux-gnu-gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Fri May 26 07:05:36 UTC 2023
[Mon Jun 5 13:46:06 2023] Machine model: Pine64 PineTab2 v2.0
[Mon Jun 5 13:46:06 2023] NUMA: No NUMA configuration found
[Mon Jun 5 13:46:06 2023] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff]
[Mon Jun 5 13:46:06 2023] NUMA: NODE_DATA [mem 0x1fefdafc0-0x1fefdcfff]
[Mon Jun 5 13:46:06 2023] Zone ranges:
[Mon Jun 5 13:46:06 2023] DMA [mem 0x0000000000200000-0x00000000ffffffff]
[Mon Jun 5 13:46:06 2023] DMA32 empty
[Mon Jun 5 13:46:06 2023] Normal [mem 0x0000000100000000-0x00000001ffffffff]
@mbohun
mbohun / APKBUILD
Created May 26, 2023 09:48 — forked from shtirlic/APKBUILD
APKBUILD for nvtop for alpine with ardeno gpu support
# Maintainer: Serg Podtynnyi <serg@podtynnyi.com>
pkgname=nvtop
pkgver=3.0.2
pkgrel=1
pkgdesc="GPUs process monitoring for AMD, Intel,NVIDIA and Adreno"
url="https://github.com/Syllo/nvtop"
arch="aarch64"
license="GPL3"
depends="
ncurses
@mbohun
mbohun / NOTES.md
Last active March 12, 2023 05:54
EDID

old-fashioned way to get EDID does not work

install read-edid utils
  • parse-edid is required
mbohun@mamlas:~> zypper info read-edid
Loading repository data...
Reading installed packages...