SES Posted December 27, 2023 Share Posted December 27, 2023 Hello! How to turn off Wi-Fi and Bluetooth devices to reduce power consumption? armbianmonitor -U -> result in attachment. Thank you. armbian-hardware-monitor.log 0 Quote Link to comment Share on other sites More sharing options...
Gunjan Gupta Posted December 28, 2023 Share Posted December 28, 2023 Disable aw859a-wifi and aw859a-bluetooth services. For a more paranoid way, you can also add a dtoverlay to disable mmc1 something like /dts-v1/; /plugin/; &mmc1 { status = "disabled"; }; Save above to a file with .dts as extension and run "sudo armbian-add-overlay <filename>" 0 Quote Link to comment Share on other sites More sharing options...
krrmbn Posted January 25 Share Posted January 25 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. 0 Quote Link to comment Share on other sites More sharing options...
c0rnelius Posted January 26 Share Posted January 26 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.