Talk:Lenovo ThinkPad Yoga 260

From ArchWiki
Latest comment: 13 June 2017 by Jormsen in topic Fingerprint Reader

Concerning Stylus. After updating to kernel 4.9 accelerometer is now working. When testing the stylus buttons these now work for me to (simulating left and right mouse click under Gnome). Not sure whether this is also due to the kernel update. Can anyone confirm the correct function of the buttons? In that case I would like to change the corresponding entry.

Thomas Do (talk) 14:26, 31 January 2017 (UTC)Reply[reply]

I can confirm that the accelerometer is working. However, one of the stylus buttons still doesn't work for me; I'm running on: 4.9.0-rc8-ge5517c2
Myzt (talk) 14:52, 31 January 2017 (UTC)Reply[reply]


I am not sure what I did ;-). I first tried to change the buttons in gnome settings "Wacom tablets" upper and lower button, with no effect.

Then I experimented with xsetwacom:

xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 1 'key a'

xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 2 'key b'

That worked and gave me an "a" when pressing the lower button and a "b" when pressing the upper button. After that changing the buttons to left and right click via the system settings seemed to work. But now, I can not reproduce that. What definitely works is using xsetwacom to assign the mouse click buttons:

xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 1 +1

xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 2 +2

Please, try to reproduce this.

Thomas Do (talk) 17:23, 31 January 2017 (UTC)Reply[reply]

I played around a bit and figured out Button 1 triggers when you press the tip on the screen and Button 2 is the one farthest from the tip. The Button closer to the tip apparently now changes the stylus to 'eraser' mode which changes the behaviour of the tip (Button 1).
xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 1 'key a' #prints 'a' when pushing tip on screen.
xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" Button 2 'key b' #prints 'b' when pressing button farthest from tip.
xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen eraser" Button 1 'key c' #prints 'c' when pressing both button closest to tip and pressing tip on screen.
I guess this is expected behaviour, so all my stylus buttons indeed seem to work in 4.9. Thanks for the update!
Myzt (talk) 14:14, 1 February 2017 (UTC)Reply[reply]

How to use the stylus

Hi, i try to get the Stylus working: the wacom and buttons are recongnised of xinput, but i did not know how to use the stylus now -> any help? - do i have to remove a plate for a battery in the stylus or so?

The stylus should be loaded just by inserting into the side of the Yoga.

Thomas Do (talk) 20:36, 1 February 2017 (UTC)Reply[reply]

I know :( These are my properties (by boot) Genofire (talk) 11:21, 2 February 2017 (UTC)Reply[reply]

xinput --list-props 10
 Device 'Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus':
 	Device Enabled (139):	1
 	Coordinate Transformation Matrix (141):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 	Device Accel Profile (269):	0
 	Device Accel Constant Deceleration (270):	1.000000
 	Device Accel Adaptive Deceleration (271):	1.000000
 	Device Accel Velocity Scaling (272):	10.000000
 	Device Node (266):	"/dev/input/event5"
 	Wacom Tablet Area (276):	0, 0, 27648, 15552
 	Wacom Rotation (277):	0
 	Wacom Pressurecurve (278):	0, 0, 100, 100
 	Wacom Serial IDs (279):	20624, 0, 2, 0, 0
 	Wacom Serial ID binding (280):	0
 	Wacom Pressure Threshold (281):	27
 	Wacom Sample and Suppress (282):	2, 4
 	Wacom Enable Touch (283):	1
 	Wacom Hover Click (296):	1
 	Wacom Enable Touch Gesture (284):	0
 	Wacom Touch Gesture Parameters (285):	0, 0, 250
 	Wacom Tool Type (286):	"STYLUS" (292)
 	Wacom Button Actions (287):	"Wacom button action 0" (288), "Wacom button action 1" (289), "Wacom button action 2" (290)
 	Wacom button action 0 (288):	1572865
 	Wacom button action 1 (289):	1572866
 	Wacom button action 2 (290):	1572867
 	Wacom Pressure Recalibration (297):	1
 	Device Product ID (267):	1386, 20624
 	Wacom Debug Levels (291):	0, 0
xsetwacom -s get "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" all
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Area" "0 0 27648 15552"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Button" "1" "key +a "
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Button" "2" "key +b "
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Button" "3" "button +3 "
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "ToolDebugLevel" "0"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "TabletDebugLevel" "0"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Suppress" "2"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "RawSample" "4"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "PressureCurve" "0 0 100 100"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Mode" "Absolute"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "TabletPCButton" "off"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Touch" "on"
 Property 'Wacom Hardware Touch Switch' does not exist on device.
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Gesture" "off"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "ZoomDistance" "0"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "ScrollDistance" "0"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "TapTime" "250"
 Property 'Wacom Proximity Threshold' does not exist on device.
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Rotate" "none"
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Wheel Buttons' does not exist on device.
 Property 'Wacom Strip Buttons' does not exist on device.
 Property 'Wacom Strip Buttons' does not exist on device.
 Property 'Wacom Strip Buttons' does not exist on device.
 Property 'Wacom Strip Buttons' does not exist on device.
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "Threshold" "27"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "BindToSerial" "0"
 xsetwacom set "Wacom Co.,Ltd. Pen and multitouch sensor Pen stylus" "PressureRecalibration" "on"

Missing information on ACPI events

It seems that most thinkpad-related ACPI events are missing some information. For example, acpi_listen reports this when I rotate my laptop 90 degrees, and then I return it back to normal:

[roobre@Mechon]% ~> acpi_listen 
 PNP0C14:00 000000a1 00000000
ibm/hotkey LEN0068:00 00000080 000060f0
 PNP0C14:00 000000a1 00000000
ibm/hotkey LEN0068:00 00000080 000060f0

As you can see, there is no information about the state, just the notification saying it has _changed_.

The same thing occurs when I fully bend the lid (tablet mode). Do any of you have a workaround for this? I'm running 4.9.8-1-ARCH.

Roobre (talk) 23:41, 20 February 2017 (UTC)Reply[reply]

The reporting of the laptop lid is slightly different than other thinkpad, there is a accepted for 4.10 which you can apply to the 4.9 source.
Myzt (talk) 14:29, 21 February 2017 (UTC)Reply[reply]
Awesome, I think I'll wait for 4.10 release then :D
Roobre (talk) 16:42, 21 February 2017 (UTC)Reply[reply]

Fingerprint Reader

I'm not quite sure, but isn't it the exact same device as inside a Thinkpad Yoga 460? I tried the reader at my Yoga 460 and got the following results:

  • fingerprint is working on shell-login
  • you can add fingerprints from shell
  • you can use it for login in sddm and gdm, but at least sddm support is buggy
  • sudo can use it, but stops asking for a password then (same with sddm-login)


Jormsen (talk) 08:44, 13 June 2017 (UTC)Reply[reply]