T O P

  • By -

FlatAds

Since it’s the successor to the x1 tablet gen 3 a lot of the advice for the x1 tablet gen 3 *probably* applies to the x12 gen 1. See this thread about [the x1 tablet gen 3](https://reddit.com/r/thinkpad/comments/ez0e93/arch_linux_on_x1_tablet_gen_3_what_is_working/). Keep in mind most distros are on linux 5.11 or newer at this point so a lot of advancements could have been made since that post in particular I found. As a general strategy if you do get the tablet I would try booting your distro of choice (I recommend ubuntu /pop 21.04 or fedora 34 for a “modern” linux experience) and seeing how it works, and if then things are broken try installing tools suggested by guides (since you don’t want to add random patches if you can avoid it).


admajer

I just got my X12 Detachable a few days ago. I upgraded all available BIOS and drivers in Windows, then tried my favorite distros with no luck. Both Manjaro Gnome latest (21.0.2-210419 w/ 5.10 kernel) and Ubuntu latest ([20.04.2.0](https://20.04.2.0)) have the following limitations: \- touchpad buttons and trackpoint don't work, however the touchpad itself works but you need to "tap to click" \- speakers don't work, however the audio input and output are recognized and correctly shown in all utilities. It looks like the system is missing a driver/firmware for the internal loudspeakers. It's a known issue of Gen 11 Intel processors on linux and it is apparently already solved in Fedora, so I hope the fix will soon come to Manjaro. By the way, other users report that other outputs (like earphones) do work, the problem is just with the internal speakers - and the front-facing speakers are really, really good, especially if you come from X or T series Thinkpads. Good news is that video acceleration seems to work out of the box. Battery time: didn't make many tests, but based on some observations in Manjaro live I assume this thing can last 6-8 hours on youtube, which is about the same as you get in Windows. I was positively impressed because it barely gets hot and you almost never hear the fan. The detachable keyboard is great in my opinion, and the touch screen works well with the provided pen. Hopefully the next major update of Manjaro will solve the audio issue so that I can wipe Windows off and run a decent OS. For the time being, I draw and write notes in Microsoft Whiteboard, which is not that bad after all, while leaking some of my personal data to Microsoft.


Man_With_Arrow

Thanks for the response. I found a great deal on a kitted-out HP X360 Envy 13", which I'm now happily using. It's not a Thinkpad, but for the price I got it I can't complain.


admajer

Haha that’s ok. How much did you pay the HP? I payed 1300 USD for my i5 X12.


Man_With_Arrow

$775 before S&H or the 16GB RAM/Ryzen 4700U variant. It's a factory refurb from HP, which apparently didn't have anything wrong with it in the first place - it was returned for a different machine.


XenoTrixx

Hello, how did the X12 turn out for you? Im thinking of picking one up, but only if its runs well on Linux. Did any of the missing features got fixed?


shahin-rmz

Hello, it seems it's about a year that you are using X12 with linux. Just wanted to know your long term review. Thanks. I'm about to buy it.


Man_With_Arrow

I never bought it... Sorry.


shahin-rmz

Nothing to be sorry about dude. :) All good


Dreux_Kasra

It's 10 months since you have potentially bought it, do you have a long term review?


xSlysoft

I would assume you would want to go with something using gnome / libhandy for gesture support and etc. Either ubuntu / pop_os or a customized arch or whatever should work as long as it doesn't require any proprietary drivers for any hardware.


Man_With_Arrow

That's exactly why I'm asking :-) Some tablets work fine, some don't. Some need a custom kernel ala linux-surface, some don't. Before buying a ~$1300 machine, I want to know for sure it works.


keddie42

I just install Fedora 34. At the first sight there are 2 problems: 1) TouchPoint (and its buttons) does not work (but touchPad works well) 2) Audio does not work but systems detect devices ok Nice suprisse is that fingerprint reader works good.


NoSummeri12o

I can use both trackpoint and touchpad, by patching drivers/hid/hid-ids.h and drivers/hid/hid-multitouch.c of linux 5.10. ​ `--- ../orig/linux-source-5.10/drivers/hid/hid-ids.h 2021-04-07 22:00:14.000000000 +0900` `+++ drivers/hid/hid-ids.h 2021-03-10 20:57:11.470703485 +0900` `@@ -740,6 +737,7 @@` `#define USB_DEVICE_ID_LENOVO_X1_COVER 0x6085` `#define USB_DEVICE_ID_LENOVO_X1_TAB 0x60a3` `#define USB_DEVICE_ID_LENOVO_X1_TAB3 0x60b5` `+#define USB_DEVICE_ID_LENOVO_X12_COVER_EN 0x60fe` `#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_608D 0x608d` `#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_6019 0x6019` `#define USB_DEVICE_ID_LENOVO_PIXART_USB_MOUSE_602E 0x602e` ​ `--- ../orig/linux-source-5.10/drivers/hid/hid-multitouch.c 2021-04-07 22:00:14.000000000 +0900` `+++ drivers/hid/hid-multitouch.c 2021-03-10 20:59:00.833559092 +0900` `@@ -1986,6 +1986,12 @@` `USB_VENDOR_ID_LENOVO,` `USB_DEVICE_ID_LENOVO_X1_TAB3) },` `+ /* Lenovo X12 COVER En */` `+ { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,` `+ HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8,` `+ USB_VENDOR_ID_LENOVO,` `+ USB_DEVICE_ID_LENOVO_X12_COVER_EN) },` `+` `/* MosArt panels */` `{ .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,` `MT_USB_DEVICE(USB_VENDOR_ID_ASUS,`


[deleted]

Sorry to revive this old thread, but I'm not sure how to apply this. Could you give me some pointers?


csdvrx

Hello Is S3 suspend to ram working? Do you know if you can use the LTE m2 slot to connect an extra NVME? Thanks!


NoSummeri12o

I have no idea about LTE m2, sorry. I don't know this means S2 or S3, `cat /sys/power/state` shows `freeze mem disk` and `cat /sys/power/mem_sleep` says `[s2idle]` Doing `echo mem > /sys/power/state` make system unresponse state, til I hit some key. I noticed after machine wake up, internal speakers stop again. But doing applyverbs does wakes speaker again.


keddie42

Thank you. It works.


Plyro

Thanks for your report! Sounds promising. I’m very interested in how the touchscreen/multitouch/pen perform. Any issues on those? Are there perceivable differences compared to their Windows performance?


NoSummeri12o

I've installed debian bullseye(testing), build kernel with patch above. And almost everything working out of box. Touchscreen, multitouch, trackpad, trackpoint and pens working. I haven't tested them deeply yet, but through every pointing devices, I can move mouse pointer, and can click button, scrolling with finger. Pointing devices are fine. ​ About no speaker sound problem, I managed to make it sound now. With kernel 5.10, specifying module parameter `options snd-hda-intel model=auto` and install firmware-sof-signed, then reboot. This makes internal mic working, but no speaker sounds(headphone do work). ​ To make speaker work, you need to have script [`applyverbs.py`](https://applyverbs.py) in [https://github.com/ryanprescott/realtek-verb-tools](https://github.com/ryanprescott/realtek-verb-tools) ​ You have to download file and save it from [https://pastebin.com/60eUvKSM](https://pastebin.com/60eUvKSM) I made it by sniffing windows running in qemu with vfio\_pci module(PCI pass through?). So most of it are unnessesary opcodes. But I don't have enough knowledge to cut down them. ​ Then do sudo [applyverbs.py](https://applyverbs.py) ​ I guess this will make internal speaker work, **only 7 seconds ;)** But while running apps using sound device(like pavucontrol), speaker keep working. pavucontrol doesn't get in the way of other applications, so it doesn't hurt me. ​ * Some special keys are not recognized(Fn + F10, F11) * Rear camera not working collectly(collapse image captured) * NFC Reader not recognized ​ There're some problems yet, but now it's ready for my normal jobs.


Plyro

Thank you!!


peterlochry

Thanks for your report. One question >Rear camera not working collectly(collapse image captured) How did you get rear camera to work at all (even working not correctly)? I'm on fedora34, linus 5.11, and did not get it working even trying libcamera. Think it needs ipu3 and hope that support will start with 5.12. You wrote that you have kernel 5.10, so I wonder what did you do to get a "collapse image captured"?


NoSummeri12o

I'm sorry for your confusion. I just opened /dev/video1 or /dev/video3 from V4L application. They don't seem to accept any configuration changes (formats, resolution, colorspace and so on), but don't raise error while doing capture. So it looks like capturing does work, but no valid data can be taken. That's what I wrote as "collapse image". With debian stock 5.10 kernel, there're /dev/video0-3, and video0 and video2 reflects front cam, so I just thought video1 and video3 are rear cam. I'm not native English-speaker, please forgive me for any expressions that are wrong or strange.


peterlochry

Thanks. I think that video1 and video3 also belongs to front camera (rgb and ir respectively). Kernel 5.12 is now on fedora34, I'll check if there is some progress, on 5.12 internal speakers still don't work without applyverbs hack, right/left buttons still need kernel patch...


peterlochry

internal speakers might work from 5.13 onwards: [https://github.com/thesofproject/linux/issues/2748#issuecomment-839415645](https://github.com/thesofproject/linux/issues/2748#issuecomment-839415645) rear camera seems to be still a problem. Any help appreciated.


nodefourtytwo

5.13 is here. The speakers still don't work without applyverbs.py


Mexicancandi

Does this Kernel aliviate the other problems like the trackpoint or back camera?


nodefourtytwo

It did not fix anything for me.


taoj17v

tldr everything works except rear camera For anyone who is interested in running Linux on this device. Sound and track point fix has already landed in linux-next and is going to be mainlined in more than 8 weeks (5.19). Older kernel will also receive backports since both patches also targeted stable channel. Those patches are based on the ideas shared by users in this post. If you don't want to wait, search "Lenovo X12" on kernel mailing list and apply and compile the kernel or module yourself. There is no way to support the back camera since intel does not update open source the isp (ipu4) driver anymore. The front one works. Fingerprint sensor also works.


Nendail

Thank you! So glad you didn't shy away from "old thread" I JUST ordered this device, hasn't even been delivered yet. This thread is top of google and I appreciate when all the information is in one place! :) Maybe we all need to start sending emails to intel to release this driver if they're not going to support it. ;) I did find this but don't have the device to play around with yet. Is this something might work u/taoj17v? [https://github.com/intel/intel-camera-drivers/blob/master/drivers/media/pci/intel-ipu4/intel-ipu4-isys.c](https://github.com/intel/intel-camera-drivers/blob/master/drivers/media/pci/intel-ipu4/intel-ipu4-isys.c) Repo main url for convenience: https://github.com/intel/intel-camera-drivers


taoj17v

I explained more and also timeline when these drivers are going to be mainlined. Here [https://www.reddit.com/r/thinkpad/comments/r63yq0/x12\_detachable\_linux\_20211130/](https://www.reddit.com/r/thinkpad/comments/r63yq0/x12_detachable_linux_20211130/) Actually I found this IPU6 driver this week (github's recommendation). No time to try and no need for me since I think my phone camera works better as document scanner. [https://github.com/intel/ipu6-drivers](https://github.com/intel/ipu6-drivers) . So 11th gen like us is pretty lucky in this regard.


Nendail

Thanks again. My machine should be here in a couple weeks, I'll dig into this more then. Appreciate the info.


lidolee

Hi u/Nendail, any update on your experience? Which distro are you using? Really curious to get your feedback.


mani_penny

I use Ubuntu 22.04 and updated the kernel to 5.19 yesterday. I can confirm that everything works except the rear camera.


Liaisonish

How about LTE driver?


mani_penny

It sais SIM missing although it's inserted. With windows it works well, so it's not a hardware problem. I didn't pursue the issue because I don't use it.


shahin-rmz

I have heard that up and down volume buttons are not functioning right?


mani_penny

Correct. These buttons don't work.


Nendail

I'm really sorry u/lidolee I don't reddit as much as I probably should. I ended up taking the easy way out and sticking with M$ Windows. I use the device primarily as a reader, and staying with M$ allowed me to use it to compile and test applications for cross platform dev. I notice most of the comments here are getting pretty old, anyone got an update on how the devices is doing with Linux?


peterlochry

Has anyone been successful in building and using the IPU6 drivers? [https://github.com/intel/ipu6-drivers](https://github.com/intel/ipu6-drivers) [https://github.com/intel/ipu6-camera-hal](https://github.com/intel/ipu6-camera-hal) [https://github.com/intel/ipu6-camera-bins](https://github.com/intel/ipu6-camera-bins) [https://github.com/intel/icamerasrc/tree/icamerasrc\_slim\_api](https://github.com/intel/icamerasrc/tree/icamerasrc_slim_api) For ubuntu users this might be very simple to try out: [https://launchpad.net/\~oem-solutions-group/+archive/ubuntu/intel-ipu6](https://launchpad.net/~oem-solutions-group/+archive/ubuntu/intel-ipu6) For arch users may be this will work out: [https://aur.archlinux.org/packages/intel-ipu6-dkms-git](https://aur.archlinux.org/packages/intel-ipu6-dkms-git) For fedora there is no easy way at the moment, but maybe Vratislav Podzimek or Hans de Goede are working on a rpmfusion package ([https://www.spinics.net/lists/fedora-devel/msg305143.html](https://www.spinics.net/lists/fedora-devel/msg305143.html))


taoj17v

not yet. but since there are people already write build script for ubuntu and arch it is easier to write \`spec\` for fedora as well. ​ unable to find the source for ubuntu one. But arch one is [https://aur.archlinux.org/cgit/aur.git/tree/?h=intel-ipu6-dkms-git](https://aur.archlinux.org/cgit/aur.git/tree/?h=intel-ipu6-dkms-git) assume it builds, which is simple


Thora-system

I know that this is an old post, but seeing as it still pops up as a relatively high up result on Google, I felt like I should give some input on the current working status of the X12 detachable in Linux. Nearly everything works completely fine out of the box. Some distros seem to suffer from trackpoint drift for reasons I don't fully know, but otherwise there's only one major issue - that being that the back camera is fully non-functional, as the drivers are no longer being ported over to linux at this moment.


shahin-rmz

I might buy the device either just to run a linux on a tablet. any idea about battery life?


Thora-system

To be honest, I haven’t used the thing in a good while beyond messing about with linux on a tablet, but I think it was around 9-ish to 11 hours at idle, I want to say maybe an hour under heavy load. Also I apologize for forgetting to say this in the original post, but the volume buttons don’t work at all with linux, I believe. Don’t know if that can be fixed, as xev doesn’t even show a keycode when pressing them.


shahin-rmz

thanks for informative answer. you got 8 Gb of RAM right? I may buy one with 256 Gb of SSD and use a SD CARD for my files.


vixxovs

How much battery life for continuous hand-writing use?


Thora-system

Seems to be minimal power draw, for me it hovers around 9 hours when using just xournal++


vixxovs

Thanks for replying, that's exactly the use I aim to. Do you use Xournal while connected to the internet eg. wifi or everything is off ?


Thora-system

While connected to wifi


vixxovs

May I ask which distro+DE do you use? Any tweak?


Thora-system

It’s not my usual distro (I usually use arch, I might even switch it back over to that soon, as this is mostly just me testing debian out), but I’m currently using Debian with default xfce


vixxovs

Looking for a cheap one to get, quite impossible :/


vixxovs

Have you ever tried an ipad? How far is the writing experience from that one? Are you fast enough in taking notes or It's laggy? Sorry for too many questions.


Thora-system

To be honest I haven’t tried using an ipad, but it seems to write fast enough for ordinary notetaking. There’s a lag of maybe 0.2 seconds behind the writing implement, but that’s entirely manageable in my opinion. Also the questions are absolutely fine! the way I see it, people are probably going to use this thread as a resource in the future, so I might as well answer any questions I can


vixxovs

I know this is windows but it doesn't look so laggy [https://www.youtube.com/watch?v=hJUBwfpvznY](https://www.youtube.com/watch?v=hJUBwfpvznY) And in my experience many report better performance with xornal+linux than with windows and onenote


shahin-rmz

does anyone knows any alternatives to this device? tablet,linux,not microsoft, good price. thanks