Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with resume from suspend on asus vivobook x330ua #2073

Open
rkunschke opened this issue Jan 6, 2025 · 4 comments
Open

Issue with resume from suspend on asus vivobook x330ua #2073

rkunschke opened this issue Jan 6, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@rkunschke
Copy link

rkunschke commented Jan 6, 2025

Describe the bug

When I have my laptop on battery and it goes to standby everything works like expected. But when it's on the power cord and goes to standby it doesn't. It reboots instead of going to standby and I am at the sddm login screen.
I've tested the bazzite-default and the bazzite-asus image.

With the default-image I get the well known blinking-shift kernel panic when entering/resuming from standby. That what i saw on arch, open suse and many other distros as well. With the asus image there is no kernel-panic but that weird reboot on power cord issue. That is something I never saw before.

What did you expect to happen?

The laptop should suspend and resume instead of rebooting.

Output of rpm-ostree status

State: idle
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-asus:stable
                   Digest: sha256:34e83b0e9d81a73f54339762649e492d106463517e4554ca97f15f3c0494e321
                  Version: 41.20250106 (2025-01-06T05:44:37Z)
                     Diff: 7 added
          LayeredPackages: bogofilter goverlay kaddressbook kde-material-you-colors kde-rounded-corners kmail korganizer openrazer-meta razergenie softmaker-office-nx

● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-asus:stable
                   Digest: sha256:34e83b0e9d81a73f54339762649e492d106463517e4554ca97f15f3c0494e321
                  Version: 41.20250106 (2025-01-06T05:44:37Z)
          LayeredPackages: bogofilter kaddressbook kde-material-you-colors kde-rounded-corners kmail korganizer openrazer-meta razergenie softmaker-office-nx

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:stable
                   Digest: sha256:220fc852f74464f38b077488a48e64b94ad434fdac4bb8dbfa121d65c80edc06
                  Version: 41.20250106 (2025-01-06T05:48:25Z)
          LayeredPackages: bogofilter kaddressbook kde-material-you-colors kde-rounded-corners kmail korganizer openrazer-meta razergenie softmaker-office-nx

Hardware

(Asus) VivoBook S13 X330UA

Extra information or context

I was really surprised no one else seems to have these kind of issues. I had them on every laptop/distro I've ever owned.
Which logs should I provide to figure out the issue?

What I noticed as well: When I log in after that forced reboot the screen goes black and I have to move the mouse so it turns on again. The screen brightness it lowered so it looks like the laptop thought it was out of battery. Maybe something with fedoras tuned deamon?

@dosubot dosubot bot added the bug Something isn't working label Jan 6, 2025
@xXJSONDeruloXx
Copy link
Contributor

can you give me the output of cat /proc/acpi/wakeup

@rkunschke
Copy link
Author

rkunschke commented Jan 8, 2025

sure that's it:

Device  S-state   Status   Sysfs node
RP01      S4    *disabled
PXSX      S4    *disabled
RP06      S4    *enabled   pci:0000:00:1c.0
PXSX      S4    *disabled  pci:0000:01:00.0
GLAN      S4    *disabled
XHC       S3    *enabled   pci:0000:00:14.0
XDCI      S4    *disabled
HDAS      S4    *disabled  pci:0000:00:1f.3

@xXJSONDeruloXx
Copy link
Contributor

xXJSONDeruloXx commented Jan 8, 2025

hmmm try each of these and see if it resolves the issue, if so you'd want to make them into part of a boot script

echo XHC | sudo tee /proc/acpi/wakeup

echo RP06 | sudo tee /proc/acpi/wakeup

@rkunschke
Copy link
Author

rkunschke commented Jan 8, 2025

They both didn't solve the issue. The second one makes my screen go black when switching between plugged and unplugged. The first changed nothing.
Edit:
Now the bug happened to me also while being on battery. It's always a bit random when it happens and it happens not every time.
I think it has to do with going to standby while the lit is closed. Manually activating the standby mode never resulted in that bug. I will test now if it happens when I go to standby an then close the lit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants