You are not logged in.

#1 2018-12-24 10:02:31

pagdot
Member
Registered: 2018-12-24
Posts: 3

Goodix Touchscreen and Stylus share device

I have a Teclast F6 Pro Laptop with touchscreen and active stylus/pen support.

Touchscreen and stylus work out of the box, but they share the same device and input event.

Touchscreen works without problems, but because the stylus sends the same events it acts like a  touchscreen. Hovering with the stylus counts as clicking/touching instead of only moving the mouse pointer. I haven't tested it yet, but I'm pretty sure that also pressure levels are missing.

xsetwacom detects no device.

$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Goodix Capacitive TouchScreen           	id=15	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver Mouse             	id=13	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver Consumer Control  	id=14	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ USB 2.0 PC Camera: PC Camera            	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=16	[slave  keyboard (3)]
    ↳ Goodix Capacitive TouchScreen           	id=18	[slave  keyboard (3)]
    ↳ Logitech USB Receiver                   	id=11	[slave  keyboard (3)]
    ↳ Logitech USB Receiver System Control    	id=12	[slave  keyboard (3)]
    ↳ Logitech USB Receiver Consumer Control  	id=17	[slave  keyboard (3)]
$ xinput list-props 15
Device 'Goodix Capacitive TouchScreen':
	Device Enabled (151):	1
	Coordinate Transformation Matrix (153):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Calibration Matrix (306):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Calibration Matrix Default (307):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Send Events Modes Available (271):	1, 0
	libinput Send Events Mode Enabled (272):	0, 0
	libinput Send Events Mode Enabled Default (273):	0, 0
	Device Node (274):	"/dev/input/event9"
	Device Product ID (275):	1046, 9111

Offline

#2 2018-12-28 19:44:27

gregkwaste
Member
Registered: 2014-07-01
Posts: 8

Re: Goodix Touchscreen and Stylus share device

I am sorry for being offtopic, but you're the most recent post that I have found regarding the same machine. I got my F6 pro today and I just installed Arch hoping that the latest kernels would support all devices, but I have issues with the touchpad.

[    3.092455] i2c_hid i2c-SYNA3602:00: i2c-SYNA3602:00 supply vdd not found, using dummy regulator
[    3.092475] i2c_hid i2c-SYNA3602:00: Linked as a consumer to regulator.0
[    3.092477] i2c_hid i2c-SYNA3602:00: i2c-SYNA3602:00 supply vddl not found, using dummy regulator
[    3.095744] i2c_hid i2c-SYNA3602:00: unexpected HID descriptor bcdVersion (0x00ff)

Besides the issue with the touchscreen, does that touchpad work fine for you?

Last edited by gregkwaste (2018-12-28 19:45:15)

Offline

#3 2018-12-28 20:20:40

pagdot
Member
Registered: 2018-12-24
Posts: 3

Re: Goodix Touchscreen and Stylus share device

Which Kernel exactly?
4.19 from Core or 4.20 from Testing?

I've only installed Arch recently and planned to wait until 4.20 is released in Core because this Kernel version should fix the touchpad issue. I haven't fixed it myself.

Else I would recommand creating a new Thread or take a look at this forum: https://techtablets.com/forum/forums/te … st-f6-pro/

Last edited by pagdot (2018-12-28 20:21:18)

Offline

#4 2019-01-05 19:34:24

gregkwaste
Member
Registered: 2014-07-01
Posts: 8

Re: Goodix Touchscreen and Stylus share device

@pagdot, I resolved the issue with the touchpad (I'm Greg from the techtablets forum XD). And right now I'm exactly stuck at our problem. I'm trying to identify the stylus but it is just passive.

have you made any progress? I'm trying to figure out if it is the touchscreen driver's fault or if we should be able to support the stylus pen using libwacom.

Offline

#5 2019-01-05 19:42:00

pagdot
Member
Registered: 2018-12-24
Posts: 3

Re: Goodix Touchscreen and Stylus share device

I've got the touchpad fixed with the kernel update and tried to dig a bit deeper into the touchpad + stylus issue. They seem to share the same input device. I think we would have to debug and patch the i2c_hid driver and also extend the input-wacom driver to support the stylus.


I've learnt a little bit about linux driver development, but haven't much time atm because univercity and other projects of mine. So I won't dig deeper now.

Offline

#6 2019-01-05 21:50:51

gregkwaste
Member
Registered: 2014-07-01
Posts: 8

Re: Goodix Touchscreen and Stylus share device

pagdot wrote:

I've got the touchpad fixed with the kernel update and tried to dig a bit deeper into the touchpad + stylus issue. They seem to share the same input device. I think we would have to debug and patch the i2c_hid driver and also extend the input-wacom driver to support the stylus.


I've learnt a little bit about linux driver development, but haven't much time atm because univercity and other projects of mine. So I won't dig deeper now.

I am still not sure if its the wacom driver or the i2c_hid_driver or the goodix-ts driver. But either way, at least I can't patch them without any help lol. I filed a bug report on the kernel bugzilla page, if I have any responses I'll post here.

Offline

#7 2019-01-28 22:40:01

ugo21
Member
Registered: 2019-01-28
Posts: 1

Re: Goodix Touchscreen and Stylus share device

Is there any kernel bug report link that I can follow up on too?
I got the Teclast F6 Pro too, bought the stylus, and confirm that pressure levels are not recognized and approaching the screen with the stylus generates a continuous touch.
But unfortunately I am not a kernel dev at all.

Offline

Board footer

Powered by FluxBB