Skip to content

Instantly share code, notes, and snippets.

View theironrobin's full-sized avatar

Alex R theironrobin

View GitHub Profile
[Desktop Entry]
Name=btmgmt wrapper
Exec=btmgmt_wrapper -c info
Type=Application
#!/usr/bin/python3
import btmgmt
import argparse
from pathlib import Path
def main():
p = argparse.ArgumentParser(description="enter command name")
p.add_argument("--command", "-c", type=str, required=True, help="string command")
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmDisplay: Greeter session opened
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmDisplay: session id: c1
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: Stopping all conversations except for gdm-launch-environment
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: type wayland, program? yes, seat seat0
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: getting session command for file 'ubuntu.desktop'
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: File 'ubuntu.desktop' not found: Valid key file could not be found in search dirs
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: getting session command for file 'gnome.desktop'
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: 'gnome.desktop' registers self
Nov 26 06:16:19 pinebook-pro gdm3[1953]: GdmSession: type wayland, program? yes, seat seat0
Nov 26 06:16:19 pinebook-pro gdm-launch-environment][1977]: GdmSessionWorker: Set PAM environment variable: 'DCONF_PROFILE=gdm'
malex@rockpro64:/mount$ ls lib lib64 -lah
lib:
total 32K
drwxr-xr-x 8 root root 4.0K Sep 23 18:27 .
drwxr-xr-x 21 root root 4.0K Sep 23 18:31 ..
drwxr-xr-x 2 root root 4.0K Sep 23 18:27 bootchart
drwxr-xr-x 7 root root 4.0K Sep 23 21:02 firmware
lrwxrwxrwx 1 root root 30 Sep 7 19:26 ld-linux-aarch64.so.1 -> ../lib64/ld-linux-aarch64.so.1
drwxr-xr-x 2 root root 4.0K Sep 23 18:15 modprobe.d
drwxr-xr-x 3 root root 4.0K Sep 23 19:43 modules
➜ /etc sudo fsck /dev/mmcblk1p1
[sudo] password for clover:
fsck from util-linux 2.34
e2fsck 1.45.5 (07-Jan-2020)
/dev/mmcblk1p1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
reboot: Restarting system
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.3(release):v1.4-5174-g9680df17d
NOTICE: BL31: Built : 1589149789
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x4064bb8, model: Pine64 PinePhone (1.2)
NOTICE: PSCI: System suspend is available via SCPI
Linux pureos 5.8.0-346876-gf66d3a85b9b1 #1 SMP Sat Aug 8 10:16:39 CDT 2020 aarch64
The programs included with the PureOS system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
PureOS comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
purism@pureos:~$ sudo systemctl start phosh
purism@pureos:~$ DRAM: 2048 MiB
Linux pureos 5.8.0-346876-gf66d3a85b9b1 #1 SMP Sat Aug 8 10:16:39 CDT 2020 aarch64
The programs included with the PureOS system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
PureOS comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
purism@pureos:~$ sudo systemctl start phosh
purism@pureos:~$ DRAM: 2048 MiB
purism@pureos:~$ reboot: Restarting system
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.3(release):v1.4-5174-g9680df17d
NOTICE: BL31: Built : 1589149789
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x4064bb8, model: Pine64 PinePhone (1.2)
NOTICE: PSCI: System suspend is available via SCPI
CLEAN .config .config.old .version Module.symvers
update-initramfs: Generating /boot/initrd.img-5.7.11-elementary-arm
cryptsetup: WARNING: Couldn't determine root device
cryptsetup: ERROR: Couldn't find sysfs directory for 252:0
du: cannot access '/home/clover/Projects/os/pinebook-pro/elementary-arm64/proc/233376/task/233376/fd/3': No such file or directory
du: cannot access '/home/clover/Projects/os/pinebook-pro/elementary-arm64/proc/233376/task/233376/fdinfo/3': No such file or directory
du: cannot access '/home/clover/Projects/os/pinebook-pro/elementary-arm64/proc/233376/fd/4': No such file or directory
du: cannot access '/home/clover/Projects/os/pinebook-pro/elementary-arm64/proc/233376/fdinfo/4': No such file or directory
Creating image file
fallocate: fallocate failed: Operation not supported