You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
gvl610
raspiduino
I want to do what they did and what they haven't done :D
Another account: @giangvinhloc610
Quick and dirty solution for the Segmentation fault problem of processing package libc-bin when using apt in Armbian
I recently have Armbian installed on my set-top box and its apt got crazy when I used it:
$ sudo apt install xfce4-terminal
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libvte-2.91-0 libvte-2.91-common
The following NEW packages will be installed:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When following this guide on a host not capable of native arm64 KVM, replace -M virt -cpu host -accel kvm with -M virt,virtualization=on -cpu max.
The reason for virtualization=on is that the Windows bootloader does an smc #0 PSCI call, but without EL2, QEMU's TCG does not handle those because PSCI is in HVC mode and such that instruction is treated as undefined. With KVM enabled, smc #0 is handled properly.
Workaround in QEMU for using TCG without virtualization=on:
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index b871350856..de11ff51d1 100644
--- a/hw/arm/virt.c
The Thump GO is visible as two Bluethooth devices. Thump GO is an audio device. The Bluetooth device named LE_Thump GO is used for controlling the loudspeaker.
Only after an audio connection was established and the bluetooth LED lights solidly, the LE_Thump GO device is active. (With Auto Connect off, connect from a previously paired audio device to reach that state. With Auto Connect on, this state is only reached 60 seconds after turning on, even if the audio connection is established much earlier, but one can presses the PAIR button to shorten that time.)
The Bluetooth device LE_Thump GO is the interface the official app Thump Connect 2 uses. This device offers service UUID 49535343-fe7d-4ae5-8fa9-9fafd205e455. Appearently, this is the BM70/RN4870 chip with service "Microchip Transparent UART". Here, I list all the commands of the device I could reverse-engineer. I assume no liability for the correctness. All numbers are in hexadecimal notat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CVE-2020-23617 - Totolink N200RE and N100RE Routers - 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Linux, we can use sudo to run command as root. In Windows, we can use runas command to do that, but it doesn't support for empty password file! So we make this small macro for you to do the same thing as sudo for Windows.