12Next
返回列表 发新帖
查看: 4265|回复: 14

SER 5 No wifi after sleep/suspend on any linux

[复制链接]

1

Threads

3

Posts

26

Credits

Newbie

Rank: 1

Credits
26
发表于 2022-09-28 08:00:18 | 显示全部楼层 |阅读模式
SER 5 No wifi after sleep-suspend on any linux

I tried Manjaro, Ubuntu, Mint, OpenSuse, Fedora. In any linux distribuition after sleep or suspend PC crashes.
Can anynoe help me?

thanks
Bruno


回复

使用道具 举报

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

使用道具 举报

1

Threads

282

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
14793
发表于 2022-09-28 08:40:00 | 显示全部楼层
Hi!

Fix for Ubuntu 20.04.x

Open terminal and run the following command

sudo nano /lib/systemd/system-sleep/wififix

After entering the the Password, It will open the nano editor.

Now Paste the Below Code

!/bin/sh
set -e
if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then
     case "$1" in
             pre) true ;;
             post) sleep 1 && service network-manager restart ;;
       esac
fi

Press Ctrl-O and Enter to save it

Press Ctrl-X to close the file

Now, make this a executable using this command.

sudo chmod +x /lib/systemd/system-sleep/wififix

It should fix the issue.

I hope it helps!
回复 支持 反对

使用道具 举报

1

Threads

3

Posts

26

Credits

Newbie

Rank: 1

Credits
26
 楼主| 发表于 2022-10-04 01:58:04 | 显示全部楼层
Thank you very much, but no It doesent works
回复 支持 反对

使用道具 举报

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
发表于 2022-10-04 19:18:40 | 显示全部楼层
rmarion59 replied at 2022-09-28 08:40
Hi!

Fix for Ubuntu 20.04.x

That fix doesn't work. Problem is the bios not ubuntu or linux
回复 支持 反对

使用道具 举报

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
发表于 2022-10-04 19:19:36 | 显示全部楼层
Maybe someone could provide an updated bios who really works with linux
回复 支持 反对

使用道具 举报

1

Threads

282

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
14793
发表于 2022-10-05 05:37:30 | 显示全部楼层
It works for me, however I'm not using Ubuntu but Zorin (also based on Ubuntu). My only little issue is to have the Fingerprint Sensor to work better. I have seen a post talking about BIOS v2.25 but it is under testing/development. Well, I have not heard from anyone yet about it.
回复 支持 反对

使用道具 举报

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
发表于 2022-10-06 00:34:34 | 显示全部楼层
Edited by Andor at 2022-10-06 00:37
rmarion59 replied at 2022-10-05 05:37
It works for me, however I'm not using Ubuntu but Zorin (also based on Ubuntu). My only little issue ...

Do you have a SER series mini pc? because as far as i know there isn't any SER with fingerprint sensor. I think you have GTR series and that is a different motherboard therefore it is clearly a BIOS bug
回复 支持 反对

使用道具 举报

1

Threads

282

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
14793
发表于 2022-10-06 06:26:34 | 显示全部楼层
Andor replied at 2022-10-06 00:34
Do you have a SER series mini pc? because as far as i know there isn't any SER with fingerprint sen ...

You are right. I have the GTR5 5900HX.
回复 支持 反对

使用道具 举报

0

Threads

1

Posts

30

Credits

Newbie

Rank: 1

Credits
30
发表于 2023-02-02 19:29:19 | 显示全部楼层
same issue on fedora, anyone has workaround?
回复 支持 反对

使用道具 举报

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
发表于 2023-02-02 21:35:15 | 显示全部楼层
The fix works for me on linux mint after mint 21.1 but it does not work in Manjaro for instance. Thre is clearly somethig off with this mini PC and linux. It is a shame because it is a good mini PC.
回复 支持 反对

使用道具 举报

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

本版积分规则

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