Skip to content

Instantly share code, notes, and snippets.

From f5ca52ab53e1586f37f6b74636ad3a4f3b094d7a Mon Sep 17 00:00:00 2001
From: xqdzn <exqdzn@gmail.com>
Date: Fri, 23 Aug 2019 04:13:24 +0700
Subject: [PATCH 1/2] [ADD] WiFi EN Pin
---
arch/arm/boot/dts/sunxi-h3-h5.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
############################## ON ARM #####################
[alarm@alarm linux-armv7]$ cat /etc/makepkg.conf
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
...
thermal-zones {
cpu_thermal {
polling-delay-passive = <0x14a>;
polling-delay = <0x3e8>;
thermal-sensors = <0x28 0x00>;
trips {
@xqdzn
xqdzn / gist:5358041
Last active December 16, 2015 01:49
@Override
public void onClick(View v) {
File file = new File(Environment.getExternalStorageDirectory()
+ File.separator + "Floccus" + File.separator + sName);
Log.e("openButton: ", "Clicked");
Log.e("filename: ", file.toString());
Uri uri = Uri.fromFile(file);
Intent intent = new Intent(Intent.ACTION_VIEW);
// I use plain/text just for testing. Will parse it later.