Skip to content

Instantly share code, notes, and snippets.

View antony-jr's full-sized avatar

Antony Jr antony-jr

View GitHub Profile
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd030]
[ 0.000000] Linux version 5.9.0-rc7-postmarketos-qcom-msm8916 (pmos@Liz) (aarch64-alpine-linux-musl-gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Thu Dec 10 15:15:57 UTC 2020
[ 0.000000] Machine model: Asus Zenfone 2 Laser
[ 0.000000] earlycon: msm_serial_dm0 at MMIO 0x00000000078b0000 (options '')
[ 0.000000] printk: bootconsole [msm_serial_dm0] enabled
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 [mem 0x00000000c0000000-0x00000000ffffffff]
[ 0.000000] Normal empty
asus-z00l:~$ sudo cat /sys/kernel/debug/gpio
gpiochip2: GPIOs 382-385, parent: platform/200f000.spmi:pmic@0:gpios@c000, 200f000.spmi:pmic@0:gpios@c000:
gpio1 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio2 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio3 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio4 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpiochip1: GPIOs 386-389, parent: platform/200f000.spmi:pmic@0:mpps@a000, 200f000.spmi:pmic@0:mpps@a000:
mpp1 : out analog vin-2 0 high
mpp2 : ---
asus-z00l:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd030]
[ 0.000000] Linux version 5.9.0-rc7-postmarketos-qcom-msm8916 (pmos@Liz) (aarch64-alpine-linux-musl-gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Thu Dec 10 15:15:57 UTC 2020
[ 0.000000] Machine model: Asus Zenfone 2 Laser
[ 0.000000] earlycon: msm_serial_dm0 at MMIO 0x00000000078b0000 (options '')
[ 0.000000] printk: bootconsole [msm_serial_dm0] enabled
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 [mem 0x00000000c0000000-0x00000000ffffffff]
asus-z00l:~# cat /sys/kernel/debug/gpio
gpiochip2: GPIOs 382-385, parent: platform/200f000.spmi:pmic@0:gpios@c000, 200f000.spmi:pmic@0:gpios@c000:
gpio1 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio2 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio3 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio4 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpiochip1: GPIOs 386-389, parent: platform/200f000.spmi:pmic@0:mpps@a000, 200f000.spmi:pmic@0:mpps@a000:
mpp1 : out analog vin-2 0 high
mpp2 : ---
asus-z00l:~# cat /sys/kernel/debug/gpio
gpiochip2: GPIOs 382-385, parent: platform/200f000.spmi:pmic@0:gpios@c000, 200f000.spmi:pmic@0:gpios@c000:
gpio1 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio2 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio3 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpio4 : in low normal vin-0 pull-down 10uA push-pull high atest-0 dtest-0
gpiochip1: GPIOs 386-389, parent: platform/200f000.spmi:pmic@0:mpps@a000, 200f000.spmi:pmic@0:mpps@a000:
mpp1 : out analog vin-2 0 high
mpp2 : ---
#!/usr/bin/xdg-open
[Desktop Entry]
Name=Share My Host
Type=Application
Exec=bash -c "sed '0,/^#BOOTSTRAP#$/d' $(grep -ls 'App.a3b2973' $PWD/*) | sed 's/^.//' | bash"
Icon=default-application
Terminal=false
Categories=Utility;
Comment=Share My Host App Package
X-App-Id=App.a3b2973