You are not logged in.

#26 2014-04-07 19:50:16

dooblem
Member
From: Toulouse, France
Registered: 2012-03-09
Posts: 11
Website

Re: Thinkpad X1 Carbon Gen 2

For a usable 3 buttons trackpoint, add a /etc/X11/xorg.conf.d/90-synaptics-clickpad.conf :

Section "InputClass"
        Identifier "ClickPad"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "60% 0 0 40% 40% 60% 0 40%"
        Option "AreaTopEdge"          "70%"
        Option "AreaBottomEdge"       "0"
EndSection

With that you get the lower part of the touchpad working too!

The AreaTopEdge seems weird, but I think the Top edge is starting "above the real physical touchpad". Just adjust it to your needs.

I adapted the config from the AUR package: https://aur.archlinux.org/packages/xf86 … rackpoint/
Not tested yet, but Wheel emulation should work with this AUR package.

Anyone with a clue on adaptive key switch ?

Offline

#27 2014-04-08 09:26:40

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

Are you using the 1.8 Synaptics snapshot? My config file for the trackpad is 50-synaptics.conf, but the SoftButtonAreas option doesn't seem to be working for me.

Offline

#28 2014-04-08 09:40:42

dooblem
Member
From: Toulouse, France
Registered: 2012-03-09
Posts: 11
Website

Re: Thinkpad X1 Carbon Gen 2

No, I'm not using 1.8 snapshot. The version I'm using :

xf86-input-synaptics 1.7.2-1

And I'm running Manjaro. But I think it should work in Arch with 1.7.4 too.

Offline

#29 2014-04-10 08:19:49

dooblem
Member
From: Toulouse, France
Registered: 2012-03-09
Posts: 11
Website

Re: Thinkpad X1 Carbon Gen 2

I got the trackpoint + clickpad working, with the upper part being used for the trackpoint, AND wheel emulation, with the AUR package.

https://aur.archlinux.org/packages/xf86 … rackpoint/

Offline

#30 2014-04-10 14:29:11

acrodaniel
Member
Registered: 2014-04-10
Posts: 8

Re: Thinkpad X1 Carbon Gen 2

cool thanks a lot.
yesterday i got my x1 carbon gen2 and i am quit happy with it.

the touchpad works now perfekt
but the only problem what i have now is the FN button?
do you have some tips for me

thank you

all the best

===
the post before from aur is very good smile

Last edited by acrodaniel (2014-04-10 14:30:09)

Offline

#31 2014-04-10 19:49:30

dooblem
Member
From: Toulouse, France
Registered: 2012-03-09
Posts: 11
Website

Re: Thinkpad X1 Carbon Gen 2

I applied the following patch to my kernel and recompiled it today.

Fn key enables to switch the adaptive keyboard. Lots of keys are not even triggering events, but at least volume and brightness keys are working fine!

Thanks Shuduo Sang for the patch:
https://lkml.org/lkml/2014/3/11/167

But I don't know when it will be integrated to main kernel tree...

The problem I'm trying to fix now is avoiding my laptop to enter "sleep" when closing the lid.. and never awakening then..

Last edited by dooblem (2014-04-10 19:50:56)

Offline

#32 2014-04-11 01:27:53

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Thinkpad X1 Carbon Gen 2

dooblem wrote:

But I don't know when it will be integrated to main kernel tree...

http://git.kernel.org/cgit/linux/kernel … eb829a7341 

Today apparently smile

Offline

#33 2014-04-11 12:44:57

acrodaniel
Member
Registered: 2014-04-10
Posts: 8

Re: Thinkpad X1 Carbon Gen 2

dooblem wrote:

I applied the following patch to my kernel and recompiled it today.

Fn key enables to switch the adaptive keyboard. Lots of keys are not even triggering events, but at least volume and brightness keys are working fine!

Thanks Shuduo Sang for the patch:
https://lkml.org/lkml/2014/3/11/167

But I don't know when it will be integrated to main kernel tree...

The problem I'm trying to fix now is avoiding my laptop to enter "sleep" when closing the lid.. and never awakening then..

well in the lenovo forum they are writting about that you have to update your bios

http://support.lenovo.com/en_US/downloa … D=DS039783

i just bought an external cd drive and will do that right now.

Offline

#34 2014-04-11 14:35:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Thinkpad X1 Carbon Gen 2

acrodaniel wrote:

well in the lenovo forum they are writting about that you have to update your bios

http://support.lenovo.com/en_US/downloa … D=DS039783

i just bought an external cd drive and will do that right now.

Alternatively, you can make youself a FreeDOS bootable USB drive.  Then just slap the windows exe updater on there.  There is a command line interface to that updater as well.  The bootable iso that they provide is actually exactly this, only the installer is given a text user interface and whatnot.

I still don't understand why they don't make USB bootable drives when they have machines that no longer ship with any real option for an optical drive... seems silly to me.

Offline

#35 2014-04-12 14:40:44

tattsan
Member
Registered: 2013-08-26
Posts: 48
Website

Re: Thinkpad X1 Carbon Gen 2

I remap the  [End] key, which is left of [A],  to [Ctrl] .

After upgrading the BIOS, this [Ctrl]+[E] produce endless repeat of  input event of 'e' .
This problem occurs from BIOS 1.09 to BIOS 1.13, so I downgraded the BIOS to 1.07.
(1.08 is not provided.)

Are there anyone who faced with this problem?

Last edited by tattsan (2014-04-12 14:43:51)

Offline

#36 2014-04-13 00:09:07

mhoran
Member
Registered: 2014-04-13
Posts: 3

Re: Thinkpad X1 Carbon Gen 2

tattsan wrote:

I remap the  [End] key, which is left of [A],  to [Ctrl] .

After upgrading the BIOS, this [Ctrl]+[E] produce endless repeat of  input event of 'e' .
This problem occurs from BIOS 1.09 to BIOS 1.13, so I downgraded the BIOS to 1.07.
(1.08 is not provided.)

Are there anyone who faced with this problem?

I thought I was just going crazy, but I'm also having this issue. Interestingly, doing the same with the [Home] key works just fine.

eeeeeeeeeeeeeeeeeeeee

Last edited by mhoran (2014-04-13 00:09:56)

Offline

#37 2014-04-13 02:20:49

tattsan
Member
Registered: 2013-08-26
Posts: 48
Website

Re: Thinkpad X1 Carbon Gen 2

Thank you mhoran. This is  surely BIOS problem, can be called eeeeeeeeeeeeeeeeeee-issue.
[Home] key is too far for me to use as [Ctrl]. So I use BIOS 1.07 now.

Last edited by tattsan (2014-04-13 02:29:01)

Offline

#38 2014-04-13 04:48:27

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

WonderWoofy wrote:
acrodaniel wrote:

well in the lenovo forum they are writting about that you have to update your bios

http://support.lenovo.com/en_US/downloa … D=DS039783

i just bought an external cd drive and will do that right now.

Alternatively, you can make youself a FreeDOS bootable USB drive.  Then just slap the windows exe updater on there.  There is a command line interface to that updater as well.  The bootable iso that they provide is actually exactly this, only the installer is given a text user interface and whatnot.

I still don't understand why they don't make USB bootable drives when they have machines that no longer ship with any real option for an optical drive... seems silly to me.

I was considering doing exactly this... so I just create a FreeDos USB and copy gruj08us.iso to the USB as if it were a CD and boot from it?

Offline

#39 2014-04-13 14:39:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Thinkpad X1 Carbon Gen 2

No, copy the windows version to the FreeDOS usb.  So it is probably called gruj08us.exe.

You will also have to look into how to use it from the command prompt as well though.  It should detail this method in the readme for the update though.

Last edited by WonderWoofy (2014-04-13 14:40:33)

Offline

#40 2014-04-14 05:25:20

LXXero
Member
Registered: 2014-04-14
Posts: 5

Re: Thinkpad X1 Carbon Gen 2

You can use the ISO too. Just download geteltorito and dump the image from the ISO. After that you can just cat or dd the resulting dump to a flash drive and it works great. No freedos needed.

I also patched my kernel and now have the adaptive keys working (and resuming after suspend). Nearly everything is working. I'm still using the xf86-input-evdev-trackpoint package, but I was playing with the newer synaptics package too, I was still having some issues with that though. I've mostly got the trackpad disabled now and am using the trackpoint only.

Offline

#41 2014-04-16 03:00:32

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

LXXero wrote:

You can use the ISO too. Just download geteltorito and dump the image from the ISO. After that you can just cat or dd the resulting dump to a flash drive and it works great. No freedos needed.

I also patched my kernel and now have the adaptive keys working (and resuming after suspend). Nearly everything is working. I'm still using the xf86-input-evdev-trackpoint package, but I was playing with the newer synaptics package too, I was still having some issues with that though. I've mostly got the trackpad disabled now and am using the trackpoint only.

Like this?

perl geteltorito.pl -o bios-update.iso gruj08us.iso
dd if=/path/to/bios-update.iso of=/dev/sdx && sync

Offline

#42 2014-04-16 03:48:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Thinkpad X1 Carbon Gen 2

@momo.reina, I found this on ThinkWiki.

Offline

#43 2014-04-16 08:51:53

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

So i just uodated the BIOS and while it was successful, Arch now doesn't boot. I can access the bios utility and the fn keys now work so it seems like the update was OK but somehow it removed the system's ability to see the Linux boot manager (or it wiped it from the disk?). Diagnostics software says the ssd is fine.

Offline

#44 2014-04-16 12:03:50

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

So fater a lot of trial and error (and warning looks from the fiance), I seem to have narrowed it down to a UEFI issue. I tried booting with UEFI only mode from a live USB and it would just get stuck on the Lenovo splash screen, same as booting without the USB. Ditto if the BIOS is set to boot both. Once I set the BIOS to boot Legacy only the live USB booted without a problem. I managed to mount all my file systems and looked into

/boot/loader/entries/arch.conf

just to make sure that the entries were still intact and they were.

I'm guessing that the BIOS update screwed with UEFI booting with Arch. Right now it seems like the only thing to do is to use Grub2 as my boot loader. Can anyone help out on migrating from UEFI to Grub2? Not sure how the partitioning will work out...

Offline

#45 2014-04-16 17:07:58

sfurey
Member
Registered: 2014-01-09
Posts: 6

Re: Thinkpad X1 Carbon Gen 2

WonderWoofy wrote:
dooblem wrote:

But I don't know when it will be integrated to main kernel tree...

http://git.kernel.org/cgit/linux/kernel … eb829a7341 

Today apparently smile

I can confirm that the linux-mainline package in the AUR for 3.15rc1 makes the FN keys work. Not all but volume and brightness do

Offline

#46 2014-04-16 17:39:25

dooblem
Member
From: Toulouse, France
Registered: 2012-03-09
Posts: 11
Website

Re: Thinkpad X1 Carbon Gen 2

dooblem wrote:

The problem I'm trying to fix now is avoiding my laptop to enter "sleep" when closing the lid.. and never awakening then..

Problem solved adding HandleLidSwitch=ignore in /etc/systemd/logind.conf

Then reboot. See also man logind.conf

Offline

#47 2014-04-16 23:13:50

LXXero
Member
Registered: 2014-04-14
Posts: 5

Re: Thinkpad X1 Carbon Gen 2

momo.reina wrote:

Like this?

perl geteltorito.pl -o bios-update.iso gruj08us.iso
dd if=/path/to/bios-update.iso of=/dev/sdx && sync

Yup. I was really confused why it wasn't working when copying the original iso directly to the flash drive, but after doing essentially what you've listed above, it works on a flash drive, no cdrom or freedos needed.

dooblem wrote:
dooblem wrote:

The problem I'm trying to fix now is avoiding my laptop to enter "sleep" when closing the lid.. and never awakening then..

Problem solved adding HandleLidSwitch=ignore in /etc/systemd/logind.conf

Then reboot. See also man logind.conf

You need to update the bios to the latest version. Afterwards, sleep mode will resume correctly.

Offline

#48 2014-04-16 23:51:57

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

Has anyone else had problems booting UEFI with the latest BIOS update (1.13)? I can't boot Arch on UEFI at all, whether it's the SSD or the rescue USB pen drive.

Offline

#49 2014-04-17 06:46:49

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

So no luck rescuing the partitions, I tried creating a new BIOS Boot Partition (ef02) and installing Grub in place of Gummiboot but that didn't work. At this point I just bit the bullet and repartitioned my SSD and re-installed Arch, this time configured to use BIOS boot from the get go. It seems to have booted normally, now I'm installing all the extra packages (DE,WM, etc).

Offline

#50 2014-04-17 11:36:46

momo.reina
Member
Registered: 2012-02-23
Posts: 66

Re: Thinkpad X1 Carbon Gen 2

Ok so now there seems to be something really wrong... the screen's pixels are malfunctioning; some of them are at full brightness and some are way below. Here are some pictures:

N7VuBnq.jpg
ScfD1Uz.jpg

If anyone has any ideas I'd be VERY happy to hear them... otherwise I might have to try and see if restoring Windows will do the trick.

Last edited by momo.reina (2014-04-17 11:38:31)

Offline

Board footer

Powered by FluxBB