Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsFedora
All Forum Topics
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 1 of 14

X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-13, 2:24 AM

Everything appears to work great using my X1 Nano running Fedora 33 (kernel 5.10.21-200.fc33.x86_64), with the exception of suspending when connected to a monitor through a  Lenovo Thunderbolt 3 Dock (gen 2.) It looks like it is about to suspend. The displays blank. Power light remains solid, though, and display come back on immediately.

 

It will suspend  when monitor is connected directly to the Nano via a usb-c dongle as well as when connected to a monitor through a Dell TB16 dock (though it has many other problems...the TB16 is a terrible dock.)

 

Nano connected to nothing -> Suspends successfully


Nano -> Lenovo Dock with no monitor attached: Suspends successfully

Nano -> Lenovo Dock -> monitor  (using either hdmi or DP): Does not suspend.

Nano -> Apple usb-c HDMI dongle: Suspends successfully.

 

Nothing in dmesg or journalctl output appears to be distinct between successful and unsuccessful suspends.

 


(I booted into Windows to update the dock's firmware.  The Nano's firmware is also up to date, according to Vantage.)

Reply
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 2 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-13, 14:34 PM

Update: This is not specific to Fedora. I booted into a live Ubuntu 20.04 environment running kernel 5.8.0. Suspend behavior when connect to the Lenovo dock was the same as seen in Fedora 33.

Reply
Options

676 Posts

07-22-2019

Canada

471 Signins

5346 Page Views

  • Posts: 676
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 5346
  • Message 3 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-14, 15:03 PM

Which sleep mode are you using? Can you check in the BIOS and see if it is set to Windows (S0ix/modern standby) or Linux (S3/legacy). 

Whichever one it is using can you try the other setting? (Windows/S0ix mode is the best mode to use on this platform - I know that one has been tested internally and my the Intel folk)

 

I don't have one of these myself I'm afraid - but my colleague can look into it once we get the details on configuration

 

Mark

Reply
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 4 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-14, 16:04 PM

Hi Mark,

 

The contents of /sys/port/mem_sleep are [s2idle],which I believe means s0ix.

 

The Nano doesn't appear to have an option in BIOS to change sleep mode to S3/legacy like a few other ThinkPads I've used.

 

Thanks!

Reply
Options

676 Posts

07-22-2019

Canada

471 Signins

5346 Page Views

  • Posts: 676
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 5346
  • Message 5 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-14, 19:07 PM

Yeah - you're right, Tigerlake is S0ix only (not sure how I forgot that :))

Mark

 

Reply
Options

218 Posts

12-17-2018

United States of America

366 Signins

2411 Page Views

  • Posts: 218
  • Registered: ‎12-17-2018
  • Location: United States of America
  • Views: 2411
  • Message 6 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-15, 11:08 AM

I tested just now with RHEL 8.4 pre beta and it is working fine using a DP port on the dock.  I also ran Fedora 33 live using the 5.10.8-200 kernel and also can not reproduce as it  is suspending with out issue. I have the 1.38 version of the BIOS on my system

Reply
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 7 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-15, 15:22 PM

Thank you for testing this, Dave. My Nano was running BIOS 1.36, I updated it to 1.39 this morning. I still have the same issues suspending as before (though with the added complication that a few times it appeared to freeze the system requiring a hard power off.)

 

I wonder whether we have the same dock firmware -- mine is running 3.1.68.

Reply
Options

218 Posts

12-17-2018

United States of America

366 Signins

2411 Page Views

  • Posts: 218
  • Registered: ‎12-17-2018
  • Location: United States of America
  • Views: 2411
  • Message 8 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-15, 17:54 PM

I updated to 1.39 and my dock FW is 56.00 as reported by LVFS "fwupdmgr get-devices" not sure where you got your numbers but looks like a Widows version indicator.  I am still not able to reproduce you suspend issue and see no other errors.  I will update my kernel next as I am on a January 21 update version not the current.

Reply
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 9 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-15, 18:00 PM

"fwupdmgr get-devices" reports my dock as a "ThinkPad Thunderbolt 3 Dock" with current version "62.00"

 

Also, to eliminate the monitor as possibly being the problem, I swapped in a different HDMI display and encountered the same suspend issues.

Reply
Options

19 Posts

03-09-2021

United States of America

27 Signins

160 Page Views

  • Posts: 19
  • Registered: ‎03-09-2021
  • Location: United States of America
  • Views: 160
  • Message 10 of 14

Re:X1 Nano, Lenovo Thunderbolt 3 Dock Gen 2, Fedora 33 - Will not suspend when docked with a monitor

2021-03-15, 18:08 PM

I enabled /sys/power/pm_debug_messages and tested suspend again both with a monitor attached to the dock and without. One interesting difference is that this message about a "non-EC GPE wakeup" is seen when it fails to suspend with a monitor attached, but not when it does suspend without a monitor.

 

[...]

[Mon Mar 15 11:42:14 2021] PM: suspend-to-idle
[Mon Mar 15 11:42:15 2021] PM: Timekeeping suspended for 0.397 seconds
[Mon Mar 15 11:42:15 2021] PM: ACPI non-EC GPE wakeup
[Mon Mar 15 11:42:15 2021] PM: resume from suspend-to-idle

[...]

 

I've attached the dmesg output when a monitor is attached. It looks like I can't attach multiple files -- I'll post another reply with the dmesg output from a successful suspend without monitor.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms