linux-surface icon indicating copy to clipboard operation
linux-surface copied to clipboard

Surface Go no graphic configuration of stylus/teblet

Open giampierosalvi opened this issue 5 years ago • 4 comments

Hi, perhaps this is a general issue with the gnome settings daemon and stylus/tablet configuration, however, I post it here because I have a Surface Go with the jakeday kernel.

The pen works just fine, however, when going to Settings/Devices/Wacom Tablet no stylus or tablet is found. The first time I move the stylus close to the tablet I get a notification that the battery for a wireless keyboard is low (1%) and it will stop working soon. The battery in the stylus is just fine (I believe there is something wrong in detecting both the kind of device and battery level for the stylus). Even after this, no stylus or tablet is found in the gnome settings. If I click on "Test Your Settings" I can draw without problems, and I can see that even pressure works fine. The stylus also works fine with xournal and gimp. However, it would be really great to be able to configure the properties graphically.

Ubuntu 18.04 kernel: 5.0.10-surface-linux-surface libwacom: 0.32-surface-1 xserver-xorg-input-wacom-hwe-18.04: 1:0.36.1-0ubuntu1~18.04.1

'xinput list' returns ELAN9038:00 04F3:261A Touchscreen id=12 [slave pointer (2)] ELAN9038:00 04F3:261A Pen (0) id=18 [slave pointer (2)] as virtual core pointers

'xsetwacom --list devices' does not return any device Thank you Giampiero

giampierosalvi avatar May 06 '19 14:05 giampierosalvi

Here is the actual output of xinput list: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Microsoft Surface Type Cover Consumer Control id=9 [slave pointer (2)] ⎜ ↳ Microsoft Surface Type Cover Touchpad id=10 [slave pointer (2)] ⎜ ↳ Microsoft Surface Type Cover Mouse id=11 [slave pointer (2)] ⎜ ↳ ELAN9038:00 04F3:261A Touchscreen id=12 [slave pointer (2)] ⎜ ↳ ELAN9038:00 04F3:261A Pen (0) id=18 [slave pointer (2)] ⎜ ↳ ELAN9038:00 04F3:261A Eraser (0) id=19 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Video Bus id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Microsoft Surface Type Cover id=8 [slave keyboard (3)] ↳ ELAN9038:00 04F3:261A id=13 [slave keyboard (3)] ↳ Intel HID events id=14 [slave keyboard (3)] ↳ Intel HID 5 button array id=15 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)] ↳ Microsoft Surface Type Cover Consumer Control id=17 [slave keyboard (3)]

Also from dmesg I get: [ 5.428179] i2c_hid i2c-ELAN9038:00: i2c-ELAN9038:00 supply vdd not found, using dummy regulator [ 5.428199] i2c_hid i2c-ELAN9038:00: Linked as a consumer to regulator.0 [ 5.428202] i2c_hid i2c-ELAN9038:00: i2c-ELAN9038:00 supply vddl not found, using dummy regulator ... [ 5.498428] input: ELAN9038:00 04F3:261A Touchscreen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN9038:00/0018:04F3:261A.0007/input/input13 [ 5.500382] input: ELAN9038:00 04F3:261A as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN9038:00/0018:04F3:261A.0007/input/input16

Please let me know if you need more information.

giampierosalvi avatar May 06 '19 19:05 giampierosalvi

Same for me, the 1% and not having the ability to configure the buttons bothers me.

Rolodo avatar Jun 26 '19 04:06 Rolodo

I encountered this today. the power level of the pen is reported incorrectly also the behavior in xournal is strange and the pen's eraser does not work correctly

ubuntu 19.04 kernel 5.1.15-surface-linux-surface

andreaskern avatar Dec 30 '19 11:12 andreaskern

I fixed it.

see my pull request here: https://github.com/linux-surface/libwacom/pull/1

create this file /usr/share/libwacom/surface-go.tablet

# This is for the Microsoft Surface Go

[Device]
Name=Microsoft Surface Go
DeviceMatch=i2c:04F3:261A
Class=ISDV4
Width=8
Height=5
IntegratedIn=Display;System;

[Features]
Stylus=true
Touch=true
Buttons=0

idnovic avatar Jan 09 '20 23:01 idnovic