Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tablet/Stylus visible to CLI but not accessible #8

Closed
berggggg opened this issue Mar 23, 2022 · 3 comments
Closed

Tablet/Stylus visible to CLI but not accessible #8

berggggg opened this issue Mar 23, 2022 · 3 comments

Comments

@berggggg
Copy link

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.

@Chaos02
Copy link

Chaos02 commented Sep 26, 2022

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.

@TheSnowfield
Copy link

TheSnowfield commented Sep 5, 2024

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.

@qzed
Copy link
Member

qzed commented Sep 14, 2024

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

@qzed qzed closed this as completed Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants