Skip to content

libwacom: Add Lenovo Yoga 7 2-in-1 16ILL10 (Wacom HID 5402)#977

Open
danobot wants to merge 5 commits into
linuxwacom:masterfrom
danobot:master
Open

libwacom: Add Lenovo Yoga 7 2-in-1 16ILL10 (Wacom HID 5402)#977
danobot wants to merge 5 commits into
linuxwacom:masterfrom
danobot:master

Conversation

@danobot
Copy link
Copy Markdown

@danobot danobot commented May 16, 2026

Adds support for the Wacom EMR digitizer found in the Lenovo Yoga 7 2-in-1 16ILL10 (Type 83JT, Intel Lunar Lake).

Device features: pen + touch (integrated), tilt, 4096 levels pressure, eraser, two side buttons, serial reporting.

DeviceMatch=i2c|056a|5402

Tested by placing file in /etc/libwacom/wacom-hid-5402.tablet


[dan@nixoslaptop:~]$ nix-shell -p libwacom --run "libwacom-list-local-devices"devices:
  - name: 'Wacom HID 5402'
    bus: 'i2c'
    vid: 0x056a
    pid: 0x5402
    nodes: 
      - /dev/input/event7: 'Wacom HID 5402 Pen'
    styli:
      - id: 0xffffe
        vid: 0x0000
        name: 'General Pen Eraser'
        type: 'general'
        axes: ['x', 'y' , 'tilt', 'distance', 'pressure']
        buttons: 2
        is_eraser: 'true'
        eraser_type: 'invert'
      - id: 0xfffff
        vid: 0x0000
        name: 'General Pen'
        type: 'general'
        axes: ['x', 'y' , 'tilt', 'distance', 'pressure']
        buttons: 2
        erasers: [0xffffe]

danobot and others added 2 commits May 16, 2026 10:52
Adds support for the Wacom EMR digitizer found in the Lenovo Yoga 7
2-in-1 16ILL10 (Type 83JT, Intel Lunar Lake).

Device features: pen + touch (integrated), tilt, 4096 levels pressure,
eraser, two side buttons, serial reporting.

DeviceMatch=i2c|056a|5402
@whot whot added the sysinfo needed Used to indicate sysinfo is missing from the PR label May 18, 2026
@github-actions
Copy link
Copy Markdown

Hi, there. I'm a bot and have been asked to have a look at this.

Please run the sysinfo script from https://github.com/linuxwacom/wacom-hid-descriptors and
file a new issue in that repo with the resulting sysinfo tarball. The README in that repo
has more information and instructions.

The .tablet files in this PR should then link to the sysinfo in this form:

# sysinfo.abCdE1234.tar.gz
# https://github.com/linuxwacom/wacom-hid-descriptors/issues/1234

A git grep sysinfo will show how this is currently used in existing data files.

See also https://github.com/linuxwacom/libwacom/wiki/Adding-a-new-device


This is an automated comment created by a bot. Responding to the bot or mentioning it won't have any effect.

Comment thread data/wacom-hid-5402.tablet Outdated
@whot whot removed the sysinfo needed Used to indicate sysinfo is missing from the PR label May 19, 2026
@github-actions
Copy link
Copy Markdown

Hi, there. I'm a bot and have been asked to have a look at this.

Thanks for providing the sysinfo. Someone will be along shortly to review the PR.


This is an automated comment created by a bot. Responding to the bot or mentioning it won't have any effect.

@github-actions
Copy link
Copy Markdown

Hi, there. I'm a bot and have been asked to have a look at this.

Looks like this PR is ready to merge but it first needs to be squashed. This is a
limitation of GitHub's merge queues so we require the contributors to squash commits
manually. Unless specified otherwise in the comments, this should be
a single commit only with a descriptive commit message.

Typically this requires the following commands:

$ git rebase -i origin/main
# change 'pick' to 'fixup' for all followup commits to the primary commit, save and exit
$ git log -n1 -p  # verify the commit message and patch is what is expected
$ git push -f <remote> <branch>  # force-push the branch to the remote

Then check in the browser that the PR has been updated to a single commit.

For details please see any of the tutorials on git interactive rebases and
git commit squashing online.


This is an automated comment created by a bot. Responding to the bot or mentioning it won't have any effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants