Legion Go Suspend Issue, part 2

documenting suspend bug. Here's dmesg error on bazzite stable 3/11/24
Solution:
sudo rm /etc/device-quirks/systemd-suspend-mods.conf
Jump to solution
15 Replies
Aru
AruOP9mo ago
associated github issue: https://github.com/ublue-os/bazzite/issues/809 Suspend can now fail with screen staying on and power LED no longer indicating it went to sleep Previously the power LED would indicate it went to sleep, fans would just stay on subsequent suspend, the power LED indicated suspend and screen turned off. Fan still on though
TecN01R
TecN01R9mo ago
It’s even worse than the original one that was fixed 2-19 😭
Aru
AruOP9mo ago
@Kyle Gospo A user on the LGO discord reports this might be the issue.
It looks like it's related to the wifi drivers (https://community.frame.work/t/framework-13-amd-issues-with-wireless-after-resume/44597/3) Was introduce w/ https://github.com/torvalds/linux/commit/4fc8df50fd41c2762d893211487be0ecb24c6a05 And will be fixed in 6.8, https://github.com/torvalds/linux/commit/d0a2bc5fe712217d2c73822ae75fd4e69a15cb2c
but apparently the wifi bug was introduced with 6.7.7, whereas the problem started on 6.7.5. so maybe not
skopeo inspect docker://ghcr.io/ublue-os/bazzite:39-20240223 | grep ostree.linux
"ostree.linux": "6.7.5-200.fc39.x86_64",
skopeo inspect docker://ghcr.io/ublue-os/bazzite:39-20240223 | grep ostree.linux
"ostree.linux": "6.7.5-200.fc39.x86_64",
actually, perhaps this is a different bug now. reverting the problematic patch maybe fixed the original issue, but now we're running into an almost identical issue since the latest bazzite kernel is 6.7.9? 🤔
sudo make localmodconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
No config file found at ./scripts/kconfig/streamline_config.pl line 122.
make[2]: *** [scripts/kconfig/Makefile:52: localmodconfig] Error 2
make[1]: *** [/var/home/deck/Downloads/linux-6.7.9/Makefile:685: localmodconfig] Error 2
make: *** [Makefile:234: __sub-make] Error 2
sudo make localmodconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
No config file found at ./scripts/kconfig/streamline_config.pl line 122.
make[2]: *** [scripts/kconfig/Makefile:52: localmodconfig] Error 2
make[1]: *** [/var/home/deck/Downloads/linux-6.7.9/Makefile:685: localmodconfig] Error 2
make: *** [Makefile:234: __sub-make] Error 2
had to link ld: https://discord.com/channels/1072614816579063828/1074422586894712912/1215783141378101359
antheas
antheas9mo ago
what
Aru
AruOP9mo ago
first error was:
sudo make localmodconfig
[sudo] password for deck:
HOSTCC scripts/basic/fixdep
collect2: fatal error: cannot find ‘ld’
compilation terminated.
make[2]: *** [scripts/Makefile.host:116: scripts/basic/fixdep] Error 1
make[1]: *** [/var/home/deck/Downloads/linux-6.7.9/Makefile:621: scripts_basic] Error 2
make: *** [Makefile:234: __sub-make] Error 2
sudo make localmodconfig
[sudo] password for deck:
HOSTCC scripts/basic/fixdep
collect2: fatal error: cannot find ‘ld’
compilation terminated.
make[2]: *** [scripts/Makefile.host:116: scripts/basic/fixdep] Error 1
make[1]: *** [/var/home/deck/Downloads/linux-6.7.9/Makefile:621: scripts_basic] Error 2
make: *** [Makefile:234: __sub-make] Error 2
symlinking ld solved this but now no config file 🤔
antheas
antheas9mo ago
you can also use my config i guess but i doubt if you cant make the config youll be able to compile the kernel
Solution
Aru
Aru9mo ago
sudo rm /etc/device-quirks/systemd-suspend-mods.conf
Aru
AruOP9mo ago
for to fix
Kyle Gospo
Kyle Gospo9mo ago
also fixed by updating to latest
TecN01R
TecN01R9mo ago
What was the fix or break?
Kyle Gospo
Kyle Gospo9mo ago
You really don't want to know It's not worth the blood pressure I have a doctor's note not to tell you
TecN01R
TecN01R9mo ago
You’re right 😅
Kyle Gospo
Kyle Gospo9mo ago
lmao Sleep fix for an unrelated less popular handheld Not even the same wifi hardware that fix touched And not even in kernel We learned some important lessons from that
TecN01R
TecN01R9mo ago
Glad you found it Keep up the solid work and thank you! Everything has been great today on stable
Want results from more Discord servers?
Add your server