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

Tablet/Stylus visible to CLI but not accessible

Open berggggg opened this issue 2 years ago • 1 comments

Hello devs, and good morning/afternoon/evening.

I've been struggling to get my tablet & stylus to appear in the graphic tablet menu for a few weeks. I (think) have the latest available versions of libwacom-surface and the xf86 driver installed, and while my tablet appears in the terminal with libwacom-list-local-devices, its bus is listed as unknown, and it does not appear when using xsetwacom --list devices, nor does it appear in the graphic tablet menu.

I've searched around as best I can, but I'm kind of at a loss here since there isn't a whole lot of documentation to go around. Any help at all would be appreciated.

System information:

  • SB3 13.5" + Surface Pen
  • Kubuntu 21.10
  • Kernel ver. 5.16.13-surface x86_64
  • libwacom-surface ver. 1.12.1-3

libwacom-list-local-devices produces the following output:

devices: - name: 'Microsoft Surface Book 3 (13.5")' - bus: 'unknown' - vid: '0x045e' - pid: '0x09b2' nodes: - /dev/input/event20

If any additional info is needed, I'd be more than happy to oblige. Thanks in advance.

berggggg avatar Mar 23 '22 13:03 berggggg

hey, just FIY I'm having the same issue but your stylus is actually not invisible. It seems like on my Surface Book 1 the stylus pointer seems to be offset to the lower right by pretty much the screen size! How can we fix this?

EDIT: The stylus location seems to be multiplied by its actual location. In the top left its accurate, bottom right its totally offscreen.

Chaos02 avatar Sep 26 '22 18:09 Chaos02

I have PR-ed xf86-input-wacom for enabling the libwacom support for IPTS devices. If you can't wait for the release, add the below section to your 70-wacom.conf, at the bottom of the file.

For Debian 12 the file is located in /usr/share/X11/xorg.conf.d/70-wacom.conf

# Surface IPTS (Intel Precise Touch and Stylus)
Section "InputClass"
        Identifier "Surface IPTS Device"
        MatchProduct "IPTS"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

image

This patch works for Surface Pro devices(I have tested on the Pro 9). Devices that use IPTS technology should be okay. If the problem still exists, use xinput list to list all input devices, figure out the stylus device, and then add them to 70-wacom.conf.

TheSnowfield avatar Sep 05 '24 08:09 TheSnowfield

@TheSnowfield Thanks for tracking this down and submitting the PR upstream!

qzed avatar Sep 14 '24 17:09 qzed