12
返回列表 发新帖
楼主: brunocarv

SER 5 No wifi after sleep/suspend on any linux

[复制链接]

2

Threads

152

Posts

468

Credits

Full Member

Rank: 3Rank: 3

Credits
468
发表于 2023-02-02 23:09:08 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

114

Posts

904

Credits

Senior Member

Rank: 4

Credits
904
发表于 2023-02-03 03:23:11 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

2

Threads

152

Posts

468

Credits

Full Member

Rank: 3Rank: 3

Credits
468
发表于 2023-02-03 05:54:26 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

1

Threads

3

Posts

31

Credits

Newbie

Rank: 1

Credits
31
发表于 2023-02-03 08:17:03 | 显示全部楼层
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


回复 支持 1 反对 0

使用道具 举报

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
发表于 2023-02-27 02:31:28 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

12
返回列表 发新帖
您需要登录后才可以回帖 登录 | Sign up

本版积分规则

快速回复 返回顶部 返回列表