Live data from Hacker News

Suspend for the X1 Carbon 2018 on Linux

github.com

51–60 of 126 posts

Re: Suspend for the X1 Carbon 2018 on Linux

#51
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 Linux. It's kind of why this is so upsetting, in a way... the ability to make a linux machine doesn't require specialty companies, it just requires vendors not do dumb crap like completely dropping support for something without warning, etc.

Re: Suspend for the X1 Carbon 2018 on Linux

#52
post #14
post #4

Unnecessary headline editorializing. Could we have it changed to the original?

Yes, we've reverted the title from “ThinkPad X1 Carbon 2018: S3 Suspend Workaround for Linux (shame on Lenovo)”. The guidelines are clear about this, so submitters should please follow them. https://news.ycombinator.com/newsguidelines.html

Sorry for this. I let my emotions get the better of me.

Re: Suspend for the X1 Carbon 2018 on Linux

#53
post #33
post #5

This is short on details. So here are some more: since S0 ( active suspend) became more popular with windows 10, most manufacturers have decided to REMOVE THE CODE from the bios that allows S3 (suspend to ram). Worst case is they left the stubs pretending S3 is supported, so the computer goes to sleep - but never wakes up! Dell, I'm looking at you!! Workarounds come from redoing the S3 code, mostly in ACPI tables wit…

It's worrying how obscure and poor standards compliance modern hardware is starting to display. And we're talking about PCs. Let's not even discuss mobiles. In 2012 I bought a MacBook Air to run Linux. It's a great silent machine with all Intel hardware, except the pretty poor quality Broadcom wireless card. It boots with any vanilla kernel, and everything just works. Except for poor wireless range. What machine can…

HP Spectre x360. I run Arch Linux on it and everything has been fantastic.

Re: Suspend for the X1 Carbon 2018 on Linux

#54
post #33

Earlier quoted context omitted.

It's worrying how obscure and poor standards compliance modern hardware is starting to display. And we're talking about PCs. Let's not even discuss mobiles. In 2012 I bought a MacBook Air to run Linux. It's a great silent machine with all Intel hardware, except the pretty poor quality Broadcom wireless card. It boots with any vanilla kernel, and everything just works. Except for poor wireless range. What machine can…

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…

The T440 is no longer being manufactured (the current model is T480). I have a refurb T460 at home[aside] which works great out of the box with any Linux distro and has a keyboard that is a pleasure to use when contrasted with most laptops out there. And the repairability also means that you can buy a cheaper model and only once you need it extend the sdd/ram when you need it.

[aside]: it has a top IO panel that every now an then decides to stop working, including the power button mouse and keyboard, although usb ports continue to work. The only option at that point is to hard reset (I carry a paper clip in my keychain :-/). Haven't found an explanation for the problem. If anyone here has any ideas, please reply. I've googled all around. I have found no correlation with anything so far.

Re: Suspend for the X1 Carbon 2018 on Linux

#55
post #42
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 just switched from an MBP 2013 to a ThinkPad T480 running Ubuntu 18.04. I'm loving it. Linux support has been really great and I didn't have to install a lot of special drivers. (e.g. trackpad support with multi-touch scrolling worked from the start) A lot of Dell's have that terrible bottom placement of the webcam. Things to love about the T480: - Fairly portable at around 3.5 lbs with a 14inch screen. It avoids t…

I have to second how awesome Hot-swap batteries are. While I do need to find a socket for this, having 'just' a T540p (can recommend, nice device), being able to swap the battery in seconds instead of charging >30 min (depending on how large your charger is) is awesome. So if you can hot swap, get another non-protuding battery instead of one that sticks out from the laptop, as that makes it hard to hold it on your palm (works like a charm, and the robustness makes you worry less). In that sense it is easier to use on-the-go than a tablet, due to the ease of holding (just wrap your fingers around the battery, and it will take a couple weeks to get the strength in your arm to do it comfortably if you are not used to such loads).

Re: Suspend for the X1 Carbon 2018 on Linux

#56
post #5

This is short on details. So here are some more: since S0 ( active suspend) became more popular with windows 10, most manufacturers have decided to REMOVE THE CODE from the bios that allows S3 (suspend to ram). Worst case is they left the stubs pretending S3 is supported, so the computer goes to sleep - but never wakes up! Dell, I'm looking at you!! Workarounds come from redoing the S3 code, mostly in ACPI tables wit…

Is that what is happening with the XPS line? My XPS 13 9333 goes to "sleep" but the backlight and the fan stay on, and the only way to revive it is to do a hard reset. And that's on latest windows 10.

Yes. You must either cook and inject your own ACPI table (taking inspiration from a similar model to save you time), or go with S0 only using a kernel patch.

I have done some bios and acpi code before on coreboot. It is tough, lots of work and no guaranteed results if you don't have access to the specs (NDA)

Anyway I really don't recommend you do that unless you have experience, documentation and time.

Re: Suspend for the X1 Carbon 2018 on Linux

#57
post #33
post #5

This is short on details. So here are some more: since S0 ( active suspend) became more popular with windows 10, most manufacturers have decided to REMOVE THE CODE from the bios that allows S3 (suspend to ram). Worst case is they left the stubs pretending S3 is supported, so the computer goes to sleep - but never wakes up! Dell, I'm looking at you!! Workarounds come from redoing the S3 code, mostly in ACPI tables wit…

It's worrying how obscure and poor standards compliance modern hardware is starting to display. And we're talking about PCs. Let's not even discuss mobiles. In 2012 I bought a MacBook Air to run Linux. It's a great silent machine with all Intel hardware, except the pretty poor quality Broadcom wireless card. It boots with any vanilla kernel, and everything just works. Except for poor wireless range. What machine can…

Dell XPS 13. Comes with Linux and the new model is very quiet (fans don't even spin with most tasks).

Re: Suspend for the X1 Carbon 2018 on Linux

#58

Earlier quoted context omitted.

I have both the X1 carbon 6th (2018) and 5th. The 5th supports the S3 sleep mode and everything works just fine. If you don't need the newer model, the 5th gen is a great Linux machine.

Any problems with the 6th despite the sleep mode? Do you have the higher resolution version?

I do (unfortunately) have the HiDPI model. I personally don't care at all about more pixels on this machine, but I understand why people want this.

HiDPI is kinda a mess in general on Linux, from my limited use cases. I run X11 with i3wm on Arch, and the application support is all over the place. `xrandr` seems unhappy with multiple monitors at different resolutions (as is my case at work, with external displays), it's a mess.

All that being said, with a combination of `xrandr --dpi` and ctrl-+/- in Firefox and my terminal, things can be made to look OKish.

TLDR: If you can get a computer without HiDPI, I personally recommend it.

Re: Suspend for the X1 Carbon 2018 on Linux

#59
post #33
post #5

This is short on details. So here are some more: since S0 ( active suspend) became more popular with windows 10, most manufacturers have decided to REMOVE THE CODE from the bios that allows S3 (suspend to ram). Worst case is they left the stubs pretending S3 is supported, so the computer goes to sleep - but never wakes up! Dell, I'm looking at you!! Workarounds come from redoing the S3 code, mostly in ACPI tables wit…

It's worrying how obscure and poor standards compliance modern hardware is starting to display. And we're talking about PCs. Let's not even discuss mobiles. In 2012 I bought a MacBook Air to run Linux. It's a great silent machine with all Intel hardware, except the pretty poor quality Broadcom wireless card. It boots with any vanilla kernel, and everything just works. Except for poor wireless range. What machine can…

Dell XPS runs linux flawlessly. Dunno about wireless range though

Re: Suspend for the X1 Carbon 2018 on Linux

#60
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 recently got an HP Envy 17t. It’s working perfectly for me, on Arch Linux + KDE/Plasma. I configured it for $20 more to have an Inte wireless card. The Intel wireless is working excellent on Linux. Sleep and wake-up works perfectly fine too. Secondary things like screen/LCD backlight control, keyboard backlight control, etc — all worked 100% out of the box with KDE/Plasma on Arch. I’d recommend it.

It’s an excellent machine. The Intel wireless chip in it is “Intel 7265” — it uses the open-source “iwlwifi” driver. The machine I got also had the i7-8550U, an 8th gen Intel chip with has four hyper-threaded cores that has a TDP of a mere 15 W. It also had a 512 GiB PCIe SSD from an obscure brand called “SK Hynix”, 16 GB DDR4 RAM, and an NVIDIA MX150 GPU (with 4 GB of graphics memory) in addition to the integrated Intel UHD graphics that comes with the i7-8550U.

Post reply on HN