Live data from Hacker News

Suspend for the X1 Carbon 2018 on Linux

github.com

111–120 of 126 posts

Re: Suspend for the X1 Carbon 2018 on Linux

#111

Earlier quoted context omitted.

Thinkpads might not be as bad as you think. I have an X230 at home, which runs many flavors of linux extremely well and is dead silent, and a T440s at work which is also an excellent choice albeit slightly more expensive. You can pick up refurbished t440s'es for around 500-700 euros in the Netherlands, where X230's go for 200 at the very lowest price point (still with an ssd!). Unless I'm playing Counter Strike on th…

X1 Carbon 5th gen had some kinks at first but has been serving me well w/ Ubuntu for a year now. Managing the HiDPI display has been the only real headache -- if I could go back in time I'd have gotten the 1080p screen instead of the high res one. Besides that when I say it works, I mean it really works. Even the 4g card I added worked out of box on Ubuntu!

Yeah, that's why I got the 1080p screen :) Learned my lesson with the 2nd gen - that was a piece of crap.

Re: Suspend for the X1 Carbon 2018 on Linux

#112
post #34
post #28

Earlier quoted context omitted.

I don't think this is even S0 suspend. At least a few year ago thinkpads have already moved to something called IRST, Intel's "suspend to SSD after sleeping for several hours" at firmware level. See https://mjg59.dreamwidth.org/26022.html for details. I actually got it working with the latest kernel at that time but didn't feel comfortable using it because of all the horror stories with firmware level shenanigans.

this is something else. IRST was Intel custom implementation, back when S0 did not exist. It required a custom partition. IIRC, suspend to disk when battery runs out is now one of the standard S0 features. At the OS level (windows 10) there is a telemetry to check the depletion rate, and initiate suspend to disk when the rate is too high or battery is too low. Check the logs made by microsoft powercfg, they are very…

> At the OS level (windows 10) there is a telemetry

Nitpick: "Telemetry" means "measurement far away". Does this get sent to microsoft ("tele") or is it just a measurement ("metric")?

Re: Suspend for the X1 Carbon 2018 on Linux

#113
post #79

Earlier quoted context omitted.

Did you find anything besides S3 that didn't work? I have the 6th gen X1 and once I patched in ACPI my ubuntu install has worked perfectly.

Can you please tell me what the battery life is on Ubuntu (with ACPI patch) vs Windows (with or without ACPI patch)?

I didn't have windows on long enough to get solid battery numbers, but on ubuntu I get 8 hours of work use.

Re: Suspend for the X1 Carbon 2018 on Linux

#114

Didn't Lenovo used to get Thinkpads certified by Ubuntu and RH ? Did they give up on it ? That only leaves Dell as the other main vendor (not counting smaller niche players) that still gives a shit. Edit: Looks like they still do, just that certification doesn't mean shit. This is more RH and Canonical's fault than Lenovo's. What's the point of certifying something if you can add a note (as Canonical did) that suspen…

> Slow Resume from Suspend > This system does not not meet our performance criteria for resuming from suspend, but suspend/resume is functional and other functionality is not affected. Ah, so it does meet their performance criteria after all. The elusive double negative.

Upon further reading, there are further issues with this laptop with thermal throttling (only on linux, not windows). And no support for wwan or fingerprint reader. The certification is beyond useless.

Re: Suspend for the X1 Carbon 2018 on Linux

#115

Earlier quoted context omitted.

ME is removable. Coreboot devs will often remove it for you if you meet them in real life and ask nicely. I've since got a setup for doing that myself so if you are ever around me in real life ask nicely and I'll remove it from your machine

> ME is removable. With proper hardware tooling and care, perhaps. (Side question: even for latest gen chips?) For the vast majority of people, ME is not removable. For the AMD users, AMD's ME equivalent is not removable.

Yes, even for latest gen chips. See http://blog.ptsecurity.com/2017/08/disabling-intel-me.html for details. me_cleaner supports this method.

Re: Suspend for the X1 Carbon 2018 on Linux

#116
post #3

I planned to buy this laptop some time this year. Has lenovo stopped supporting linux as well as they used to? I've owned two lenovo laptops and loved them and planned to buy another. I'm also looking at dell laptops since their linux support is reportedly excellent.

I have a full guide to install arch on a lenovo x1 carbon gen 6 (with notes on the patch this post is about), right here if you would like to get it done. https://github.com/ejmg/an-idiots-guide-to-installing-arch-o... The hardware is all supported from the get go, no tweaking or hacks to get it working (well, besides the bios + s3 hack). Besides the patch provided by the OP, everything else works without issue on Li…

Tell that to apple... grrr

Re: Suspend for the X1 Carbon 2018 on Linux

#117
post #105
post #103

Earlier quoted context omitted.

I own Xiaomi laptop you mention for almost a year now (2016 model). It is overall a pretty fantastical laptop, especially for the price. But be aware, that some models (mine as well) have coil whine issue (1), so it may not be completely silent. Also, BIOS is very limited, you can disable security boot, choose boot device and that's pretty much it. However, Linux runs perfectly without jumping through any hoops. (1)…

Thanks for those comments about the Xiaomi 12. What do you find lacking in the BIOS? Don't you use EFI instead?

Yes, by BIOS I mean the hardware setup utility you invoke before booting OS. It is very barebones compared to what ASUS offers in their laptops. There are no advanced settings such as configuring CPU features, timings, etc. It doesn't really bother me, since I don't tend to tinker with those settings. But I dislike the trend of locking down hardware.

Re: Suspend for the X1 Carbon 2018 on Linux

#118
post #95

Earlier quoted context omitted.

Seconded. I have a 9360 and I've had everything work out of the box with Ubuntu 17.04, 17.10,and 18.04. As well as Linux Mint 18.3. Only downsides are Linux's generally patchy support for hidpi, some programs scale and others don't (opt for 1080p version or set resolution to 1080p). And also the placement of the webcam is a bit strange. Battery life is good in Ubuntu, between 6 and 10 hours depending on use case.

This is third degree price discrimination by Dell. I should have been more precise in my first comment. To be crystal clear: the 9360 has a bios featuring the proper ACPI tables, which are omitted on purpose from other cheaper models, breaking S3 on purpose. This is why injecting proper tables as proposed in this link restores normal functionality. It is not rocket science, just hard enough to do without proper docum…

With cheaper models you mean non-XPS-13 models?

Re: Suspend for the X1 Carbon 2018 on Linux

#119
post #49

Earlier quoted context omitted.

Make it a BOIS setting then.

No need: the bios can present different acpi tables depending on the OS who is asking for them. all it takes is a switch (case when..statement. So there was no reason whatsoever to remove the code.

Because so many BIOSes provide completely broken ACPI tables to non-Windows OSes, I think Linux reports itself as being Windows to the ACPI code these days. So no, it probably can't.

Re: Suspend for the X1 Carbon 2018 on Linux

#120
post #99
post #45

Earlier quoted context omitted.

There are high-res models in the T-series. I.e., available in both 1080p and 1440p, the latter just at the point where you can use it without High-DPI tech if you have normal 20/20 vision, if you have worse, you want less resolution (as you can't use the higher resolution anyway).

My vision is far from 20/20, and I have trouble discerning road signs at a distance, but I can see how pixels are square on most 24" FHD displays. For development, a lot depends on the quality of font antialiasing and hinting, though; Linux used to provide superb font rendering in this regard.

I too don't have too good vision, but the 1080p 15" and the 2160p 39.5" at slighly higher distance are just at the point where I don't need High-DPI technology. Seeing pixels at 24" is not that hard. There are screens with significantly higher linear resolution.
Post reply on HN