12
Return to list New
Author: brunocarv

SER 5 No wifi after sleep/suspend on any linux

[Copy link]

2

Threads

152

Posts

468

Credits

Full Member

Rank: 3Rank: 3

Credits
468
Post time 2023-02-02 23:09:08 | Show all posts
They haven't made a public statement but they have sent people emails stating they know the Motherboards are defective. All of the recent Beelink computers seem to have motherboard issues and restart problems. Actually a lot of problems, some you may not notice (right away). I think it is horrible that they know the machines are defective but still sell them to people.
Reply Support Not support

Use magic Report

4

Threads

114

Posts

878

Credits

Senior Member

Rank: 4

Credits
878
Post time 2023-02-03 03:23:11 | Show all posts
This have nothing to do with motherboard... the wifi chipset is pretty new and is not fully supported/debug in linux. I'm using my SER5 for 6 months with linux and it sleeps every day w/o problem.

Manjaro is using init? if yes:

create a simple /etc/pm/config.d/config containing

HOOK_BLACKLIST="wireless"
SUSPEND_MODULES="mt7921e"

Manjaro is using systemd? if yes:

create a  /usr/lib/systemd/system-sleep/remove-mt7921e.sh file

#!/bin/bash
[ "$1" = "post" ] && exec /usr/sbin/modprobe mt7921e
[ "$1" = "pre" ] && exec /usr/sbin/modprobe -r mt7921e
exit 0
SER5 5600H 32/500 - MX Linux
Reply Support Not support

Use magic Report

2

Threads

152

Posts

468

Credits

Full Member

Rank: 3Rank: 3

Credits
468
Post time 2023-02-03 05:54:26 | Show all posts
Magister replied at 2023-02-03 03:23
This have nothing to do with motherboard... the wifi chipset is pretty new and is not fully supporte ...

The SER 5 5600H seems to have fewer problems than the SER 5 5560U machines. With the 5560U there are definite issues with restart, hibernate, sleep - they are problems on a hardware level.
Reply Support Not support

Use magic Report

1

Threads

3

Posts

31

Credits

Newbie

Rank: 1

Credits
31
Post time 2023-02-03 08:17:03 | Show all posts
I have figured out a work around!
I sent this to support, please adapt this to your system

I figured out a work around. Consider this resolved and please help other linux users by sharing this.

First I found which pci address was the wifi card with
"lspci"

I then figured out that removing the device from the pci bus with
"echo 1 >/sys/bus/pci/devices/0000:02:00.0/remove"
and then re-scanning with
" echo 1 >/sys/bus/pci/rescan"
Made the wifi work again!

I then made 2 scripts in this directory
'/lib/systemd/system-sleep/'

script 1 name = wifi-fix.sh
content =
#! /bin/sh -xv
echo 1 >/sys/bus/pci/devices/0000:02:00.0/remove

script 2 name = 99wifi-fix.sh
content =
#! /bin/sh -xv
echo 1 >/sys/bus/pci/rescan

make both files executable with "chmod +x" and wifi issues are resolved


Reply Support 1 Not support 0

Use magic Report

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
Post time 2023-02-27 02:31:28 | Show all posts
simpsipper replied at 2023-02-03 08:17
I have figured out a work around!
I sent this to support, please adapt this to your system

Hi, could you elaborate your script for Manjaro, it works on mint but on manjaro it does not.

Executing the command echo 1 >/sys/bus/pci/devices/0000:02:00.0/remove works as expected
but with echo 1 >/sys/bus/pci/rescan it doesn't unless i execute it as super user with sudo su command, so I guess i need to slightly modify the 99wifi-fix.sh script? how?
thanks
Reply Support Not support

Use magic Report

12
Return to list New
You have to log in before you can reply Login | Sign up

Points Rules

Quick Reply To Top Return to the list