bes-dev / thinkpad_x1_carbon_6th_linux

Linux configuration guide for Thinkpad x1 Carbon 6th Gen (2018)
146 stars 18 forks source link

Thinkpad Carbon X1C6 1.30 BIOS update is introducing a optimized sleep state for Linux #3

Open mamantoha opened 6 years ago

mamantoha commented 6 years ago

Hi. Can you mention this in the readme? https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-carbon-6th-gen-type-20kh-20kg/20kh/20khcto1ww/downloads/ds502282

bes-dev commented 6 years ago

Oh, sounds good. Will deep sleep work with non-patched kernel now?

mamantoha commented 6 years ago

Yes!

bes-dev commented 6 years ago

Cool! I will try it and add to readme soon. Thanks!

nrdvana commented 5 years ago

I can confirm. I just got a new X1 6th and (after walking through your excellent guide but fighting a bit with the manual edits to the acpi file) that my bios does actually have the option built-in:

Config
  -> Power
    ->Sleep State   [Linux]

and in the ACPI decompilation:

    Name (\_S0, Package (0x04)  // _S0_: S0 System State
    {
        0x00, 
        0x00, 
        0x00, 
        0x00
    })
    If ((STY0 == 0x00))
    {
        Name (\_S3, Package (0x04)  // _S3_: S3 System State
        {
            0x05, 
            0x05, 
            0x00, 
            0x00
        })
    }

    Name (\_S4, Package (0x04)  // _S4_: S4 System State
    {
        0x06, 
        0x06, 
        0x00, 
        0x00
    })

and after enabling that, I have S3 listed in dmesg output without the acpi_override

nrdvana commented 5 years ago

Oh, but my other question - do you think I should just trust the new bios, or does your acpi edit do other useful things? (not sure what all those other deletions were about)

bes-dev commented 5 years ago

Yes, for latest version of BIOS, kernel customization not need.

nikeee commented 5 years ago

Has anyone made any experience when setting this to Linux on a Dual-Boot (Linux+Windows) system?