Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to turn off Wi-Fi and Bluetooth devices?

Featured Replies

Here is how I did it with my Orange Pi 3 LTS running the latest Armbian Ubuntu:

 

# systemctl disable --now wpa_supplicant.service

# systemctl mask wpa_supplicant.service

# systemctl disable --now aw859a-bluetooth.service

# sed -i '' '/sprdwl_ng/d' /etc/modules

 

My typical load went from ~1 to ~0.01 to 0.1. 

Or temporarily patch the driver until a better solution presents its self.

 

diff --git a/drivers/net/wireless/uwe5622/unisocwifi/tx_msg.c b/drivers/net/wireless/uwe5622/unisocwifi/tx_msg.c
index 40d51a7130d9..f1c356306c80 100644
--- a/drivers/net/wireless/uwe5622/unisocwifi/tx_msg.c
+++ b/drivers/net/wireless/uwe5622/unisocwifi/tx_msg.c
@@ -317,7 +317,15 @@ void sprdwl_dequeue_data_list(struct mbuf_t *head, int num)
 /* seam for tx_thread */
 void tx_down(struct sprdwl_tx_msg *tx_msg)
 {
-	wait_for_completion(&tx_msg->tx_completed);
+	int ret;
+	while (1) {
+		ret = wait_for_completion_interruptible(&tx_msg->tx_completed);
+		if (ret == -ERESTARTSYS) {
+			continue;
+		}
+
+		return;
+	}
 }
 
 void tx_up(struct sprdwl_tx_msg *tx_msg)
-- 
2.39.2

 

https://github.com/orangepi-xunlong/linux-orangepi/issues/57

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.