Tablet - Pen no longer detected after clean install

I’m at a bit of a loss as to where I should start with this one, so any guidance will be greatly appreciated :slightly_smiling_face: . I am also not sure whether I should be trying to resolve this in a regular session, or using XOrg sessions only.

I use a Lenovo Miix 520-IKB Tablet as my main driver, and recently performed a fresh install of Manjaro GNOME. After a fresh install, it appears that I have limited touchscreen support - multi touch will not work with touchegg or similar, but single taps are registered. Apps will typically detect scrolling as β€œclick and drag”. The pen is not detected at all.

From some initial research, it looks like the issue relates to Wayland being incompatible with Wacom devices. However, if I log in to a session of GNOME using X, the touch screen does not work at all.

This is the output from Xinput list under Wayland:

~ >>> xinput list                                                              
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎑ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:17                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:17            	id=7	[slave  pointer  (2)]
⎜   ↳ xwayland-touch:17                       	id=9	[slave  pointer  (2)]
⎜   ↳ xwayland-stylus:17                      	id=10	[slave  pointer  (2)]
⎜   ↳ xwayland-eraser:17                      	id=11	[slave  pointer  (2)]
⎜   ↳ xwayland-cursor:17                      	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
↳ xwayland-keyboard:17                    	id=8	[slave  keyboard (3)]
~ >>>             

And under an Xorg session: >

~ >>> xinput --list
⎑ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SIPODEV Lenovo HID Device Mouse id=10 [slave pointer (2)]
⎜ ↳ SIPODEV Lenovo HID Device Touchpad id=12 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B stylus id=14 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B touch id=15 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B Mouse id=16 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B Touchscreen pad id=17 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B eraser id=21 [slave pointer (2)]
⎜ ↳ WCOM513B:00 056A:513B pad id=22 [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)]
↳ SIPODEV Lenovo HID Device id=9 [slave keyboard (3)]
↳ SIPODEV Lenovo HID Device Consumer Control id=11 [slave keyboard (3)]
↳ SIPODEV Lenovo HID Device Wireless Radio Control id=13 [slave keyboard (3)]
↳ Intel Virtual Button driver id=18 [slave keyboard (3)]
↳ Ideapad extra buttons id=19 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=20 [slave keyboard (3)]

and

~ >>> xsetwacom list [127]
WCOM513B:00 056A:513B stylus id: 14 type: STYLUS
WCOM513B:00 056A:513B touch id: 15 type: TOUCH
WCOM513B:00 056A:513B Touchscreen pad id: 17 type: PAD
WCOM513B:00 056A:513B eraser id: 21 type: ERASER
WCOM513B:00 056A:513B pad id: 22 type: PAD

Turns out the pen needed a new battery after being in storage for about six months.

Apologies for the waste of time.