You are not logged in.

#1 2018-03-07 00:43:39

PastExcitement
Member
Registered: 2018-03-01
Posts: 21

Lenovo X1C6 and S0i3

After reading through a variety of links (below), I am still not able to get my Lenovo X1C6 into S0i3. From those links, it appears that S0i3 can be achieved by putting all the PCIe endpoint devices into ASPM L1 or D3.

I've used

powertop --auto-tune

and tlp to enable auto power management for as many devices as possible, but I still have the following which don't appear to support "runtime power management". I'm not sure where to go from here. Does anyone have any ideas?


Software Settings in Need of Tuning
Description	Script
VM writeback timeout	echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';

Untunable Software Issues
Description
I2C Adapter i2c-6 has no runtime power management
I2C Adapter i2c-7 has no runtime power management
I2C Adapter i2c-5 has no runtime power management

Links:
https://marc.info/?l=linux-pm&m=141772113225063&w=2
https://www.dpin.de/nf/baytrail-suspend-s3-vs-s0i3/
https://www.dpin.de/nf/finally-s0i3-is- … el-4-15rc/
https://01.org/blogs/rzhang/2015/best-p … ate-issues

Offline

#2 2018-03-07 10:30:56

johannesg00
Member
Registered: 2010-11-30
Posts: 70

Re: Lenovo X1C6 and S0i3

Have you tried Ubuntu, like suggested in the Lenovo forum?

Offline

#3 2018-03-07 16:14:02

PastExcitement
Member
Registered: 2018-03-01
Posts: 21

Re: Lenovo X1C6 and S0i3

I haven't tried that yet, but I will try tonight.

Offline

#4 2018-03-07 16:50:46

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 72

Re: Lenovo X1C6 and S0i3

Did you go through this thread too?

https://bbs.archlinux.org/viewtopic.php?id=234913

Offline

#5 2018-03-07 17:54:30

PastExcitement
Member
Registered: 2018-03-01
Posts: 21

Re: Lenovo X1C6 and S0i3

CarbonChauvinist: Yes, I followed that thread closely as the information unfolded. However, I'd also like to get S0i3 working.

Offline

#6 2018-03-08 04:19:34

PastExcitement
Member
Registered: 2018-03-01
Posts: 21

Re: Lenovo X1C6 and S0i3

Unfortunately, Ubuntu 16.04 with the 4.13.0-36-generic kernel still uses about 4W per hour when suspended which doesn't appear to be in line with S0i3, and this is with

powertop --auto-tune

. I'll post this on the Lenovo forums, but at this point, I am not confident that the X1C6 was accurately certified by Lenovo to support S0i3 in Linux.

Offline

#7 2018-03-08 05:45:16

johannesg00
Member
Registered: 2010-11-30
Posts: 70

Re: Lenovo X1C6 and S0i3

PastExcitement wrote:

Unfortunately, Ubuntu 16.04 with the 4.13.0-36-generic kernel still uses about 4W per hour when suspended which doesn't appear to be in line with S0i3, and this is with

powertop --auto-tune

. I'll post this on the Lenovo forums, but at this point, I am not confident that the X1C6 was accurately certified by Lenovo to support S0i3 in Linux.

Thank you for testing. I'm curious about their answer...

Offline

#8 2018-03-08 06:52:03

johannesg00
Member
Registered: 2010-11-30
Posts: 70

Re: Lenovo X1C6 and S0i3

Maybe it has something to do with the missing pc9 and pc10 states? https://marc.info/?l=linux-pm&m=141772113225063&w=2

On haswell ULT and Broadwell ULT these states can be entered as part of Linux's normal Idle flow if some preconditions are met.  [...] You can use powertop or turbostat to confirm entry into pc8/pc9/pc10.

Offline

Board footer

Powered by FluxBB