-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
USBVM Blocks S3 sleep #1419
Comments
Do you have block devices (qvm-block) attached when going to sleep? This Also some USB 3.0 controllers makes problems with S3 sleep. If you Best Regards, |
No devices attached on sleep, I haven't tried sleeping with devices I was having pci reset issues with my usbvm so I disabled USB3 in the BIOS I'll let you know what the logs look like, thanks as always. Max
|
The only journalctl entries that seems to stand out: Dom0
sys-usb (usbvm)
EDIT: Setting a clockVM had no effect |
You can still try with blacklisting module - in case of USB 2.0, it would be ehci_pci. Write it to |
I couldn't seem the glean a full answer from some cursory googling, what Thanks!
|
It will unload the module before suspend and load it back after resume (if was loaded at suspend time). Described here: https://www.qubes-os.org/doc/config-files/ |
Duly noted, thanks as always. That said, it doesn't seem to have solved the issue. From lsusb.py I Thanks!
It will unload the module before suspend and load it back after resume (if — |
In latest kernels, ehci_hcd was split into ehci_hcd and ehci_pci - the later one is actually bound to the device (and depends on ehci_hcd), so this is the one to blacklist. Anyway, I have similar issue on one laptop, will look into that closer. |
Thanks. I'll try some configurations as well and let you know if anything
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
When I have the USB controllers under dom0 (no USBVM) dropping to S3 sleep takes just under a second.
However, when a USBVM has been assigned PCI devices (The two USB2.0 controllers, in my case), dropping to S3 sleep takes upward of 15 seconds.
I'm not entirely sure the nature of the bug - it may have something to do with the fact that detaching block devices from VMs with qvm-block has reported LibVirt errors ("failed to detach").
I'm sorry this is unspecific, let me know what output (dom0 / usbvm dmesg?) will help in diagnostics.
Thanks!
The text was updated successfully, but these errors were encountered: