cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
suvl
What's DOS?
Posts: 3
Registered: ‎06-11-2019
Location: PT
Views: 1,546
Message 1 of 10

X1 Gen3 Tablet Linux support

What about Linux support for the x1 tablet 3rd gen?

 

It's unusable while I'm unable to Fn-lock the keyboard and use the F-keys as normal! It's terrible to be unable to swap CTRL and FN keys.

 

How can I do these two simple things on my Ubuntu?

Support Specialist
Posts: 2,020
Registered: ‎08-02-2018
Location: US
Views: 1,475
Message 2 of 10

Re: X1 Gen3 Tablet Linux support

Hi Suvl! Base on the list of compatible Lenovo devices that will work on Ubuntu, your machine is not part of the list. You can refer to this link: https://support.lenovo.com/us/en/solutions/pd031426.



Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.

Follow us @LenovoSupport on Facebook and Twitter!

suvl
What's DOS?
Posts: 3
Registered: ‎06-11-2019
Location: PT
Views: 1,464
Message 3 of 10

Re: X1 Gen3 Tablet Linux support

Yes, indeed, it's not on any list. The question is: why. What's so special about this model (and others) that Lenovo won't support on linux? Why can't we have kernel modules for our hardware, even if closed source, and why can't we have Vantage for linux?

Lenovo Employee DaveOber
Lenovo Employee
Posts: 87
Registered: ‎12-17-2018
Location: US
Views: 1,430
Message 4 of 10

Re: X1 Gen3 Tablet Linux support

I believe you are refering to the X1 Yoga Gen 3 which is supported  for Ubuntu 16.04 and above.  I am running 18.04 and am having no issue with the function keys.  If the Light is on the esc key it requires you to hold the fn key to use the function keys if you hit fn and excape it should turn the light off and function normally.  As for the second question I am not sure what you are attempting to do.  If this is a tablet then it is not offically supported

suvl
What's DOS?
Posts: 3
Registered: ‎06-11-2019
Location: PT
Views: 1,247
Message 5 of 10

Re: X1 Gen3 Tablet Linux support

Well... I guess I'm just frustrated that I cannot run linux on my x1 tablet. Any plans to support this PC in the future?

scs3jb
Fanfold Paper
Posts: 11
Registered: ‎02-07-2018
Location: ES
Views: 805
Message 6 of 10

Re: X1 Gen3 Tablet Linux support

I haven't managed to figure out the FN lock problem yet, i understand it to be pure laziness from lenovo's part.  They need to fix their firmware.  The microphone and fingerprint scanner are also not working, i have to use an external media hub for video calls.

 

That said, everything else works well and even S3 sleep states with a bit of work.

 

You will need to update everything, disable bitlocker (you can enable it later) and install your distro in the normal way. Ubuntu 19.10 works fine.

Next clone this repo:
https://github.com/da-cali/linux-x1-tablet

This has got the appropriate fixes for trackpoint and also a solution for the bad support from lenovo to support S3 sleep states in linux. This has to be hacked in because its 100% lenovo laziness not writing decent drivers, and essentially what we are doing is modifying how power events are handled. First backup the firmware:
sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml.orig

Now patch:
sudo bash ./s3-setup.sh

Now backup the new patched version:
sudo cp /boot/dsdt.aml dsdt.aml.patched

NOTE: very important you do not lose the dsdt.aml.orig, or any of the files generated. Don't run the script multiple times directly in the folder, back everything up. These are your firmware source.

as instructed add:
GRUB_CMDLINE_LINUX="quiet mem_sleep_default=deep
to /etc/default/grub

Then run:
sudo update-grub
sudo update-grub
as it needs to find the new binary

It is critically important to backup the AML files, the original and the patch. This is because as you have modified firmware (lenovo should have done this officially!), windows will not boot anymore. To boot you need to restore the aml file into /boot.

The next section in the repo readme covers setting sleep on closing the lid.

So once you've verified you are working, and you want to boot back into windows for updates or something, you'll simply need to:
sudo cp dsdt.aml.orig /boot/dsdt.aml
sudo update-grub
sudo update-grub

and to put s3 back:
sudo cp dsdt.aml.patched /boot/dsdt.aml
sudo update-grub
sudo update-grub

Waking from sleep, press the FN key

 

Props to da-cali for this, and those the work is based off.  I am posting here because these forums do not provide any help and a load of bad advice appears in google from the community managers.

amosbird
Fanfold Paper
Posts: 9
Registered: ‎05-20-2015
Location: US
Views: 655
Message 7 of 10

Re: X1 Gen3 Tablet Linux support

The FnLock thing is such a show stopper. I really wish lenovo can do something, or at least make the default inverted

scs3jb
Fanfold Paper
Posts: 11
Registered: ‎02-07-2018
Location: ES
Views: 653
Message 8 of 10

Re: X1 Gen3 Tablet Linux support

S3 sleep states work perfectly, it stays powered on for days with out drain.

 

The FNLock is a real shame, there's not even a bios setting to flip the lock to permanently on which would solve it.  100% on lenovo's side to fix, I tried to see if i could see hardware events and write something to intercept but it doesn't see the FN keypress.

amosbird
Fanfold Paper
Posts: 9
Registered: ‎05-20-2015
Location: US
Views: 639
Message 9 of 10

Re: X1 Gen3 Tablet Linux support

I've solved the FnLock problem https://github.com/amosbird/x1tablet3-fnlocker

scs3jb
Fanfold Paper
Posts: 11
Registered: ‎02-07-2018
Location: ES
Views: 636
Message 10 of 10

Re: X1 Gen3 Tablet Linux support

Wow! Awesome stuff, will be taking a look when I get back to my x1 tablet.

We're moving

To a new platform very soon

Learn More

Check out current deals!


Shop current deals

Top Kudoed Authors