Please select To the mobile version | Continue to access the desktop computer version
12Next
Return to list New
View: 2437|Reply: 14

SER 5 No wifi after sleep/suspend on any linux

[Copy link]

1

Threads

3

Posts

26

Credits

Newbie

Rank: 1

Credits
26
Post time 2022-09-28 08:00:18 | Show all posts |Read mode
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


Reply

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

1

Threads

277

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
11833
Post time 2022-09-28 08:40:00 | Show all posts
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!
Reply Support Not support

Use magic Report

1

Threads

3

Posts

26

Credits

Newbie

Rank: 1

Credits
26
 Author| Post time 2022-10-04 01:58:04 | Show all posts
Thank you very much, but no It doesent works
Reply Support Not support

Use magic Report

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
Post time 2022-10-04 19:18:40 | Show all posts
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
Reply Support Not support

Use magic Report

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
Post time 2022-10-04 19:19:36 | Show all posts
Maybe someone could provide an updated bios who really works with linux
Reply Support Not support

Use magic Report

1

Threads

277

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
11833
Post time 2022-10-05 05:37:30 | Show all posts
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.
Reply Support Not support

Use magic Report

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
Post time 2022-10-06 00:34:34 | Show all posts
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
Reply Support Not support

Use magic Report

1

Threads

277

Posts

110K

Credits

Veteran

Rank: 8Rank: 8

Credits
11833
Post time 2022-10-06 06:26:34 | Show all posts
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.
Reply Support Not support

Use magic Report

0

Threads

1

Posts

29

Credits

Newbie

Rank: 1

Credits
29
Post time 2023-02-02 19:29:19 | Show all posts
same issue on fedora, anyone has workaround?
Reply Support Not support

Use magic Report

12

Threads

49

Posts

316

Credits

Full Member

Rank: 3Rank: 3

Credits
316
Post time 2023-02-02 21:35:15 | Show all posts
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.
Reply Support Not support

Use magic Report

12Next
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