Lenovo T480 freezes after resume on suspend

439 views
Skip to first unread message

lords...@gmail.com

unread,
May 5, 2018, 7:20:54 PM5/5/18
to qubes-users
Hi,
First of all, let me thanks all the QubesOS team for the amazing work done on 4.0 version. I was a user of the old 3.2 version.

The issue I am experiencing with 4.0 on my new hardware is the following: once I open the lid and resume qubes after suspension, I cannot issue any command/trackpad/mouse whatever.

Do you have any ideas on how to debug this? I have found on this ML some related issues, but since they aren't really recent, I don't know if they are still relevant for my case. For example, in https://groups.google.com/forum/#!topic/qubes-users/QrG7uUZsSZY the last poster seems to have my same issue and the suggested fix did't help.

Thanks.

mau...@disroot.org

unread,
May 8, 2018, 1:51:32 PM5/8/18
to qubes...@googlegroups.com

I'm also experiencing the same issue.
Whenever my laptop resumes after have being suspended, the sys-usb is frozen and all USB devices attached to it fail to work. I have to kill the appvm and start it again. This only affects the sys-usb though, the sys-net is working fine during the resume.
The issue that describes this problem - https://github.com/QubesOS/qubes-issues/issues/3142 - was closed but the problem still persists.

Any idea how can we resolve this?

bbrr...@gmail.com

unread,
May 16, 2018, 11:03:34 AM5/16/18
to qubes-users

Fully working T480 with Qubes 4.0 writing here. I found I needed to remove the assignement of one of the USB controllers from sys-usb. See earlier HCL. My debug strategy was to shutdown all service VMs and check if suspend works , then narrow the issue.

Note that on my machine it takes about 5secs to become responsive after unsuspend.

mau...@disroot.org

unread,
May 17, 2018, 10:33:03 AM5/17/18
to qubes...@googlegroups.com
" I needed to remove the assignement of one of the USB controllers from sys-usb "
What do you mean by that? Are you unloading a kernel module before suspending or the PCI controller? Which module is this?
The sys-usb still freezes on resume, so for the time being I have to manually kill and start the vm again.


Which drivers or USB assignments do you remove from your

thoma...@gmail.com

unread,
May 28, 2018, 12:11:04 PM5/28/18
to qubes-users
I had a similar issue with my T480S.
I'm not currently using sys-usb at the moment.
The laptop would still freeze for about 30 seconds after resuming from sleep.

After installing the latest Updates and Kernel in dom0 today, the issue is gone for me. Maybe it'll help with your issue too.

bbrr...@gmail.com

unread,
Jun 3, 2018, 5:27:55 PM6/3/18
to qubes-users
On Thursday, May 17, 2018 at 3:33:03 PM UTC+1, mau...@disroot.org wrote:
> " I needed to remove the assignement of one of the USB controllers from sys-usb "
> What do you mean by that? Are you unloading a kernel module before suspending or the PCI controller? Which module is this?
> The sys-usb still freezes on resume, so for the time being I have to manually kill and start the vm again.
>
>
> Which drivers or USB assignments do you remove from your

I removed the pci device which is the USB controller:

qvm-pci detach sys-usb dom0:3c_00.0

mau...@disroot.org

unread,
Jan 13, 2019, 2:04:40 PM1/13/19
to qubes...@googlegroups.com
Unfortunately this doesn't work for me. Detaching the USB controller doesn't work.
My sys-usb always hangs on resume. No matter which update I make this problem continues to persist.

Does anyone has any idea how to solve this?

Thank you!

Zrubi

unread,
Jan 14, 2019, 12:49:21 AM1/14/19
to mau...@disroot.org, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 1/13/19 8:04 PM, mau...@disroot.org wrote:
> Unfortunately this doesn't work for me. Detaching the USB
> controller doesn't work. My sys-usb always hangs on resume. No
> matter which update I make this problem continues to persist.

You have 2 options to solve this issue:
a,
- - Make sure, you have the latest BIOS firmware.
- - enable Thunderbolt Assist in BIOS

b,
- - disable Thunderbolt in BIOS
(Hence, you will loose the USB-C connector)

- --
Zrubi
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEmAe1Y2qfQjTIsHwdVjGlenYHFQ0FAlw8Iq8ACgkQVjGlenYH
FQ1CMA//Vd7JgQFrXGxr3QKhjjWm39NCw8dOTBAOil864t1kMwOol1lZUmoY42tY
znTXdmIT64UXf7/zgRKUsknWaKg1kQnx8uUZIMS+8FA9CiZGhe23psoJosXAhdVM
sGfAd1ZmzrdynTGhxC7xYAwm8M2GOEaa2yuUFkOIMivmWHvptIUlP+inXaQKTq6i
haFtCD5y53rhStcgamb9ePiBe2rrHHyfeN1Y7bfKkxJ6aNKASejLOF/o1X6edF8f
g1fT90ncQm8X7UY9MFuLBEMvoBq4l4TZxWs5E1x5kEOrzwksv1CSIbdak+THe8Lk
/DlnNh8qVWoo8mTj56+gbydUmqQtvlugBxFi2zANWFoP7EsLZqR9KAJubLhI8im8
TTJ3PgIiM5MULviT6MZr8DH6kga8489T+GAkIAA7tPkQ6XECZp4bLE1FyWjpWFss
Sgo/p0KYcB5TM+jQ+T2cjf1jHCcToxZWcUPyCtrZi99d86Z0fVKDxIBnAqlGIUrl
CcuZdDLwSMHDmdh2s5osmuzjtVvWr+VM/yuPTK8lvQA48b+1dIm2RUcAThbRKf9w
Pu/WlIbr0XDSTzZtnZcqCePN7lQPoIdslRZSsFwt48x4g+Olm0I7cvJEhFTEmmkr
RblAAauus2zvYVS9pxMcBvadrjn/yFHiZq0D//0/beea8fiEf6I=
=JuWi
-----END PGP SIGNATURE-----

Achim Patzner

unread,
Jan 14, 2019, 10:25:13 AM1/14/19
to qubes...@googlegroups.com
On 20190114 at 06:48 +0100 Zrubi wrote:
> Error verifying signature: Output from /usr/bin/qubes-gpg-
> client-wrapper:
> open sig: No such file or directory

Did I do something wrong here?

- - disable Thunderbolt in BIOS
> (Hence, you will loose the USB-C connector)

At least on a P52 you are losing more than that; it confuses the hell
out of the GPUs if you turn off Thunderbolt and connect a monitor to
the USB-C port.


Achim


mau...@disroot.org

unread,
Jan 14, 2019, 4:26:49 PM1/14/19
to Zrubi, qubes...@googlegroups.com
I have updated my BIOS to the latest version just in case.
I have no Thunderbolt in the BIOS. I'm using a thinkpad T450s laptop from lenovo (no Thunderbolt support).
The problem still persists, after resume the sys-usb is dead have to kill it and start it again to resume my USB devices (keyboard and mouse)

Any ideas?

Zrubi

unread,
Jan 15, 2019, 7:08:07 AM1/15/19
to mau...@disroot.org, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 1/14/19 10:26 PM, mau...@disroot.org wrote:
> I have updated my BIOS to the latest version just in case. I have
> no Thunderbolt in the BIOS. I'm using a thinkpad T450s laptop from
> lenovo (no Thunderbolt support). The problem still persists, after
> resume the sys-usb is dead have to kill it and start it again to
> resume my USB devices (keyboard and mouse)

These kind of issues are heavily depends on the specific hardware.
So If you have a T50s, ignore my reply, as I was assume you are using
a T480, as the topic subject states.

- --
Zrubi
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEmAe1Y2qfQjTIsHwdVjGlenYHFQ0FAlw9zRAACgkQVjGlenYH
FQ0kmg//bda6o6S7U9GE2FhQOVD9EYC1SHZkv33bk4Mkb7GHZPmRzq4uaQdRgkQL
mvCUvQOO3Q4kFUufkEVc24+/oRbQ91RfW4PK1Us1NoKJ5PsDC0iSQn9s9LnfXCAf
o9QbC1jiakGBCPKXEMJRsKf6DQPc/CU3DRFgItSLhqUjdhrWEl95eTB3JMkUAAwp
fX0q8uyskyklxvIkKfNTDcc/iwsJcAFTOZDjA5uDvqbwZ1sBa+yx1bVDShQ87HBc
ZERmgk3Ss9/qfcg1W/74Ja9cggXSSVMjAL7aIOfcLaAVN2PN5tOekynClTzPbUWL
0vl60W+TtaqCPgPXew0hFcPJ+sv7dUiNUGyXH8pXIqu8xIq+xmNk91tFX/KpAvjX
pfvgoc0TiCCsHuYJ1T26lFKiry/kxS1mKkkiqHX8pcp7KsSFBjw7Usnm4CxtD/b/
LTD9Xft7N/2P8M9zxQ+j+KXChdqJyE/5d7d6DgjjfkcsHmYQPJg23pkUhbXPwN5l
/LFLXfPOOgPf6390/6r0AN6V+NUWeVP+bEYyqnrEfLVyJKWXUfFmGWKA4qaM8oxP
CUwT9XsBkFL+frK9Q2vZdYoATkpQEAt0GxCR0e52f5tHSPVhtWYK4SeW5/G4jUjv
PAU6UICyj24kZDuq1CvBQ3pl/Agk495WWkxbutk+T5zHHhLhV8U=
=okA/
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages